DocumentationAPI v1
Back to All Task Types
Captcha Token•Token & Cookie Bypass~1.8s avg98.8% accuracy$1.10 / 1k

Tencent Captcha (Beta)

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

Solves Tencent Cloud slider & verification challenges (TCaptcha.js and TCaptcha-global.js). Returns both solution.ticket and solution.randstr to submit together.

Supported Task Types & Modes

Task TypeModeRecommended ForRate / 1k
TencentCaptchaTaskProxy Optional (v1: tencent)Tencent Captcha domestic & global widgets returning ticket + randstr$1.10
How to Locate Required Parameters
  1. Find the numeric CaptchaAppId (aid) passed to new TencentCaptcha(aid, callback) or inside network requests to turing.captcha.qcloud.com.
  2. Optionally capture the script URL (TCaptcha.js or TCaptcha-global.js) and pass it in captcha_url.
  3. Submit websiteURL and websiteKey (aid) to POST /api/v1/createTask.
  4. Send both solution.ticket and solution.randstr to your target verification endpoint.

Request Parameters

ParameterTypeRequiredDescription
task.typestringRequired
Use TencentCaptchaTask or canonical v1 name "tencent".
Example: "TencentCaptchaTask"
websiteURLstringRequired
Full URL of the page displaying Tencent Captcha.
Example: "https://example.com/login"
websiteKeystringRequired
The Tencent CaptchaAppId (aid).
Example: "189123456"
captcha_urlstringOptional
Optional URL of TCaptcha.js or TCaptcha-global.js loaded by the page.
Example: "https://turing.captcha.qcloud.com/TCaptcha.js"
userAgentstringOptional
Optional User-Agent header to match on submission.
Example: "Mozilla/5.0 (Windows NT 10.0; Win64; x64)..."
proxyobjectOptional
Optional proxy object.
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": "TencentCaptchaTask",
      "websiteURL": "https://example.com/login",
      "websiteKey": "189123456",
      "captcha_url": "https://turing.captcha.qcloud.com/TCaptcha.js"
    }
  }'

Response Format

200 OK — Ready Solution
{
  "errorId": 0,
  "status": "ready",
  "solution": {
    "ticket": "tr03a7f9c2e8b1d4...",
    "randstr": "@k8P",
    "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
  }
}
Response FieldTypeDescription
solution.ticketstringVerification ticket; must be submitted together with randstr.
solution.randstrstringRandom verification string paired with ticket.
solution.user_agentstringUser-Agent used when generating the ticket.

Error Codes & Troubleshooting

Error CodeCommon CauseResolution
INVALID_SITEKEYwebsiteKey does not match a valid Tencent CaptchaAppId (aid).Confirm the numeric aid in the target page script or Network tab.
Best Practices & Billing Protection
  • Always submit solution.ticket and solution.randstr together as a pair.
  • Pass captcha_url when the site loads TCaptcha-global.js instead of the default domestic script.
Need custom concurrency or a dedicated model? View Pricing & Enterprise Plans →