KasadaCtBrowserToken
API documentation for KasadaCtBrowserToken task type
Documentation in progress
Supported Providers
| Provider | Price per 1,000 |
|---|---|
| $1.00 | |
| $1.50 |
Request Schema
| Field | Type | Description |
|---|---|---|
clientKey* | string | Your API key from the AnySolver dashboard. Example: |
task* | object | |
provider | Specific provider to use. If omitted, automatic routing selects the best provider. Example: | |
selectionMode | Read more at the routing strategies docs. Example: | |
keyPoolMode | Example: |
Task Object Properties
The task field accepts an object with the following properties:
| Field | Type | Description |
|---|---|---|
websiteURL* | URL | Full URL of the page where the CAPTCHA is displayed. Example: |
userAgent* | string | The User-Agent string to use during solving. It must match the browser used for your subsequent requests to the protected site. Example: |
uaVersion* | number | The major Chrome version number extracted from the user agent, for example 145 for Chrome 145. Example: |
pJsPath* | string | Path to Kasada's p.js script on the target site. Find this by inspecting network requests in your browser DevTools. Example: |
fpHost* | string | The host serving the Kasada fingerprint page. This is usually the target domain. Example: |
tlHost* | string | The host for the Kasada TL endpoint used for token generation. Example: |
cdConstant | string | Optional constant used for the Kasada CD (compute-digest) proof-of-work, if required by the target site. Example: |
proxy* | string | object |
Response Schema
| Field | Type | Description |
|---|---|---|
status* | Task status: "processing", "ready", or "failed". Example: | |
taskId | string | Unique identifier returned when the task was created. Example: |
errorId* | 0 = success, 1 = external error, 2 = internal error. Example: | |
errorCode | Machine-readable error code (e.g., "CAPTCHA_UNSOLVABLE"). Example: | |
errorDescription | string | Human-readable error message with resolution hints. Example: |
cost | number | Actual cost charged for this task in USD. Example: |
taskType | The type of CAPTCHA task to solve. Example: | |
provider | Specific provider to use. If omitted, automatic routing selects the best provider. Example: | |
solution | object |
Solution Object Properties
The solution field contains an object with the following properties:
| Field | Type | Description |
|---|---|---|
headers* | object | Kasada headers returned by the solver. Include these headers in your subsequent requests to the protected site. |
raw* | Record<string, unknown> | Raw provider response data for advanced use cases. |