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

FieldTypeRequiredDescription
clientKeystringYesYour private API key.
task.typestringYesMust be interstitial.
task.websiteURLstringYesURL of the protected page.
task.sourcebooleanNoWhen 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.