📔
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. HCaptcha Tasks

HCaptcha Proxyless

HCaptcha Solver Task (Solved with our in-house 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": "HCaptchaTaskProxyless",
    "websiteURL": "https://accounts.hcaptcha.com/demo",
    "websiteKey": "a5f74b19-9e45-40e0-b45d-47ff91b7a6c2",
    "data":"custom_data" // Optional custom data
    },
  "callbackUrl": "https://example.com/callback"
}

Task Parameter Table

Parameters
Required
Description

type

true

HCaptchaTaskProxyless

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 in the page source, and is commonly formatted as a GUID.

data

false

Custom data sent with custom implementations of hCaptcha, and typically coincides with an invisible captcha.

userAgent

false

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

isInvisible

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

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": "P1_eyJ0eXAiOiJKV1Q...",
    "respKey": "E0_eyJ0eXAiOiJKV1QiLCJh...",
    "userAgent": "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
  }
}
Parameters
Description

gRecaptchaResponse

The successfully solved solution token.

respKey

The result of window.hcaptcha.getRespKey(), some websites use this for additional verification.

userAgent

User agent used for the solution

Last updated 11 months ago

🔴
🤖