DocumentationAPI v1
Back to All Task Types
Captcha Token•Token & Cookie Bypass~2.0s avg98.6% accuracy$1.20 / 1k

Alibaba Cloud Captcha (Beta)

POST/api/v1/createTask
POST/api/v1/getTaskResult

Solves Alibaba Cloud Captcha 2.0 slider and verification challenges using SceneId and aliyuncs prefix. Returns solution.token as the JSON verification string.

Supported Task Types & Modes

Task TypeModeRecommended ForRate / 1k
AlibabaCaptchaTaskProxy Optional (v1: alibaba)Alibaba Cloud Captcha 2.0 slider & behavioral widgets$1.20
How to Locate Required Parameters
  1. Inspect initAliyunCaptcha(...) in page scripts or Network requests to *.captcha-open.aliyuncs.com.
  2. Extract scene_id (SceneId) and prefix (the subdomain prefix of the aliyuncs.com host).
  3. If the site passes region (e.g. "cn" or "sgp"), user_id, verify_type, or api_get_lib, include those optional fields.
  4. Submit the returned solution.token JSON string to the target site captchaVerifyCallback endpoint.

Request Parameters

ParameterTypeRequiredDescription
task.typestringRequired
Use AlibabaCaptchaTask or canonical v1 name "alibaba".
Example: "AlibabaCaptchaTask"
websiteURLstringRequired
Full URL of the page showing Alibaba Cloud Captcha.
Example: "https://example.com/login"
scene_idstringRequired
The SceneId configured on the target site.
Example: "1ww7426c4"
prefixstringRequired
Subdomain prefix used on the captcha-open...aliyuncs.com host.
Example: "dlw3kug"
regionstringOptional
Optional Alibaba Cloud region ("cn", "sgp", etc.).
Example: "cn"
user_id / user_user_id / verify_type / user_certify_id / api_get_libstringOptional
Optional parameters forwarded verbatim when required by the site integration.
Example: "cn"
proxyobjectOptional
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": "AlibabaCaptchaTask",
      "websiteURL": "https://example.com/login",
      "scene_id": "1ww7426c4",
      "prefix": "dlw3kug",
      "region": "cn"
    }
  }'

Response Format

200 OK — Ready Solution
{
  "errorId": 0,
  "status": "ready",
  "solution": {
    "token": "{\"sceneId\":\"1ww7426c4\",\"certifyId\":\"c891f2a0\",\"deviceToken\":\"dt_94a1...\",\"data\":\"...\"}"
  }
}
Response FieldTypeDescription
solution.tokenstringJSON string containing sceneId, certifyId, deviceToken, and data formatted for captchaVerifyParam.

Error Codes & Troubleshooting

Error CodeCommon CauseResolution
INVALID_SCENE_OR_PREFIXIncorrect scene_id or aliyuncs prefix.Verify both SceneId and Prefix inside initAliyunCaptcha configuration.
Best Practices & Billing Protection
  • Pass solution.token directly as captchaVerifyParam without re-encoding or mutating JSON keys.
Need custom concurrency or a dedicated model? View Pricing & Enterprise Plans →