AtbCaptchaTokenProxyLess
Solve an atbCAPTCHA widget without a proxy and get the token for its success callback. Shows the request schema, an example and provider prices.
AtbCaptchaTokenProxyLess solves an atbCAPTCHA widget using the provider's own proxies and returns the token. atbCAPTCHA is initialised in the page with as.Captcha(element, options). When a visitor passes it, the page's success callback receives a token that the site backend verifies.
Use this task when the site accepts a token solved from another address. If the site checks the address that submits the token, use AtbCaptchaToken with your proxy.
Find appId and apiServer
Search the page source for as.Captcha(. The options object passed to it contains the values you need:
var myCaptcha = as.Captcha(document.getElementById('demo'), {
appId: 'af23e041b22d000a11e22a230fa8991c',
success: myCallbackFunction,
});appIdis theappIdoption, a hexadecimal string.apiServeris theapiServeroption, sent as a full URL, for examplehttps://cap.aisecurius.com.websiteURLis the full URL of the page that shows the widget.
Use the token
The token is meant for the function you pass as success. Call that function with the token, or build the same request your page would send to its backend with the token included.
If the site rejects the token, check that appId, apiServer and websiteURL come from the page that shows the widget.
Check Provider stats for live success rates and solve times before you pick a provider.
Supported Providers
| Provider | Price per 1,000 | Routing |
|---|---|---|
2Captcha | $1.45 | |
SolveCaptcha | $1.45 |
Request Schema
| Field | Type | Required | Description |
|---|---|---|---|
clientKey* | string | Yes | Your API key. Create one in a workspace of the AnySolver dashboard. Example: |
task* | object | Yes | The task body. Required fields depend on the task type. See Tasks for per-task schemas. View task properties |
settings | object | No | Per-request settings for routing, Auto Retry, Auto Fallback, proxy reuse, response statistics and detailed analytics. Each field overrides the API key's value. See Routing modes. View settings reference |
Task Object Properties
The task field accepts an object with the following properties:
| Field | Type | Required | Description |
|---|---|---|---|
type* | Yes | ||
websiteURL* | URL | Yes | Full URL of the page where the CAPTCHA is displayed. Example: |
appId* | string | Yes | The appId passed to as.Captcha() in the page source. Example: |
apiServer* | string | Yes | The apiServer passed to as.Captcha() in the page source, as a full URL. Example: |
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "AtbCaptchaTokenProxyLess",
"websiteURL": "https://www.example.com/",
"appId": "af23e041b22d000a11e22a230fa8991c",
"apiServer": "https://cap.aisecurius.com"
}
}Optional fields are not guaranteed across providers
Response Schema
| Field | Type | Required | Description |
|---|---|---|---|
status* | Yes | Task status: "processing", "ready", or "failed". Example: | |
errorId* | Yes |
Example: | |
taskId | string | No | Unique identifier returned when the task was created. Example: |
errorCode | No | Machine-readable error code. Example: | |
errorDescription | string | No | Human-readable error message with resolution hints. Example: |
cost | number | No | Actual cost charged for this task in USD. Example: |
taskType | No | The type of CAPTCHA task to solve. Example: | |
provider | No | Provider that handled this task. While processing, the provider currently solving it. Example: | |
solution | object | No |
Solution Object Properties
The solution field contains an object with the following properties:
| Field | Type | Required | Description |
|---|---|---|---|
token* | string | Yes | The ATB captcha token. Pass it to the success callback of as.Captcha() or send it to the site backend. Example: |
raw* | Record<string, unknown> | Yes | Raw provider response data for advanced use cases. |