Anti-bot protection

How to bypass DataDome bot protection when scraping public pages

DataDome is common on classifieds, property portals, retail and travel sites. It is strict: it judges every request in real time, and a scraper that looks fine on Cloudflare sites is often blocked here on the very first request with a 403 and a slider CAPTCHA from captcha-delivery.com.

This guide covers how DataDome decides, the one mistake almost every scraper makes against it, and what reliably reads public DataDome-protected pages.

Developer guide 11 min read

How to tell a site uses DataDome

DataDome identifies itself in its cookie, its headers and the host its challenge comes from.

SignalWhereWhat it means
datadomeCookieThe visitor ID DataDome scores. Present on every page of a protected site.
x-datadome / x-dd-bResponse headersDataDome's edge module answered or inspected this response.
captcha-delivery.comiframe / redirectThe block page. A real wall loads its challenge from here.
rt: 'i'Inline script on a 403The device-check interstitial: runs in the browser, then reloads if passed.
rt: 'c'Inline script on a 403The CAPTCHA (slider). The visitor is already suspected.
tags.js / js.datadome.coScript tagDataDome's client-side collector. Loaded on ordinary pages too, so not a block by itself.

The trap to avoid in your own detection: DataDome's tag script is on every page of a protected site, including pages that loaded fine. Only treat a response as blocked when the wall itself is there:

def is_datadome_block(status: int, html: str) -> bool:
    head = html[:20_000]
    # The block page names captcha-delivery.com; a normal page only loads the tag.
    return status in (401, 403) and "captcha-delivery.com" in head

How DataDome decides you are a bot

DataDome scores every request on the server side and in the browser, with models trained across all its customers. It reacts fast: an IP or fingerprint caught on one site is suspect on others within minutes.

The first request matters

DataDome has no cookie for a new visitor yet, so it scores the request with what it has: IP, TLS fingerprint, headers and the URL. A first request that lands directly on a deep page with no referrer and no prior cookie is unusual for a real person, and is scored accordingly.

TLS, HTTP/2 and header consistency

As with Cloudflare, the handshake must match the claimed browser. DataDome is also strict about header order and about headers a real browser always sends.

Device check in the browser

When the server-side score is uncertain, DataDome answers with an interstitial that runs fingerprinting JavaScript (canvas, WebGL, fonts, automation traces) and reloads into the page if the result is good.

Slider CAPTCHA

When the score is bad, the visitor gets a CAPTCHA. Solving it does not repair a bad fingerprint; the next request from the same setup is likely to be challenged again.

IP reputation, shared across customers

Datacenter IPs are blocked outright on many DataDome sites. Residential IPs are fine until they are burned by bot traffic, and the burn spreads across DataDome's network.

What people try, and why it breaks

requests / axios with copied headers

Breaks quickly

Blocked on the first request on most DataDome sites: the TLS fingerprint and the missing cookie give it away.

Datacenter proxies

Breaks quickly

Many DataDome customers block hosting ranges entirely. Rotating them faster only burns more of them.

Puppeteer / Playwright with stealth plugins

Helps, not enough

Passes some device checks, but DataDome specifically looks for the traces that injected stealth scripts leave, and updates for new ones quickly.

CAPTCHA-solving services

Helps, not enough

Gets one page through at a cost per solve, then the same setup is challenged again. It treats the symptom: the score that caused the CAPTCHA stays bad.

Rotating to a fresh IP on every retry

Helps, not enough

Necessary, but if each retry repeats the same cold deep-link request, each fresh IP earns the same block.

What actually gets through

Against DataDome the fingerprint and IP are table stakes. What separates working from failing is arriving the way a visitor does.

  1. 1

    Prime the session on the homepage first

    On a fresh session, load the site's homepage, let its scripts set their cookies, then go to the deep URL. We measured this on a large European property portal, fresh residential exit per attempt and everything else identical: going straight to a listing URL was blocked 3 out of 3 times; loading the homepage first was blocked 0 out of 3 and returned the full page.

  2. 2

    Use a real browser engine with patched automation traces

    Patch the engine itself rather than injecting stealth scripts at runtime. DataDome looks for the injection.

  3. 3

    Give the device check time to finish

    The interstitial is a script that reloads into the page when it passes. A tool that treats the 403 as final after one second fails attempts that would have succeeded two seconds later.

  4. 4

    Residential exits, rested after a block

    Do not hammer a blocked exit on the same site. Rest it and move on; DataDome's memory is long.

  5. 5

    Detect the wall, not the vendor

    Look for captcha-delivery.com in a short blocking response, not the word "datadome" anywhere in the HTML, or you will throw away good pages.

