# Website Antibot ## Overview | Property | Value | |----------|-------| | **Status** | active | | **Method** | `GET` | | **Endpoint** | `/v1/website/antibot` | | **Base URL** | `https://api.browsersolver.com` | | **Credit Cost** | 1 credit per call | | **Documentation** | https://www.browsersolver.com/library/website-antibot | ## Description Single-pass scan that names the bot-protection vendor in front of a URL so you can choose the right BrowserSolver fetch tier next. ## Authentication - **Key Name:** `x-api-key` - **Location:** HTTP Header - **Get an API key:** https://app.browsersolver.com/register ## Example Request ```bash curl --location --request GET 'https://api.browsersolver.com/v1/website/antibot' \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' ``` ## Example Response ### Cloudflare Bot Management on asana.com ```json { "status": 200, "vendor": "cloudflare", "final_url": "https://asana.com/", "confidence": "high", "detections": [ { "vendor": "cloudflare", "evidence": [ "cf-ray header matched: d41e8c2f91ab3340-AMS", "server header equals cloudflare", "bot-management cookie __cf_bm detected", "cf-cache-status=DYNAMIC" ], "confidence": "high" } ], "requested_url": "https://asana.com/" } ``` ### Imperva challenge on a retail host ```json { "status": 403, "vendor": "imperva", "final_url": "https://www.footlocker.com/", "confidence": "high", "detections": [ { "vendor": "imperva", "evidence": [ "Set-Cookie contains visid_incap_", "Set-Cookie contains incap_ses_", "HTML contains _Incapsula_Resource", "Response powered by Incapsula markers" ], "confidence": "high" } ], "requested_url": "https://www.footlocker.com" } ``` ### Kasada fingerprint on a ticketing host ```json { "status": 200, "vendor": "kasada", "final_url": "https://www.ticketmaster.com/", "confidence": "medium", "detections": [ { "vendor": "kasada", "evidence": [ "Script path includes /fp/script", "Response header x-kpsdk-ct present", "Body references KPSDK" ], "confidence": "medium" }, { "vendor": "recaptcha", "evidence": [ "Script host www.google.com/recaptcha detected" ], "confidence": "low" } ], "requested_url": "https://www.ticketmaster.com" } ``` ### No bot vendor signatures found ```json { "status": 200, "vendor": "none", "final_url": "https://jsonplaceholder.typicode.com/", "confidence": null, "detections": [], "requested_url": "https://jsonplaceholder.typicode.com" } ``` ## Documentation ## Purpose [Website Antibot](/v1/website/antibot) tells you **which bot-protection vendor** sits in front of a public URL. Send a hostname or full URL; BrowserSolver performs a single passive fetch and matches headers, cookies, and HTML markers against known vendors (Cloudflare, DataDome, Akamai, PerimeterX, Imperva, Kasada, AWS WAF, reCAPTCHA, hCaptcha, and others). This endpoint **does not bypass** protections. Use the result to route your pipeline to [Website Crawler](/v1/website/crawler), [Website Rendering](/v1/website/rendering), or [Website WebUnlocker](/v1/website/webunlocker). **Pricing:** 1 credit per analysis. ## When it helps - A fetch failed and you need to know **who** blocked it. - You are designing a scraper and want a cheap pre-flight check. - Competitive monitoring: detect when a prospect enables a new WAF. - Explain blockers to stakeholders in plain language. ## Quickstart ``` GET https://api.browsersolver.com/v1/website/antibot?query=https://www.cloudflare.com/ ``` ## Parameters | Parameter | Type | Required | Default | Description | |---|---|---|---|---| | `query` | string | yes | n/a | Full URL or bare domain | | `timeout` | integer | no | `15` | Max wait in seconds | ## Reading the JSON | Field | Meaning | |---|---| | `vendor` | Primary vendor (`cloudflare`, `datadome`, `none`, ...) | | `confidence` | `high`, `medium`, or `low` for the primary vendor | | `detections` | All matches, best first, each with `evidence` strings | | `status` | HTTP code returned by the target (challenge pages like 403 still count) | `vendor: none` does **not** prove the site is unprotected; some vendors only appear after JavaScript runs. ## Next step on BrowserSolver | Signal | Try | |---|---| | Light or no vendor | [Website Crawler](/v1/website/crawler) | | Heavy client-side app | [Website Rendering](/v1/website/rendering) | | Enterprise bot manager | Whitelist check, then [Website WebUnlocker](/v1/website/webunlocker) | ## Limits - Passive HTTP probe only (no page JavaScript execution). - Runtime-injected captcha widgets may stay hidden. - Research and routing tool, not a bypass service.