Skip to Content
AnySolver logo
AnySolver
Token

YidunTokenProxyLess

Solve a Yidun (NetEase NECaptcha) challenge without providing a proxy and get the validate token. Shows the request schema, an example and provider prices.

YidunTokenProxyLess solves a Yidun challenge from the provider's own network and returns the validate token. Yidun, also called NECaptcha, is NetEase's CAPTCHA service. It comes as a slider or click widget and, on Yidun Enterprise deployments, with extra per-load values.

If the site checks the address that submits the token, use YidunToken with your proxy.

Find websiteKey

websiteKey is the widget id, the sitekey. Look for it in the page source, or in the id parameter of the widget's get?referer= request in the Network tab.

Enterprise parameters

Standard Yidun needs only websiteURL and websiteKey. On Yidun Enterprise, read these from the CAPTCHA network requests and send them together:

FieldValue
yidunGetLibThe full URL of the JavaScript file that loads the CAPTCHA. Recommended for Enterprise.
challengeA dynamic value that changes on every load.
hcgThe CAPTCHA hash from the same requests.
hctA numeric timestamp from the same requests.
yidunApiServerSubdomainThe API host without https://, only when the page uses a custom server, for example c.dun.163.com.

challenge, hcg and hct are tied to one page load. Read them immediately before you create the task, and use a new set for every task.

userAgent is optional and sets the browser User-Agent used to open the page.

Use the token

Per Yidun's integration guide, the widget adds a parameter named NECaptchaValidate to the form it submits, and the site's backend sends that value to Yidun for a second check. Submit solution.token as that parameter. The guide states a value can be validated once.

Check Provider stats for live success rates and solve times before you pick a provider.

Supported Providers

ProviderPrice per 1,000Routing
2Captcha
$2.99
CapMonster
$1.00

Request Schema

FieldTypeRequiredDescription
clientKey*
stringYes

Your API key. Create one in a workspace of the AnySolver dashboard.

Example: your-api-key-from-dashboard

task*
objectYes

The task body. Required fields depend on the task type. See Tasks for per-task schemas.

View task properties
settings
objectNo

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:

FieldTypeRequiredDescription
type*
Yes
websiteURL*
URLYes

Full URL of the page where the CAPTCHA is displayed.

Example: https://example.com/page-with-yidun

websiteKey*
stringYes

The id (sitekey) of the Yidun widget, from the page source or the id parameter of its get?referer= request.

Example: 0f743r3g1g...rz3grz0ym5

userAgent
stringNo

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: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36

yidunGetLib
stringNo

Full URL of the JavaScript file that loads the captcha. Recommended for Yidun Enterprise.

Example: https://example.com/yidun/load.min.js

yidunApiServerSubdomain
stringNo

Custom Yidun API server host without the https:// prefix, for pages that override the default server.

Example: c.dun.163.com

challenge
stringNo

Dynamic challenge value from network requests, present on Yidun Enterprise. It changes on every load, so read it right before creating the task.

Example: 0c59ba0da6e95...e3961a7b141fb1d

hcg
stringNo

Captcha hash from the same Enterprise network requests as challenge.

Example: 2c78a773...d7041f98228b28

hct
numberNo

Numeric timestamp from the same Enterprise network requests as challenge.

Example: 1779358333191

{
    "clientKey": "YOUR_API_KEY",
    "task": {
        "type": "YidunTokenProxyLess",
        "websiteURL": "https://example.com/page-with-yidun",
        "websiteKey": "0f743r3g1g...rz3grz0ym5"
    }
}

Optional fields are not guaranteed across providers

Required fields are guaranteed across every provider that supports this task. Optional fields may be honored by some providers and silently ignored by others. AnySolver does not document per-provider parameter support, so before relying on an optional field, check that provider's own docs for the task you are using.

Response Schema

FieldTypeRequiredDescription
status*
Yes

Task status: "processing", "ready", or "failed".

Example: ready

errorId*
Yes

0 on success; 1 or 2 on an error. Branch on errorCode: Error IDs explains the two error groups.

Example: 0

taskId
stringNo

Unique identifier returned when the task was created.

Example: 01KFNDF328KAN2AJ3BNHCQYE88

errorCode
No

Machine-readable error code.

Example: CAPTCHA_UNSOLVABLE

errorDescription
stringNo

Human-readable error message with resolution hints.

Example: The captcha could not be solved.

cost
numberNo

Actual cost charged for this task in USD.

Example: 0.002

taskType
No

The type of CAPTCHA task to solve.

Example: ReCaptchaV2TokenProxyLess

provider
No

Provider that handled this task. While processing, the provider currently solving it.

Example: Multibot

solution
objectNo

Solution Object Properties

The solution field contains an object with the following properties:

FieldTypeRequiredDescription
token*
stringYes

The solved CAPTCHA token to submit with your form.

Example: D19scz7n4VCU7b_...fRyEY-tXQ0cmS6laRKp_tZEyei_EUzc5M1IW0oxUHnZ4fBMH2a0jMPjOReiHV

raw*
Record<string, unknown>Yes

Raw provider response data for advanced use cases.