The technical content of this page is available in English.

Introduzione / Cloudflare Turnstile

Cloudflare Turnstileattivo

POSThttps://api.solucaptcha.com/createTask

Solve Cloudflare Turnstile and receive the widget response token.

Parameters

FieldTypeRequiredDescription
clientKeystringYesYour private API key.
task.typestringYesMust be turnstile.
task.websiteURLstringYesURL of the page containing the widget.
task.websiteKeystringYesWidget sitekey (data-sitekey).
task.useragentstringNoChrome user-agent to use.

Example

curl --request POST \
  --url https://api.solucaptcha.com/createTask \
  --header "Content-Type: application/json" \
  --data '{ "clientKey": "YOUR_API_KEY", "task": { "type": "turnstile", "websiteURL": "https://example.com/", "websiteKey": "0x4AAAAAAA..." } }'

Result

{ "errorId": 0, "status": "completed", "solution": { "value": "0.AbCdEfGhIjK...", "token": "0.AbCdEfGhIjK..." } }