> For the complete documentation index, see [llms.txt](https://clearcaptcha.gitbook.io/clearcaptcha-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://clearcaptcha.gitbook.io/clearcaptcha-api/captcha/cloudflare-challenge.md).

# Cloudflare Challenge

{% hint style="info" %}
Get turnstile token by uploading chlApiSitekey.
{% endhint %}

> #### Price Plan <a href="#akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth" id="akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth"></a>

<table data-view="cards"><thead><tr><th align="center"></th><th align="center"></th></tr></thead><tbody><tr><td align="center"><p><strong>Pay Per Use</strong></p><p><strong>(One request)</strong></p></td><td align="center"><mark style="color:orange;"><strong>$0.06</strong></mark></td></tr></tbody></table>

> #### **Request URL  &#x20;**<mark style="color:red;">**click link to test on postman**</mark> <a href="#akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth" id="akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth"></a>

[http://api.clearcaptcha.com/captcha/cloudflare\_challenge](https://www.postman.com/clearcaptcha/clearcaptcha/request/btun5uf/cloudflare-challenge)    &#x20;

> #### **Method** <a href="#akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth" id="akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth"></a>

<mark style="color:green;">**POST            Content-Type: application/json**</mark>

> #### **Request Parameter** <a href="#akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth" id="akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth"></a>

<table data-full-width="false"><thead><tr><th width="123">Key</th><th width="83">Type</th><th width="100">Required</th><th>Remark</th><th>Eg.</th></tr></thead><tbody><tr><td>token</td><td>String</td><td>yes</td><td>Authorize After Purchase</td><td>test</td></tr><tr><td>url</td><td>String</td><td>yes</td><td>Website url</td><td>https://www.premiersports.com/us/login</td></tr><tr><td>proxy</td><td>String</td><td>no</td><td>Only supports http proxy</td><td>104.123.83.10:5442:10sfsaxxgve:rb0xwerfsniu7rlsfdswemcsafw</td></tr><tr><td>user_agent</td><td>String</td><td>no</td><td></td><td></td></tr><tr><td>is_cookie</td><td>Bool</td><td>no</td><td></td><td></td></tr></tbody></table>

> #### **Request eg.** <a href="#akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth" id="akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth"></a>

{% code overflow="wrap" %}

```json
{
 "token": "test",
    "url": "https://dashboard.affiliate-sms.com/auth/login",
    "proxy": "resi.proxiware.com:8080:user-test_pool-2_geo-us_session-time-5-test:test"
}
```

{% endcode %}

> #### **Response** **Parameter** <a href="#akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth" id="akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth"></a>

| Key                         | Type   | Remark |
| --------------------------- | ------ | ------ |
| code                        | Int    |        |
| msg                         | String |        |
| data                        | Object |        |
| data\[cf\_turnstile\_token] | String |        |
| data\[user\_agent]          | String |        |

> #### **Response eg.** <a href="#akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth" id="akamai2.0_abck-universalversion-akamai2.0_abckcostusd0.05-eachtimeorusd600-perweekorusd2000-permonth"></a>

```json
{
	"code": 200,
	"msg": "Success",
	"data": {
		"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36",
		"cf_turnstile_token": "",
		"cf_turnstile_cookies": "0.j7MIivW1EzXfr3OJtTM4CFBQKDmXAYKTYrgD7g0CctJm6c9SklP3duGYOHukphK2oCTL1MWwVynPslPMfWGmBCq4NOt-6cHDa3fS5ic4g3RhqCIJAkftgpgCq-sWvhypj1P5OyMkdTGmNKce0gk8vC0v9dP_FCAqQseOv1bhmyj439IZWaYh0vKt6ddRAfindvidQ7xvEU8G7HmuOVLiRn3BwJ7PeL-brjLu7QMojVdf6vTl_r3lwjOjeYw40plZLG0rQLI4iwvmxMom6Di7lvsiQQL4fFmNOEBeNFueFI0cGHypMKZt3CP0PFa-Uv9LPFWFu2rWESAQTCYwIAPJUrhdQK-ItTF_UYdCmeJckg_kytDCuN4hOuqF6CCIHiggNyJH7k4aXeVf1_GGqYXx7vc8h_Yrf_cX6KC-j8CYTfqDjGGG78F8FabqMMQZQi4XpYpNe-krChS8U7A339mHGRxsCuuXSKUxq8H9r6wMu9k.aJsn17K13_Tx6lCtNFiAiA.a37345869b7e7e8a73fbe4addc81e980cd08fd97dd6a5965894e9cf8491d678e"
	}
}
```

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://clearcaptcha.gitbook.io/clearcaptcha-api/captcha/cloudflare-challenge.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
