BotBlocker.Pro
  • Introduction
  • Blocker
  • Shortlink
  • Lookup IP Address
  • Email Validator
  • Disposable Email Identity
  • Phone Number Identity
  • Retrieves the Current API Usage Statistics
  • Information
    • Affiliate
    • Reseller
    • FAQs
    • Service Status
    • Report Abuse
  • Trust & Legal
    • Privacy Policy
    • Terms of Services
Powered by GitBook
On this page

Blocker

GET https://botblocker.pro/api/v1/blocker

This endpoint enables you to detect and block potential bots and dangerous users using BotBlocker.Pro's advanced AI core. By sending a request with the visitor's details, the API analyzes the data to determine whether the visitor is a bot or poses a threat. This helps protect your website or application from malicious traffic, ensuring that only genuine users can access your services.

Note: This API request is not free and will count against your available request quota.

Query Parameters

Name
Type
Description

apikey*

string

Your API Key generated from BotBlocker.Pro Developer page.

ip*

string

Visitor IP address.

ua*

string

Visitor user agent.

url

string

Visitor request URL use for firewall.

cURL Example

curl -X GET "https://botblocker.pro/api/v1/blocker?ip={ip_address}&apikey={apikey}&ua={useragent}&url={request_url}"

Response

{
    "data": {
        "account": {
            "package": "Elite",
            "expired": "Fri, 11 Mar 2022 - 12:00 AM",
            "quota": {
                "available": 846387,
                "total_usage": 253613
            }
        },
        "info": {
            "user_agent": "{useragent}",
            "query_url": "{request url use for firewall}",
            "ipinfo": {
                "ip": "8.8.8.8",
                "hostname": "dns.google",
                "isp": "Google LLC",
                "city": "Mountain View",
                "region": "California",
                "country": "US",
                "loc": "37.4223,-122.085",
                "org": "Level 3",
                "postal": "94043",
                "timezone": "America\/Los_Angeles"
            }
        },
        "is_bot": true,
        "block_access": true,
        "block_by": "BLOCK BY IP PROXY\/VPN\/TOR",
        "response_time": 1
    },
    "meta": {
        "code": 200,
        "message": "OK"
    }
}
{
    "meta": {
        "code": 400,
        "message": {
            "ip": "Parameter ip needed.",
            "ua": "Parameter ua needed."
        }
    }
}
{
    "meta": {
        "code": 401,
        "message": "Wrong credential!"
    }
}
PreviousIntroductionNextShortlink

Last updated 9 months ago