CaptchaFoxToken
API documentation for CaptchaFoxToken task type
Documentation in progress
Supported Providers
| Provider | Price per 1,000 |
|---|---|
| $1.45 | |
| $0.65 | |
| $1.00 | |
| $1.00 | |
| $1.45 |
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: |
websiteKey* | string | The site key (data-sitekey attribute) found in the CAPTCHA HTML element. Example: |
userAgent* | string | Browser User-Agent string. Must match the browser used on the target page. Not all providers properly support this parameter. Verify the compatibility with the provider you are using. Example: |
apiServer | URL | CaptchaFox API script URL. Default is https://cdn.captchafox.com/api.js. Set this to https://s.uicdn.com/mampkg/@mamdev/core.frontend.libs.captchafox/api.js when the target site uses the MAM variant, which returns a different token format prefixed with MAM_. 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 |
|---|---|---|
token* | string | The solved CAPTCHA token to submit with your form. Example: |
raw* | Record<string, unknown> | Raw provider response data for advanced use cases. |