Getting past DataDome with UnblockingAPI

Send the URL you want. You do not pick a proxy type, a browser or a "premium" mode: the API tries a fast plain fetch with a real Chrome TLS and HTTP/2 fingerprint first, and switches to a real browser on a residential exit when the answer is a block, a challenge or an empty shell. A request that fails is not charged.

curl -G "https://api.unblockingapi.com/unblock" \
  -H "X-Api-Key: $UNBLOCKINGAPI_KEY" \
  --data-urlencode "url=https://www.example.com/listing/123456" \
  --max-time 180
import os, requests

r = requests.get(
    "https://api.unblockingapi.com/unblock",
    params={"url": "https://www.example.com/listing/123456"},
    headers={"X-Api-Key": os.environ["UNBLOCKINGAPI_KEY"]},
    timeout=180,
)
result = r.json()

if result["status"] == "succeeded":
    print(result["http_response_code"], result["render_reason"])
    html = result["response"]   # the page itself, not the challenge
else:
    print("failed, not charged:", result.get("error"))

render_reason in the response says how the page was fetched: plain, fallback:challenge (the plain fetch hit a wall, so a browser took over), replay (a plain fetch carrying the session a browser earned earlier) and so on. What a site needs is learned per site, so the second request to a DataDome site goes straight to whatever worked.

What happens for DataDome specifically

  • —Every browser session visits the site's homepage before the URL you asked for, once per session, and lets the site set its cookies. This is the single change that matters most against DataDome.
  • —DataDome's device check is recognised (rt:'i') and given time to reload into the page before a 403 is believed. Its CAPTCHA (rt:'c') is not waited on: that exit is retired for the site and the request retries elsewhere.
  • —Pages that merely load DataDome's tag are treated as pages. A request is only failed when the wall itself came back.
  • —An exit challenged on a site rests from that site for 30 minutes, and retries in the same request go out on exits the request has not used.
  • —UnblockingAPI does not send CAPTCHAs to solving services. A visible, interactive check that has not passed within about eight seconds means that exit has been judged; the attempt is dropped and retried on a different exit, inside the same request.
Pages that fill in after load need a wait: wait_for with a CSS selector of the content, or scroll_steps for lists that grow as you scroll. See the API docs for every option.

When it still fails

No tool gets through every DataDome configuration every time, and anyone who promises 100% is guessing. The honest limits:

  • —Sites that put the slider CAPTCHA in front of every visitor from a country or for a specific path. Some requests will fail; they are not charged.
  • —Very high request rates against one site. DataDome reacts to volume across all your traffic; spread a large crawl over time.
  • —Anything behind a sign-in. If a page needs an account, it is not a public page and is out of scope, both technically and under the Acceptable Use Policy.
  • —If every attempt inside the request's budget is blocked, you get status: "failed" and the request costs nothing. You only pay for pages that came back.

Responsible use

This guide is about reading public pages that a person can open in a browser without signing in. It is not about getting into accounts, skipping paywalls or overloading a site. Keep request rates reasonable, respect the law where you and the site operate, and follow the Acceptable Use Policy.

Frequently asked questions

Because it scores requests before any JavaScript runs: IP reputation, TLS fingerprint, headers and the fact that a brand-new visitor is landing deep inside the site. A plain HTTP client on a datacenter IP fails all of these at once.

Rarely. The CAPTCHA appears because the score was already bad, and solving it does not change the fingerprint or IP that caused it. The next request is likely to be challenged again.

DataDome learns quickly and shares what it learns across its customers. An IP or fingerprint pattern that worked at low volume gets recognised as volume grows. Rotate residential exits, rest exits that were blocked and keep the per-site rate low.

A real block is a 401/403 whose HTML loads its challenge from captcha-delivery.com. The datadome cookie or a tags.js script on its own only means the site uses DataDome.

No. A request that ends blocked returns status "failed" and costs no credits.

Try a DataDome-protected URL.

Test the fetching layer before building your parser. Start with 500 free credits and no credit card. See pricing for credits from €5, with no subscription.

One successful request is one credit. No multipliers for rendering, proxies or retries.

Rasmus Kjellberg

Rasmus Kjellberg

Founder & Developer at UnblockingAPI

Last updated November 2026