📔
DataLabs
  • Introduction
    • 📄DataLabs Documentation
  • Captcha API
    • 📃Captcha Overview
    • 💲Get Balance [/getBalance]
    • 🤖Create Task [/createTask]
    • 🤝Get Task Result [/getTaskResult]
    • 📋Report Bad Solution [/reportIncorrectRecaptcha]
    • 🏠Using Proxies
    • 🍪Using Cookies
    • 🧩Parameters
    • 💲Captcha Pricing
  • Captcha Tasks
    • 🟢ReCaptcha V2 Tasks
      • 🤖ReCaptcha V2
      • 🤖Recaptcha V2 Proxyless
      • 🤖ReCaptcha V2 Enterprise
      • 🤖ReCaptcha V2 Enterprise Proxyless
    • 🟢ReCaptcha V3 Tasks
      • 🤖ReCaptcha V3
      • 🤖ReCaptcha V3 Proxyless
      • 🤖ReCaptcha V3 Enterprise
      • 🤖ReCaptcha V3 Enterprise Proxyless
    • 🟢GeeTest Tasks
      • 🤖GeeTest V3 Proxyless
      • 🤖GeeTest V4 Proxyless
    • 🟢Cloudflare Tasks
      • 🤖Cloudflare Turnstile & Challenge
    • 🟢AWS WAF Tasks
      • 🤖AWS WAF Captcha
      • 🤖AWS WAF Captcha Proxyless
    • 🟠Datadome Tasks
      • 🤖Datadome
    • 🔴Fun Captcha Tasks
      • 🤖Fun Captcha
      • 🤖Fun Captcha Proxyless
    • 🔴Incapsula/Imperva Tasks
      • 🤖Imperva / Incapsula
      • 🤖Imperva / Incapsula Proxyless
  • Tools API
    • 📃Tools Overview
    • 💲Tools Pricing
    • 📱Communication Tools
      • 📞Phone Lookup API
      • 📧Email Validator API
      • 🗑️Disposable Mail Check API
    • 🛜Network Tools
      • 🔎Subdomain Finder API
      • 🔥Firewall Detector API
      • 🖇️IP to Domains API
      • 🕵️Whois Checker API
      • 📍GeoIP Location API
      • ❌Website Status API
      • 📋Site Reputation API
      • 🖥️Get Website Headers
      • 📝Link Backup API
Powered by GitBook
On this page
  • Creating The Task
  • Task Parameter Table
  • Task Created Response
  • Retrieving the Solution
  • Successful Solution Response
  1. Captcha Tasks
  2. ReCaptcha V3 Tasks

ReCaptcha V3

Recaptcha V3 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": "DATALABS_API_KEY",
  "task": {
    "type": "RecaptchaV3Task",
    "websiteURL": "https://google.com/recaptcha/api2/demo",
    "websiteKey": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-",
    "pageAction": "submit_form", // Optional custom action value
    "minScore": "0.3", // Optional minimum validation score for stronger targets
    "isInvisible": true, 
    "proxyType": "http",
    "proxyAddress": "1.1.1.1",
    "proxyPort": "9999",
    "proxyLogin": "username",
    "proxyPassword": "password",
  },
  "callbackUrl": "https://example.com/callback"
}

Task Parameter Table

Parameters
Required
Description

type

true

RecaptchaV3Task

websiteURL

true

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

websiteKey

true

The websites static recaptcha sitekey. This can be found as the value of the attribute data-sitekey of the element with the class g-recaptcha.

recaptchaDataSValue

false

Certain custom implementations of Recaptcha may require an s-data value to solve. This can be found in the s-data attribute of the recaptcha div in the page source.

pageAction

false

Can be found as value of sa parameter in the anchor endpoint or found in recaptcha widget as the action value. Typically a static value.

minScore

false

Value from 0.1 to 0.9 which represents the score of the solution results. Higher score may yield better results on certain sites.

userAgent

false

Browser user-agent used in emulation. Must use modern browser user-agent to avoid google prompting to "Update your browser".

cookies

false

Cookies to be passed to the solver. Format: cookie1=value; cookie2=value2;

isInvisible (Bool)

false

If the captcha field is visible set to true, if the captcha field is NOT visible or has a hidden field for confirmation this value must be set to false

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
}
Parameters
Description

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": {
    "gRecaptchaResponse":"03AFcWeA6P_W0urJnFwK-f2psFTXp..."
  }
}
Parameters
Description

gRecaptchaResponse

The successfully solved solution token.

PreviousReCaptcha V3 TasksNextReCaptcha V3 Proxyless

Last updated 11 months ago

🟢
🤖