The technical content of this page is available in English.
Введение / Cloudflare Interstitial
Cloudflare Interstitialактивно
POSThttps://api.solucaptcha.com/createTask
Solve the Cloudflare "Just a moment" challenge and receive cf_clearance with session cookies.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
clientKey | string | Yes | Your private API key. |
task.type | string | Yes | Must be interstitial. |
task.websiteURL | string | Yes | URL of the protected page. |
task.source | boolean | No | When true, returns post-challenge HTML. |
Example
curl --request POST \
--url https://api.solucaptcha.com/createTask \
--header "Content-Type: application/json" \
--data '{ "clientKey": "YOUR_API_KEY", "task": { "type": "interstitial", "websiteURL": "https://example.com" } }'
Result
{ "errorId": 0, "status": "completed", "solution": { "value": "cf_clearance value", "cookies": { "cf_clearance": "..." }, "useragent": "Mozilla/5.0 ..." } }
Replay the returned cookies with the same user-agent and the same proxy IP.