BinanceTokenProxyLess
Solve a Binance CAPTCHA without a proxy and get the token to submit with the protected request. Shows the request schema, an example and provider prices.
BinanceTokenProxyLess solves a Binance CAPTCHA using the provider's own proxies and returns a token, plus the User-Agent used, to send with the protected request. Binance uses its own CAPTCHA (the page object is BCaptcha) for actions such as login.
Use this task when the site accepts a token solved from another address. If the site checks the address that submits the token, use BinanceToken with your proxy.
Find the parameters
Open DevTools, trigger the CAPTCHA and read the requests in the Network tab. Two values matter:
| Field | Where to find it |
|---|---|
websiteKey | The bizId, bizType or bizCode value in the CAPTCHA requests, for example login |
validateId | The validateId, securityId or securityCheckResponseValidateId value for this CAPTCHA |
validateId changes every time the page renders. Read it right before you create the task, and use a new one for each task. websiteURL is the full URL of the page, and userAgent is optional if you want to fix the browser value.
To read both values from the page itself, wrap window.BCaptcha before the page uses it and record the arguments it receives when it shows the CAPTCHA:
const OriginalBCaptcha = window.BCaptcha;
let captchaData;
Object.defineProperty(window, 'BCaptcha', {
get: () =>
function (options) {
const captcha = new OriginalBCaptcha(options);
Object.getPrototypeOf(captcha).show = (data) => {
captchaData = data;
return 1;
};
return captcha;
},
});After the CAPTCHA is triggered, captchaData holds the values.
Use the token
The token starts with captcha#. Send it with the protected request. The userAgent in the solution is the one the CAPTCHA was solved with, so send your own request with the same User-Agent.
If the site rejects the token, check that websiteKey and validateId come from the same page render.
Check Provider stats for live success rates and solve times before you pick a provider.
Supported Providers
| Provider | Price per 1,000 | Routing |
|---|---|---|
2Captcha | $2.99 | |
CapMonster | $1.00 |
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: |
websiteKey* | string | Yes | The bizId, bizType or bizCode value from the captcha requests on the page, for example login. Example: |
validateId* | string | Yes | The validateId, securityId or securityCheckResponseValidateId value for this captcha. It changes every time the page renders, so read it right before creating the task. Example: |
userAgent | string | No | 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: |
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "BinanceTokenProxyLess",
"websiteURL": "https://example.com/page-with-binance",
"websiteKey": "login",
"validateId": "cb0bfefa598...e54ecd57b"
}
}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 solved CAPTCHA token to submit with your form. Example: |
raw* | Record<string, unknown> | Yes | Raw provider response data for advanced use cases. |
userAgent | string | No | User-Agent string used during solving. Example: |