Skip to main content
Are you experiencing issues obtaining the token?
Contact support

RecaptchaV3TaskProxyless

RecaptchaV3TaskProxyless
$0.9 / 1000 tokens
99%

The object contains data for Google ReCaptcha3 solving task. This task will be executed by our service using our own proxy servers.

ReCaptcha3, unlike ReCaptcha2, does not require any action from the site visitor, it works invisibly in the background of the page, collecting and analyzing data about the user to determine whether he is a human or a bot. Based on this analytics, the site receives a trust rating (from 0.1 to 0.9).

When creating a task, you should additionally pass two parameters - pageAction and minScore.

Request parameters

type<string>required

RecaptchaV3TaskProxyless


websiteURL<string>required

Address of a webpage with Google ReCaptcha.


websiteKey<string>required

Recaptcha website key.
https://www.google.com/recaptcha/api.js?render=THIS_ONE


minScore<double>optional

Value from 0.1 to 0.9


pageAction<string>optional

Widget action value. Website owner defines what user is doing on the page through this parameter. Default value: verify

Example:
grecaptcha.execute('site_key', {action:'login_test'}).

Create task method

POST
https://api.capmonster.cloud/createTask

Request

{
"clientKey":"API_KEY",
"task": {
"type":"RecaptchaV3TaskProxyless",
"websiteURL":"https://lessons.zennolab.com/captchas/recaptcha/v3.php?level=beta",
"websiteKey":"6Le0xVgUAAAAAIt20XEB4rVhYOODgTl00d8juDob",
"minScore": 0.3,
"pageAction": "myverify"
}
}

Response

{
"errorId":0,
"taskId":407533072
}

Get task result method

Use the getTaskResult to request answer for ReCaptcha3. You will get response within 10 - 30 sec period depending on service workload.

POST
https://api.capmonster.cloud/getTaskResult

Request

{
"clientKey":"API_KEY",
"taskId": 407533072
}

Response

{
"errorId":0,
"status":"ready",
"solution": {
"gRecaptchaResponse":"3AHJ_VuvYIBNBW5yyv0zRYJ75VkOKvhKj9_xGBJKnQimF72rfoq3Iy-DyGHMwLAo6a3"
}
}

PropertyTypeDescription
gRecaptchaResponseStringHash which should be inserted into Recaptcha3 submit form in <textarea id="g-recaptcha-response" ></textarea>. It has a length of 500 to 2190 bytes.

Use SDK Library

// https://github.com/ZennoLab/capmonstercloud-client-js

import { CapMonsterCloudClientFactory, ClientOptions, RecaptchaV3ProxylessRequest } from '@zennolab_com/capmonstercloud-client';

document.addEventListener('DOMContentLoaded', async () => {
const cmcClient = CapMonsterCloudClientFactory.Create(new ClientOptions({ clientKey: '<your capmonster.cloud API key>' }));
console.log(await cmcClient.getBalance());

const recaptchaV3Request = new RecaptchaV3ProxylessRequest({
websiteURL: 'https://lessons.zennolab.com/captchas/recaptcha/v2_simple.php?level=high',
websiteKey: '6Lcg7CMUAAAAANphynKgn9YAgA4tQ2KI_iqRyTwd',
minScore: 0.6,
pageAction: 'some-action',
});

console.log(await cmcClient.Solve(recaptchaV3Request));
});