NoCaptchaTaskProxyless : solving Google recaptcha
The object contains data for Google ReCaptcha2 solving task. This task will be executed by our service using our own proxy servers.
Object structure
Parameter | Type | Required | Value |
type | String | Yes | NoCaptchaTaskProxyless |
websiteURL | String | Yes | Address of a webpage with Google ReCaptcha |
websiteKey | String | Yes | Recaptcha website key. |
recaptchaDataSValue | String | No | Some custom implementations may contain additional "data-s" parameter in ReCaptcha2 div, which is in fact a one-time token and must be grabbed every time you want to solve a ReCaptcha2. |
userAgent | String | No | Browser's User-Agent which is used in emulation. It is required that you use a signature of a modern browser, otherwise Google will ask you to "update your browser". |
cookies | String | No | Additional cookies which we must use during interaction with target page or Google. Format: cookiename1=cookievalue1; cookiename2=cookievalue2 |
Request example
Address https://api.capmonster.cloud/createTask
{
"clientKey":"dce6bcbb1a728ea8d871de6d169a2057",
"task":
{
"type":"NoCaptchaTaskProxyless",
"websiteURL":"https://lessons.zennolab.com/captchas/recaptcha/v2_simple.php?level=high",
"websiteKey":"6Lcg7CMUAAAAANphynKgn9YAgA4tQ2KI_iqRyTwd"
}
}
Response example
{
"errorId":0,
"taskId":407533072
}
Getting result
Use the method getTaskResult to request answer for ReCaptcha2. You will get response within 10 - 80 secs period depending on service workload.
Property | Type | Description |
gRecaptchaResponse | String | Hash which should be inserted into Recaptcha2 submit form in <textarea id="g-recaptcha-response" ..></textarea> . It has a length of 500 to 2190 bytes. |
Example:
{
"errorId":0,
"status":"ready",
"solution":
{
"gRecaptchaResponse":"3AHJ_VuvYIBNBW5yyv0zRYJ75VkOKvhKj9_xGBJKnQimF72rfoq3Iy-DyGHMwLAo6a3"
}
}