Tencent Tendi CAPTCHA solver API
API health
- 24h health
- Normal
- Healthy / normal
- Available
Last 24 hours
Last 30 days
EverySolve's Tencent Tendi CAPTCHA API returns named solution fields for your challenge workflow.Tencent Tendi CAPTCHA uses a captchaAppId/site key and can return a ticket plus randstr after its interactive challenge. The ticket and randstr parameters must be consumed together. They are not a reCAPTCHA response token or a page-access cookie.
Send POST https://api.everyinfra.com/api/v1/captcha with type set to tencent_tendi. Put the parameters in the request body, at the same level as type. $2.5 per 1,000 successful solutions ($0.0025 per successful solve). Failed calls and empty results are not charged.
AI prompt
#Help me write a script that calls the EveryInfra "Tencent Tendi CAPTCHA" API.
API contract:
- Request: POST https://api.everyinfra.com/api/v1/captcha with the header Authorization: Bearer <API Key>. Read the key from the EVERYINFRA_API_KEY environment variable; do not put it in the code.
- In the request body, set type to tencent_tendi and put the parameters next to it at the same level.
- Required parameters:
- website_url: The exact page where this challenge appears, including the relevant path rather than only the site home page.
- website_key: The public site or widget key copied from this exact target integration; it is not a secret key.
- Optional parameters:
- captcha_script: The public CAPTCHA script URL loaded by the target page, when that deployment customizes it.
- Example request body:
{
"type": "tencent_tendi",
"website_url": "<website_url>",
"website_key": "<website_key>"
}
- Billing: $2.5 per 1,000 successful solutions ($0.0025 per successful solve). Failed calls and empty results are not charged.
- On 422, fix the parameters using the suggestions and allowed values in the error. On 429 or 503, wait for Retry-After and try again.
Before writing code, ask me how many items I need to process and what format to save the results in, then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
type | body | string | Yes | tencent_tendi | CAPTCHA type, fixed value. |
website_url | body | string | Yes | - | The exact page where this challenge appears, including the relevant path rather than only the site home page. |
website_key | body | string | Yes | - | The public site or widget key copied from this exact target integration; it is not a secret key. |
captcha_script | body | string | No | - | The public CAPTCHA script URL loaded by the target page, when that deployment customizes it. |
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/captcha' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"type": "tencent_tendi",
"website_url": "<website_url>",
"website_key": "<website_key>"
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "id": "req_…", "type": "tencent_tendi", "solution": { "ticket": "…", "randstr": "…" }, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Where the Tencent Tendi CAPTCHA parameters come from
#Copy the target captchaAppId as website_key; captcha_script is optional only when that deployment exposes a custom script URL.
Code to find these values on the page
// 1. Read aid from a sent CAPTCHA request. This is the most accurate method. It is the only one that works with aidEncrypted. performance.getEntriesByType('resource').map(e=>e.name) .filter(n=>/t\.captcha\.qq\.com|captcha\.qcloud\.com/.test(n)) .map(n=>{try{return new URL(n).searchParams.get('aid')}catch(e){return null}}).filter(Boolean) // 2. If the CAPTCHA overlay is open, read the iframe document.querySelector('iframe[src*="t.captcha.qq.com"]')?.src // 3. Fallback: search the page source for CaptchaAppId / aid document.documentElement.innerHTML.match(/(?:CaptchaAppId|aid)["'\s:=]{1,4}["']?(\d{9,10})/i) // Also check the script URL. Send it as the optional captcha_script parameter only when it is not the default. [...document.scripts].map(s=>s.src).find(s=>/captcha\.qcloud\.com\/T\w*Captcha\.js/.test(s))
How to recognize Tencent Tendi CAPTCHA
#Tencent Tendi CAPTCHA uses a captchaAppId/site key and can return a ticket plus randstr after its interactive challenge.
What makes Tencent Tendi CAPTCHA different
The ticket and randstr parameters must be consumed together. They are not a reCAPTCHA response token or a page-access cookie.
How to use the Tencent Tendi CAPTCHA API
#The Tencent Tendi CAPTCHA API returns named solution fields in ticket and randstr. Its solution format is fields. Read the declared fields together; the target workflow may require the complete set.
- 01Read GET /api/v1/captcha/types and select the
tencent_tendientry. - 02Send
type: "tencent_tendi"and the required parameters to POST /api/v1/captcha. - 03Read named solution fields from
ticketandrandstr. - 04Read the declared fields together; the target workflow may require the complete set.
Billing and availability EverySolve charges only when a solution is delivered successfully. An unsuccessful attempt is not charged, and any held amount goes back to your balance automatically. Read available and the price fields from GET /api/v1/captcha/types at request time rather than treating them as static page content.
Tencent Tendi CAPTCHA integration questions
#How can I identify Tencent Tendi CAPTCHA before choosing a type?
Tencent Tendi CAPTCHA uses a captchaAppId/site key and can return a ticket plus randstr after its interactive challenge. Use tencent_tendi only after those signals match the target challenge.
Which target-page values belong in Tencent Tendi CAPTCHA requests?
Copy the target captchaAppId as website_key; captcha_script is optional only when that deployment exposes a custom script URL. Provide website_url and website_key. Optional parameters are captcha_script.
What does Tencent Tendi CAPTCHA return, and what is easy to confuse it with?
The Tencent Tendi CAPTCHA API returns named solution fields in ticket and randstr. Its solution format is fields. The ticket and randstr parameters must be consumed together. They are not a reCAPTCHA response token or a page-access cookie.
Which external source explains the Tencent Tendi CAPTCHA integration?
Tencent Cloud documents TCaptcha/Tendi client integration and callback fields. [Open the Tencent Tendi CAPTCHA reference](https://cloud.tencent.com/product/captcha). EverySolve-specific fields and live availability still come from the type catalog.
Reference for Tencent Tendi CAPTCHA
#Related CAPTCHA types
#- Basilisk
basilisk$1.53 per 1,000 successful solutions - Capy Puzzle CAPTCHA
capy$3.06 per 1,000 successful solutions - GeeTest CAPTCHA
geetest$2.08 per 1,000 successful solutions - Lemin CAPTCHA
lemin$1.53 per 1,000 successful solutions - Kasada
kasada$3.06 per 1,000 successful solutions - Akamai Bot Manager for mobile SDKs
akamai_bmp$4.58 per 1,000 successful solutions
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.