NeuroCaptcha

Basilisk captcha

Basilisk captcha: parameters, request, response and the 2Captcha method of BasiliskTaskProxyless and BasiliskTask.

On this page

The Basilisk captcha: the widget with a site key. The answer is the captcha_response value the page sends.

Statuscoming soon
Type codesBasiliskTaskProxyless — without a proxy; BasiliskTask — with your proxy
Proxyoptional: the second code takes your proxy
Also accepted asBasiliskTaskProxyLess
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: BasiliskTaskProxyless, BasiliskTask.
websiteURL
stringrequired
Full address of the page with the captcha: http(s), up to 2048 characters, a public site.
websiteKey
stringrequired
Site key of the widget on the page. Letters, digits and _ - . :, up to 128 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 BasiliskTaskProxyless task:

POST /createTask
{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "BasiliskTaskProxyless",
    "websiteURL": "https://example.com/login",
    "websiteKey": "SITE-KEY-1234"
  }
}

Response#

getTaskResult once the task is solved:

getTaskResult
{
  "errorId": 0,
  "status": "ready",
  "solution": {
    "data": {
      "captcha_response": "5620301f30daf284b829fba66fa9b3d0"
    },
    "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=basilisk, parameters → task fields:

in.phptask
pageurlwebsiteURL
sitekeywebsiteKey
useragentuserAgent

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