📔
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
  • Request Structure
  • Response Structure
  • Example Responses
  1. Captcha API

Create Task [/createTask]

The API endpoint for starting a solving task.

Full Rest API Endpoint: https://captcha.datalabs.net/createTask

Request Structure

Parameters
Required
Description

clientKey

true

Your accounts private API Key.

task

true

Contains all of the task info for the to-be-solved captcha.

callbackUrl

false

Optional callback url for solution results.

POST https://captcha.datalabs.net/createTask
Host: captcha.datalabs.net
Content-Type: application/json

{
  "clientKey": "DATALABS_API_KEY",
  "task": {
    "type": "RecaptchaV2TaskProxyless",
    "websiteURL": "https://google.com/recaptcha/api2/demo",
    "websiteKey": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-"
  },
  "callbackUrl": "https://example.com/callback"
}

Response Structure

Parameters
Description

errorId

0: Without error. 1: Error with request.

errorCode

Short code for error type.

taskId

Task ID, provided for synchronous tasks to be pushed to /getTaskResult

Example Responses

{
    "errorId": 1,
    "errorCode": "ERROR_NO_SUCH_METHOD",
    "errorDescription": "Invalid type"
}
{
    "errorId": 0,
    "taskId": "12341234-1234-1234-1234-123412341234"
}

PreviousGet Balance [/getBalance]NextGet Task Result [/getTaskResult]

Last updated 11 months ago

🤖