Node.js · Python · PHP · Go · JavaScript · WordPress
Every request is scored on network and behavioural signals before your own code runs — one middleware, one include, or a single script tag. Whatever your stack runs on, the verdict is the same.
14-day Pro trial, every feature unlocked · Free tier runs without an account
| Request | Signal | Verdict |
|---|---|---|
| 203.0.113.42 | Datacenter ASN | Blocked |
| 198.51.100.17 | Residential | Allowed |
| 203.0.113.88 | Headless browser | Blocked |
| 2001:db8::7a1 | Verified Googlebot | Allowed |
| 198.51.100.63 | Known proxy exit | Blocked |
Four things that decide whether bot filtering helps or gets in the way.
The middleware runs first in your chain, the PHP include sits at the top of your entry point, and the WordPress plugin hooks in at init priority 0 — so a bot is turned away before your routes, templates, queries and ad scripts ever execute, not after they have cost you something.
If your key lapses or the service cannot be reached, BlockBots steps aside and your site keeps serving. Protection going quiet for an hour is never as expensive as real visitors stranded on a screen they cannot get past.
Googlebot and the crawlers you allow are verified against the cloud rather than trusted on their user agent, so impostors borrowing their name get a 403 while your rankings stay intact. Verdicts are cached — a crawler costs one call an hour, not one per page.
One package, one include, one script tag or a plugin — pick whichever fits what you already run. No build step, no database and no infrastructure of your own. fetch and XHR requests are never interrupted, and form submissions are never swallowed.
Signals, scoring and enforcement — configured once, applied on every request.
IP address, device, network type and dozens of other signals on every request.
Scoring that separates real visitors from fraudsters and automation.
Once a visitor fails, they stop reaching your pages and your ads.
Granular location rules with support for every region worldwide.
Filtering tuned for the major ad networks, so you pay for real clicks.
Ad clicks you refused, exported as a CSV with the network’s own click id.
Separate rules for mobile, tablet and desktop traffic.
Node.js, Python, PHP, Go and the browser — same API, same verdict.
Mark good and bad visitors with a signed cookie your backend can read.
Millions of daily requests scored without slowing a page down.
Detects open, public, private, transparent, SOCKS and residential proxies.
A plugin that sets up filtering without touching a line of code.
Up to 40% of web traffic is non-human — wasting bandwidth, raising server load and slowing real users down. At the same time, AI crawlers copy your content, pricing and campaigns in seconds. BlockBots filters malicious traffic at the edge and blocks AI bots using real-time behaviour analysis.
AI bots scrape your content and outrank you using your own data. BlockBots lets trusted search engines through while turning away scrapers and crawlers that only claim to be them.
If your site runs promotions, campaigns or exclusive content, access control keeps competitors from copying or exploiting it. You decide which visitors reach which content, and your strategic data stays yours.
Protect your campaignsAn ad click arrives with the network’s own click identifier on the landing URL. The browser SDK reads it, and when that visitor is refused as a bot the identifier is stored with the refusal. The panel exports those refusals as a CSV — one network per file, one row per click — so you can file them with the network. We document what we blocked; the network decides what follows.
Attackers do not rely on bots alone. They use VPNs, proxies and automation tools to hide and slip past basic protection. BlockBots recognises those patterns and blocks both, in real time, even when they are dressed up as ordinary visitors.
Integration
Hand an SDK your API key and decide what happens when a visitor fails. Express, Fastify and Next.js take a middleware; Django, Flask and FastAPI take the same one in Python; a Go server takes one wrapper around your mux; a plain PHP site takes a single include; the browser SDK covers client-rendered apps. Every one of them reads the same verdict from the same engine.
<script type="module">
import { BlockBots } from '…/blockbots.esm.js'
const bb = new BlockBots({
apiKey: 'YOUR_API_KEY',
ui: true
})
bb.onBlocked((reason) => {
console.log('Blocked:', reason)
})
await bb.verify()
</script>Add BlockBots to a site in about five minutes — a middleware for Node.js or Python, an include for PHP, a script tag for the browser, or the WordPress plugin. No infrastructure to run.