CAPTCHA · Automatic background solving

One API call, solve Cloudflare Turnstile in seconds
Get a usable token directly with a sitekey

No manual clicking or browser and CAPTCHA solver maintenance required. Submit the target website's Turnstile sitekey and URL, and the API solves it in the background to return a valid cf-turnstile-response token for direct use in form submissions, logins, registrations, and automated workflows.

1
call to get a token directly
async
Supports asynchronous submission + polling
120s
token validity period
0.06 Credits
per successful request

Key capabilities

A direct Cloudflare Turnstile token solution for automated testing, web scraping, and quality monitoring teams.

Direct token output

Submit sitekey + URL to receive a cf-turnstile-response token ready for submission, skipping the entire challenge.

Synchronous / asynchronous

Returns synchronously with blocking by default; pass async:true to get a task_id immediately and poll /captcha/tasks for the result, ideal for rotating among multiple CAPTCHA solvers.

Custom parameters

Supports optional action and cdata to precisely match the custom configuration set by the target site for its Turnstile widget.

Processing time visibility

Responses include started_at / finished_at / elapsed, making it easy to monitor the processing latency of each solve.

Pay per request

Each successful request costs 0.06 Credits.

Unified integration

Uses the same Bearer token and /captcha/tasks polling endpoint as the hCaptcha, reCAPTCHA, and other CAPTCHA APIs.

Get results synchronously or avoid blocking asynchronously

For simple scenarios, get a token directly in one request; for high concurrency or rotation among multiple CAPTCHA solvers, use async:true to get a task_id immediately, schedule other tasks, and return later to poll the same /captcha/tasks endpoint for the result.

  • Synchronous mode: one request blocks until the token is solved
  • Asynchronous mode: async:true returns a task_id immediately; poll for the result
  • Asynchronous tasks are billed based on API usage after completion
POST /captcha/token/turnstile

Quick Start Example

Once you have an API Token, submit the sitekey and URL to get a token directly.

POST /captcha/token/turnstile
curl -X POST "https://api.acedata.cloud/captcha/token/turnstile" \
  -H "authorization: Bearer YOUR_API_KEY" \
  -H "content-type: application/json" \
  -d '{
    "website_key": "0x4AAAAAAADnPIDROrmt1Wwj",
    "website_url": "https://react-turnstile.vercel.app"
  }'

JSON Response

{
  "token": "0.mNQ2f9uP6mQ0y3H5Q8bqO7iM......",
  "started_at": 1784885653.0,
  "finished_at": 1784885665.4,
  "elapsed": 12.4
}

The returned token is the cf-turnstile-response value. It is single-use and valid for 120s. We recommend submitting it to the target website within 60s.

Get Started in Three Steps

From obtaining your key to getting a token, it takes just a few minutes.

1

Get a Token

Sign in to the application list, open General Application, and click the copy button to the right of API KEY. Keep the Key on the server and use it to replace YOUR_API_KEY in the example.

Get an Ace Data Cloud API Key
2

Get the sitekey

Search for cf-turnstile on the target website and use data-sitekey as the website_key.

3

Call the API

Submit website_key and website_url to get a token directly.

4

Submit the Form

Submit the token as cf-turnstile-response to the target website to complete verification.

Typical Use Cases

Automated Testing

Provide valid tokens for end-to-end automated testing of login / registration / checkout flows protected by Turnstile.

Data Collection

Within the scope of authorized and compliant use, let crawlers bypass Turnstile verification and reliably collect target data.

Quality Monitoring

Run scheduled availability and performance checks on key pages protected by Turnstile.

Simple, Transparent Pricing

Credits are deducted for successful requests based on API usage. The amount charged depends on the plan.

Token Turnstile

0.06 Credits
Per successful request

Volume Plans

Credits purchase and conversion pricing

Frequently Asked Questions

How do I use the returned token?

The token is the cf-turnstile-response value for the target website's Turnstile widget. Simply POST it to the target website along with the form. It is single-use and valid for 120s; use within 60s is recommended.

Is asynchronous processing supported?

Yes. Pass async:true in the request body to immediately receive a task_id, then poll POST /captcha/tasks for the result (every 3~5 seconds is recommended). Creating a task and polling while it is "processing" are free; you are charged once only when the token is successfully retrieved.

What are action and cdata?

Both are optional parameters. You only need to pass them if the target website has set a custom action or cData for its Turnstile widget, to precisely match that instance.

Can I bring my own proxy (BYOP)?

Cloudflare Turnstile does not currently support bringing your own proxy. This API does not accept the proxy parameter; passing it will return 400 invalid_proxy. If you need a proxy exit IP, use the hCaptcha / reCAPTCHA APIs, which support BYOP.

Start Solving Cloudflare Turnstile

Submit a sitekey and URL to get a usable token in one API call, and integrate it into your automation workflow in minutes.

Get Started Now