Solve DataDome
capskip_solve_datadomeSolves a DataDome challenge (slider or device check) and returns the datadome cookie plus User-Agent to reuse from the same IP, so a blocked request returns the protected page's content.
Instructions
Pass a DataDome challenge — the block page (HTTP 403, sometimes 401) a DataDome-protected site returns instead of its content, with a slider (/captcha/) or a device check (/interstitial/) loaded from geo.captcha-delivery.com — and get the datadome cookie. Requires captcha_url and url. IMPORTANT: the cookie belongs to ONE IP address and ONE User-Agent. Repeat the request with the returned cookie as the Cookie header, the returned userAgent as the User-Agent, and from the same IP: through the proxy you passed, or — when the result carries proxy — through that proxy, which CapSkip picked from its own DataDome proxy list because you passed none. Any other address or User-Agent gets the block page again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full URL of the page that returned the DataDome block page. | |
| proxy | No | The proxy the requests carrying the cookie will go through. DataDome ties the cookie to the IP that earned it, so solve from the same address you will use it from. Leave it out when those requests leave from the machine running CapSkip. | |
| timeout | No | Seconds to wait before giving up. Maximum 600. | |
| userAgent | No | The User-Agent the cookie will be used with. It must be stock Chrome for Windows with the same major version as the browser CapSkip solves with; anything else is refused. Usually leave it out: CapSkip then uses its own browser's User-Agent and reports it, and you send that one. | |
| captcha_url | Yes | The address of the DataDome challenge iframe on geo.captcha-delivery.com: /captcha/ for a slider, /interstitial/ for a device check. Take the iframe's src from the block page when it has one. Otherwise build it from the block page's `var dd={...}` object: path 'interstitial' if dd.rt is 'i', else 'captcha'; query initialCid=dd.cid, hash=dd.hsh, cid=dd.cookie, t=dd.t (when present), referer=<the page URL>, s=dd.s, e=dd.e (when present), b=dd.b (when present), dm=cd, every value URL-encoded; host dd.host or geo.captcha-delivery.com. A dd object with 't':'bv' means the address is banned: change it and fetch the page again instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| proxy | No | ||
| cookie | Yes | ||
| captchaId | Yes | ||
| userAgent | No | ||
| solveSeconds | Yes |