NeuroCaptcha

Tencent captcha

Tencent captcha: parameters, request, response and the 2Captcha method of TencentTaskProxyless and TencentTask.

On this page

Tencent captcha (TenDI): the widget loaded from TCaptcha.js with the site's appId. The answer is ticket and randstr with the appid.

Statuscoming soon
Type codesTencentTaskProxyless — without a proxy; TencentTask — with your proxy
Proxyoptional: the second code takes your proxy
Also accepted asTencentTaskProxyLess
Priceset when the type is switched on — see pricing

Rules#

  • The proxy code solves through your proxy, so the answer is issued for your IP address. See Proxies.

Parameters#

Fields of the task object in createTask:

type
stringrequired
Task type: TencentTaskProxyless, TencentTask.
websiteURL
stringrequired
Full address of the page with the captcha: http(s), up to 2048 characters, a public site.
appId
stringrequired
appId of the site. Letters, digits and _ - . :, up to 64 characters.
captchaScript
string
URL of the captcha script. Absolute http(s) URL of a public site, up to 2048 characters.
userAgent
string
User-Agent of the browser that will use the answer, up to 512 characters.
proxyType
string
http (default), https, socks4 or socks5.
proxyAddress
stringfor proxy types
IP address or host name of the proxy. Private and local addresses are rejected.
proxyPort
integerfor proxy types
Proxy port, 1–65535.
proxyLogin
string
Proxy login, up to 256 characters. Stored encrypted.
proxyPassword
string
Proxy password, up to 256 characters. Stored encrypted.

Request#

A TencentTaskProxyless task:

POST /createTask
{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "TencentTaskProxyless",
    "websiteURL": "https://example.com/login",
    "appId": "190000001"
  }
}

Response#

getTaskResult once the task is solved:

getTaskResult
{
  "errorId": 0,
  "status": "ready",
  "solution": {
    "appid": "190000001",
    "ret": 0,
    "ticket": "tr03lHUhdnuW3neJZu…",
    "randstr": "@KVN",
    "userAgent": ""
  },
  "cost": "0.001500",
  "ip": "198.51.100.7",
  "createTime": 1793370000,
  "endTime": 1793370012,
  "solveCount": 1
}

2Captcha in.php#

The same task through the 2Captcha API: method=tencent, parameters → task fields:

in.phptask
pageurlwebsiteURL
app_idappId
captcha_scriptcaptchaScript

res.php returns the solution as a JSON object (in request with json=1).