SCRAPPEY CAPTCHA DOCS

DataDome Slider / Interstitial: solving DataDome Slider / Interstitial

Command: datadomeBypass

TIP Create the task with createTask method and get the result with getTaskResult method.

DANGER DatadomeSliderTask requires your own HTTP proxy. userAgent is fixed server-side.

Already using Anti-Captcha/CapSolver style APIs? Switch provider URLs to https://captcha.scrappey.com and keep the same flow.

Pricing: 1 EUR / 1000 requests. Volume pricing gets cheaper the more you buy.

Create Task

Create a recognition task with the createTask method.

Task Object Structure

PropertiesTypeRequiredDescription
typeStringRequiredDatadomeSliderTask
captchaUrlStringRequiredURL of the page you want to scrape.
proxyStringRequiredHTTP proxy in format http://user:pass@host:port.
userAgentStringOptionalIgnored. DataDome uses Scrappey's default Firefox user-agent and returns it in solution.userAgent.

Example Request

POST https://captcha.scrappey.com/createTask
Host: captcha.scrappey.com
Content-Type: application/json

{
  "clientKey": "YOUR_SCRAPPEY_API_KEY",
  "task": {
    "type": "DatadomeSliderTask",
    "captchaUrl": "https://www.footlocker.com/",
    "proxy": "http://user:pass@host:port"
  }
}

Example Response

{
  "errorId": 0,
  "errorCode": "",
  "errorDescription": "",
  "status": "idle",
  "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"
}

Getting Results

Submit the returned taskId to get recognition results.

Example Request

POST https://captcha.scrappey.com/getTaskResult
Host: captcha.scrappey.com
Content-Type: application/json

{
  "clientKey": "YOUR_SCRAPPEY_API_KEY",
  "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006"
}

Example Response

{
  "errorId": 0,
  "taskId": "61138bb6-19fb-11ec-a9c8-0242ac110006",
  "status": "ready",
  "errorCode": null,
  "errorDescription": null,
  "solution": {
    "cookie": "datadome=yzj_BK...S0; Max-Age=31536000; Domain=; Path=/; Secure; SameSite=Lax",
    "type": "datadome",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 Firefox/147.0",
    "createTime": 1772024061000,
    "statusCode": 200,
    "currentUrl": "https://allegro.pl/ogloszenie/peugeot-2008-serwisowany-benzyna-panoramiczny-dach-1-2-benzyna-83km-18201570419"
  }
}

Use SDK Request (Node.js)

// npm install axios
import axios from "axios";

const baseURL = "https://captcha.scrappey.com";
const clientKey = process.env.SCRAPPEY_API_KEY;

const { data: created } = await axios.post(`${baseURL}/createTask`, {
  clientKey,
  task: {
  "type": "DatadomeSliderTask",
  "captchaUrl": "https://www.footlocker.com/",
  "proxy": "http://user:pass@host:port"
}
});

const taskId = created.taskId;

while (true) {
  await new Promise((r) => setTimeout(r, 1500));
  const { data: result } = await axios.post(`${baseURL}/getTaskResult`, {
    clientKey,
    taskId
  });

  if (result.status === "ready") {
    console.log("Cookie:", result.solution.cookie);
    break;
  }

  if (result.status === "failed") {
    throw new Error(`${result.errorCode}: ${result.errorDescription}`);
  }
}