Piloterr

Website Antibot

GET
/v2/website/antibot

Detect which anti-bot protection protects a website before you scrape. Get the vendor, confidence level, and matching clues from a single URL check.

Credit cost: 1 credit per call

Authentification

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Paramètres de requête

query*string

Full URL or domain name to analyze for anti-bot protection. Must be a valid hostname.

Examples:

https://www.example.com
example.com

Notes:

  • Passive fingerprinting from HTTP headers, cookies, and page content.
  • Challenge pages (403, 503) still count as a successful analysis.
timeout?number

Maximum request timeout in seconds. Defaults to 15.

fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Corps de la réponse

Successful response

application/json
  1. response
status?integer
vendor?string
final_url?string
confidence?string
detections?array<>
requested_url?string
Example Request
curl -X GET 'https://api.piloterr.com/v2/website/antibot?query=string'
Example Response
{  "status": 200,  "vendor": "cloudflare",  "final_url": "https://www.crunchbase.com/",  "confidence": "high",  "detections": [    {      "vendor": "cloudflare",      "evidence": [        "Header cf-ray: a1da70864ed39e6f-CDG",        "Header cf-cache-status: HIT",        "Header server: cloudflare",        "Cookie __cf_bm present (Bot Management)"      ],      "confidence": "high"    }  ],  "requested_url": "https://www.crunchbase.com/"}