NeuroCaptcha

KeyCAPTCHA

KeyCAPTCHA: parameters, request, response and the 2Captcha method of KeyCaptchaTaskProxyless and KeyCaptchaTask.

On this page

KeyCAPTCHA: the puzzle widget configured with the s_s_c_* values of the page. The answer is the token the page expects.

Statuscoming soon
Type codesKeyCaptchaTaskProxyless — without a proxy; KeyCaptchaTask — with your proxy
Proxyoptional: the second code takes your proxy
Also accepted asKeyCaptchaTaskProxyLess
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: KeyCaptchaTaskProxyless, KeyCaptchaTask.
websiteURL
stringrequired
Full address of the page with the captcha: http(s), up to 2048 characters, a public site.
s_s_c_user_id
stringrequired
s_s_c_user_id from the page. Letters, digits and _ - . :, up to 64 characters.
s_s_c_session_id
stringrequired
s_s_c_session_id from the page. Letters, digits and _ - . :, up to 256 characters.
s_s_c_web_server_sign
stringrequired
s_s_c_web_server_sign from the page. Letters, digits and _ - . :, up to 512 characters.
s_s_c_web_server_sign2
stringrequired
s_s_c_web_server_sign2 from the page. Letters, digits and _ - . :, up to 512 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 KeyCaptchaTaskProxyless task:

POST /createTask
{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "KeyCaptchaTaskProxyless",
    "websiteURL": "https://example.com/login",
    "s_s_c_user_id": "184015",
    "s_s_c_session_id": "9ff29e0176e78eb7ba59314f92dbac1b",
    "s_s_c_web_server_sign": "964635241a3e5e76980f2572e5f63452",
    "s_s_c_web_server_sign2": "3ca802a38ffc5831fa293ac2819b1204"
  }
}

Response#

getTaskResult once the task is solved:

getTaskResult
{
  "errorId": 0,
  "status": "ready",
  "solution": {
    "token": "TOKEN_eyJhbGciOiJIUzI1NiJ9…",
    "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=keycaptcha, parameters → task fields:

in.phptask
s_s_c_user_ids_s_c_user_id
s_s_c_session_ids_s_c_session_id
s_s_c_web_server_signs_s_c_web_server_sign
s_s_c_web_server_sign2s_s_c_web_server_sign2
pageurlwebsiteURL

res.php returns token of the solution as text (OK|…), or in request with json=1.