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

Shortlink

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

This endpoint enables you to detect and block dangerous users attempting to access your Short URL. By analyzing visitor data, the API helps prevent malicious traffic from interacting with your shortened links, ensuring that only safe and legitimate users can access the content behind the URL.

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 BotBloker.Pro Developer page.

keyname*

string

Keyname from Shortlink.

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/shortlink?keyname={keyname}&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": 846372,
                "total_usage": 253628
            }
        },
        "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": false,
        "block_access": false,
        "block_by": "NOT BLOCKED, REAL VISITOR",
        "direct_url": "http:\/\/google.com",
        "response_time": 0
    },
    "meta": {
        "code": 200,
        "message": "OK"
    }
}
{
    "meta": {
        "code": 400,
        "message": {
            "keyname": "Parameter keyname needed.",
            "ip": "Parameter ip needed.",
            "ua": "Parameter ua needed."
        }
    }
}
{
    "meta": {
        "code": 401,
        "message": "Wrong credential!"
    }
}
PreviousBlockerNextLookup IP Address

Last updated 9 months ago