Documentation menu

NoCaptchaTask : solving Google recaptcha

The object contains data for Google ReCaptcha2 solving task. To provide solid universality for solving this type of task we have reproduce every piece of environment used for an automation task you plan to complete

  • proxy access
  • browser's user-agent
  • (optionally) cookies

This approach will eliminate all possible obstacles which Google might implement in the future.

This type of captcha might be solved a bit longer than usual image captcha, but this issue is compensated by the fact that g-captcha-response value we send to you is valid for the next 60 seconds after we solves your ReCaptcha2.

Object structure

Property Type Required Default value
type String Yes NoCaptchaTask
websiteURL String Yes Address of a webpage with Google ReCaptcha
websiteKey String Yes Recaptcha website key.
proxyType String Yes Type of the proxy
proxyAddress String Yes Proxy IP address IPv4/IPv6. Not allowed to use:
proxyPort Integer Yes Proxy port

Request example:

Address https://capkill.com/api/createTask

JSON with no errors
{
    "clientKey":"dce6bcbb1a728ea8d871de6d169a2057",
    "task":
    {
        "type":"NoCaptchaTask",
        "websiteURL":"https://www.google.com/recaptcha/api2/demo",
        "websiteKey":"6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"
        "proxyType":"http",
        "proxyAddress":"8.8.8.8",
        "proxyPort":8080,
        "proxyLogin":"proxyLoginHere",
        "proxyPassword":"proxyPasswordHere",
        "userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.132 Safari/537.36"
    }
}

Response example:

JSON with no errors
{
    "errorId":0,
    "taskId":53456
}

Get Result:

Use the getTaskResult method to get the captcha solution. Depending on the system load, you will receive an answer within an interval from 300ms to 6s

Property Type Description
text String Captcha answer

Example:

JSON with no errors
{
    "errorId":0,
    "status":"ready",
    "solution":
    {
        "text":"answer"
    }
}