NeuroCaptcha

Hunt captcha

Hunt captcha: parameters, request, response and the 2Captcha method of HuntTask.

On this page

The Hunt check: a bot protection with its own api.js and a site token. The answer is the token, obtained through your proxy.

Statuscoming soon
Type codesHuntTask — with your proxy
Proxyrequired — your proxy
Also accepted as—
Priceset when the type is switched on — see pricing

Rules#

  • Only with your proxy: the answer is bound to the IP address it was obtained from. See Proxies.

Parameters#

Fields of the task object in createTask:

type
stringrequired
Task type: HuntTask.
websiteURL
stringrequired
Full address of the page with the captcha: http(s), up to 2048 characters, a public site.
apiGetLib
stringrequired
URL of the captcha script of the site. Absolute http(s) URL of a public site, up to 2048 characters.
data
string
Extra data of the widget, as the page passes it (for example {"blob":"…"}). One line of text, up to 4096 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
stringrequired
IP address or host name of the proxy. Private and local addresses are rejected.
proxyPort
integerrequired
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 HuntTask task:

POST /createTask
{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "HuntTask",
    "websiteURL": "https://example.com/login",
    "apiGetLib": "https://example.com/captcha/api.js",
    "proxyType": "http",
    "proxyAddress": "203.0.113.10",
    "proxyPort": 8080,
    "proxyLogin": "user",
    "proxyPassword": "pass"
  }
}

Response#

getTaskResult once the task is solved:

getTaskResult
{
  "errorId": 0,
  "status": "ready",
  "solution": {
    "token": "TOKEN_eyJhbGciOiJIUzI1NiJ9…",
    "userAgent": ""
  },
  "cost": "0.002000",
  "ip": "198.51.100.7",
  "createTime": 1793370000,
  "endTime": 1793370012,
  "solveCount": 1
}

2Captcha in.php#

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

in.phptask
pageurlwebsiteURL
api_get_libapiGetLib
datadata
useragentuserAgent

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