Register Free 中文版
 Browse all 23 API docs & guides

hCaptcha Preflight

hCaptcha Enterprise preflight endpoint for session fingerprint and region

POST http://api.nocaptcha.io/api/wanda/hcaptcha/preflight
Output: preflight_uuid / region / UA Cost: 配套接口
Quick Start: Register free to get your User-Token →  |  Optional header: Developer-Id: hqLmMS

When to use it

When the website has obvious score-based detection, to improve the pass rate.

Description

Used to keep the proxy region, UserAgent, and other data consistent with your business context.

🚨🚨🚨

After you get the region (e.g. hk, gb, us), the proxy you pass must match that region. Note: the region obtained from this endpoint must be used with your proxy, otherwise it becomes meaningless (e.g. region=gb, use user-gb:pass@ip:port).

If you use the preflight mode but do not pass a proxy matching the region, or keep requesting this endpoint without calling /universal or /enterprise, your account will be banned.

⚠️ Client-side and server-side egress IPs may differ

Even with the exact same proxy string (same country, same session ID, same ip and port), the egress IP obtained on your computer and the one obtained on our servers may differ (this depends on the proxy provider's architecture).

So even if you have completed the preflight task, a low score may still occur because the IP obtained by the client differs from the IP obtained by the server. If needed, contact the administrator to confirm whether the same proxy string resolves to different IPs on the two sides.

Request URL (POST):

API Endpoint
http://api.nocaptcha.io/api/wanda/hcaptcha/preflight

Request Headers:

ParameterDescriptionRequired
Content-Typeapplication/jsonYes
User-TokenYour API token, available on the dashboardYes

POST Data (JSON):

ParameterTypeDescriptionRequired
sitekeyStringhCaptcha site keyYes

Response Data (JSON):

ParameterTypeDescription
statusIntegerCall result
data.dataObjectPreflight returned data
data.data.preflight_uuidStringPreflight returned ID
data.data.regionStringCountry code corresponding to the preflight
data.data.allowPassProxyBooleanWhether a proxy can be passed to the endpoint
costStringProcessing time (milliseconds)

JSON example

JSON
{
    "success": true,
    "data": {
        "preflight_uuid": "b5e404b6-55ca-4672-a83f-9a5f3e2e9882",
        "data": {
            "region": "ca",
            "navigator": {
                "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36"
            },
            "allowPassProxy": true
            ...
        }
    }
}
Ready to integrate hCaptcha Preflight? Register Free & Get API Key →  |  View Service Directory →