Captcha Token•Token & Cookie Bypass~1.9s avg98.7% accuracy$1.15 / 1k
NetEase Yidun (Beta)
POST
https://api.byecap.org/api/v1/createTaskPOST
https://api.byecap.org/api/v1/getTaskResultSolves NetEase Yidun standard and enterprise challenges (slider, click, and smart verify). Returns a single-use solution.token.
Supported Task Types & Modes
| Task Type | Mode | Recommended For | Rate / 1k |
|---|---|---|---|
| YidunTask | Proxy Optional (v1: yidun) | Standard and enterprise NetEase Yidun widgets returning validation token | $1.15 |
How to Locate Required Parameters
- Locate the Yidun captchaId from initNECaptcha({ captchaId: "..." }) or network requests to c.dun.163.com.
- For enterprise deployments, also capture get_lib (load.min.js URL), custom api_server_subdomain, and dynamic challenge / hcg / hct fields if present.
- Submit POST /api/v1/createTask and poll POST /api/v1/getTaskResult.
- Submit solution.token to the target form or API verification handler.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| task.type | string | Required | Use YidunTask or canonical v1 name "yidun". Example: "YidunTask" |
| websiteURL | string | Required | Full URL of the page loading NetEase Yidun. Example: "https://example.com/login" |
| websiteKey | string | Required | The Yidun captchaId. Example: "6cw0f0485d5d46auacf9b735d20218a5" |
| get_lib | string | Optional | Full URL of the Yidun loader script (recommended for enterprise). Example: "https://cstaticdun.126.net/load.min.js" |
| api_server_subdomain | string | Optional | Custom Yidun API hostname if different from c.dun.163.com. Example: "c.dun.example.com" |
| challenge / hcg / hct | string / int | Optional | Enterprise-only challenge token, hcg hash, and hct timestamp. Example: "a0b1" / "9f8e" / 1761048664 |
| proxy | object | Optional | Optional proxy configuration. Example: {"type":"http","host":"203.0.113.7","port":8080} |
Request Examples
Create & Poll Task
curl -X POST https://api.byecap.org/api/v1/createTask \
-H "Content-Type: application/json" \
-d '{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "YidunTask",
"websiteURL": "https://example.com/login",
"websiteKey": "6cw0f0485d5d46auacf9b735d20218a5",
"get_lib": "https://cstaticdun.126.net/load.min.js"
}
}'Response Format
200 OK — Ready Solution
{
"errorId": 0,
"status": "ready",
"solution": {
"token": "CN31_9f82a4e7c1b0d5..."
}
}| Response Field | Type | Description |
|---|---|---|
| solution.token | string | Single-use Yidun verification token (validate parameter). |
Error Codes & Troubleshooting
| Error Code | Common Cause | Resolution |
|---|---|---|
| INVALID_ENTERPRISE_PARAMS | Enterprise Yidun instance missing api_server_subdomain or hcg/hct parameters. | Inspect the Yidun network call and forward get_lib, api_server_subdomain, challenge, hcg, and hct. |
Best Practices & Billing Protection
- Use solution.token immediately—Yidun tokens are single-use and short-lived.
- Include get_lib for enterprise portals hosting customized Yidun scripts.
Need custom concurrency or a dedicated model? View Pricing & Enterprise Plans →