Token Turnstile API
POSThttps://api.acedata.cloud/captcha/token/turnstile

Request Headers

acceptstring
Specify the response format returned by the server.
Please select
authorizationstring
Bearer token

Request Body

website_keystringRequired parameter
The Cloudflare Turnstile sitekey of the target website, used to identify the captcha instance to be recognized.
website_urlstringRequired parameter
The target website URL with Cloudflare Turnstile captcha deployed.
asyncboolean
When true, return immediately with a task_id instead of blocking until the token is solved. Poll POST /captcha/tasks with that task_id to retrieve the token. Billing occurs once, only on a solved token.
cdatastring
Optional parameter, only required when the target website has set custom cData for the Turnstile component.
actionstring
Optional parameter, only required when the target website has set a custom action for the Turnstile component.

Response

Integration guide

Shell

Python

JavaScript

Java

Go

PHP

Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.

Cloudflare Turnstile Captcha Service
Allow Use General Balance

When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.