🤖Imperva / Incapsula

AWS WAF Solver Task (Requires your own proxies) & Required Parameters

Rest API Endpoint: https://captcha.datalabs.net/createTask

Creating The Task

POST https://captcha.datalabs.net/createTask
Host: captcha.datalabs.net
Content-Type: application/json

{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "AntiImpervaTask",
    "websiteUrl": "https://example.com/",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36",
    "utmvc": true,
    "reese84": true,
    "reeseScriptUrl": "https://exampe.com/random-words-and-dashes-blah-blah?d=exampe.com",
    "cookies": [
      {
        "name": "cookieName",
        "value": "cookieValue"
      }
    ],
    "proxyType": "http",
    "proxyAddress": "1.1.1.1",
    "proxyPort": "9999",
    "proxyLogin": "username",
    "proxyPassword": "password",
    }
}

Task Parameter Table

ParametersRequiredDescription

type

true

AntiImpervaTask

websiteURL

true

The website address in which you're solving the captcha for.

userAgent

false

Browser user-agent used in emulation.

utmvc (Bool)

false

If cookie jar contains any of the following cookies, set to true: incap_see_xxx, nlbi_xxx, visid_inap_xxx

reese84 (Bool)

false

If cookies contain "reese84", set to true.

reeseScriptUrl

false

This is is a URL that can be found in the network activity. Typically consists of random words separated by dashes.

cookies

false

You can optionally send cookies to the solver.

proxyType

true

The type of proxy, accepts values: http, https, socks4, and socks5.

proxyAddress

true

The IPv4/IPv6 IP for your proxy (Host names, non-transparent, and local network proxies are not allowed)

proxyPort

true

The proxy port

proxyLogin

false

The proxy username

proxyPassword

false

The proxy password

Task Created Response

{
  "errorId":0,
  "taskId":997993082
}
ParametersDescription

errorId

0: Without error. 1: Error with request.

errorCode

Short code for error type.

errorDescription

More detailed description of the error that occurred.

taskId

Task ID, provided for synchronous tasks to be pushed to /getTaskResult

Retrieving the Solution

POST https://captcha.datalabs.net/getTaskResult
Host: captcha.datalabs.net
Content-Type: application/json

{
  "clientKey": "DATALABS_API_KEY",
  "taskId": "997993082"
}

Successful Solution Response

{
  "errorId":0,
  "status":"ready",
  "solution": {
    "token": "223d1f60-0e9f-4238-ac0a-e766b15a778e:EQoAf0APpGIKAAAA:AJam3OWp..."
  }
}
ParametersDescription

token

The succesfully solved solution token.

Last updated