Blocker
The Blocker endpoint checks whether a visitor should be allowed or blocked based on IP, user agent, URL, user configuration, and Stopbot threat intelligence.
Endpoint
GET https://api.stopbot.net/services/blockerParameters
Parameter
Required
Description
Example Request
curl "https://api.stopbot.net/services/blocker?apikey={API_KEY}&ip=1.1.1.1&ua={USER_AGENT}&url=https%3A%2F%2Fexample.com"Example Response
{
"ip": "1.1.1.1",
"hostname": "one.one.one.one",
"asn": 13335,
"userType": "hosting",
"connectionType": "Corporate",
"company": "Cloudflare, Inc.",
"isp": "Cloudflare, Inc.",
"city": "Sydney",
"district": "",
"region": "New South Wales",
"postcode": "1001",
"country": "Australia",
"countryCode": "AU",
"latitude": -33.8688,
"longitude": 151.209,
"timezone": "Australia/Sydney",
"isAnycast": true,
"device": "Desktop",
"ua": "{USER_AGENT}",
"isBot": 1,
"blockAccess": 1,
"threatURL": 0,
"detectActivity": "BLOCK BY HOSTNAME DATABASE.",
"status": "success",
"executionTime": "5.17ms",
"timeResponse": "2026-07-07 12:00:00"
}Invalid Input Example
Response Fields
Field
Description
Error Response Fields
Field
Description
Decision Fields
Field
Description
Device Values
Value
Meaning
User Type
Value
Meaning
Connection Type
Value
Meaning
Common Detection Reasons
Value
Meaning
Last updated