📔
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
  • Using Cookies
  • Cookie Parameters
  1. Captcha API

Using Cookies

In some cases, captchas additionally verify the cookie jar of the challenge solver. In this case, you can optionally add your own cookies to the solution process.

Cookies are only supported for captcha's that may require cookies.

Using Cookies

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

{
  "clientKey": "DATALABS_API_KEY",
  "task": {
    "type": "TASK_DATA",
    "websiteURL": "WEBSITE_URL",
    "websiteKey": "WEBSITE_KEY",
    "cookies": [
      {
        "name": "cookie_name_1",
        "value": "cookie_value_1"
      },
      {
        "name": "cookie_name_2",
        "value": "cookie_value_2"
      }
    ],
  }
}

Cookie Parameters

Parameters
Type
Description

cookies

array

Array of cookies to be sent.

cookies.name

string

The cookie name.

cookies.value

string

The cookie value.

PreviousUsing ProxiesNextParameters

Last updated 11 months ago

🍪