Skip to content
EN

DataDome ​

POST /v1/solve/datadome

生成 interstitial 的 POST body(含 plv2 payload 和 plv3)。调用方再把 data.body POST 到 data.post_url。

最少只传 url:服务端打开首页、解析 var dd、拉 interstitial 页和脚本。把 interstitial HTML 直接塞进 payload.html 可跳过这两步。

payload ​

字段别名说明
htmlinterstitial 页 HTML。有则不再请求首页 / interstitial
dd首页里的 var dd={...} 对象。无 html 时若缺这个会从首页抠
post_urlpostUrl提交地址。缺省 https://{dd.host}/interstitial/
js_urljsUrlinterstitial 脚本。优先用 HTML 里 ct.captcha-delivery.com/interstitial.*.js

顶层 cookie 里的 datadome= 会当成 cid。空 Cookie 时从首页 Set-Cookie 取。

请求示例 ​

只传站点:

json
{
  "url": "https://www.neimanmarcus.com/",
  "timeout": 30000
}

调用方自己走过首页和 interstitial 时,可直接传入 HTML / dd:

json
{
  "url": "https://www.neimanmarcus.com/",
  "user_agent": "Mozilla/5.0 ... Chrome/153.0.0.0 ...",
  "timeout": 30000,
  "payload": {
    "html": "<!doctype html>...",
    "dd": { "cid": "...", "hsh": "...", "host": "geo.captcha-delivery.com", "s": 1, "e": "..." },
    "post_url": "https://geo.captcha-delivery.com/interstitial/"
  }
}

data ​

json
{
  "body": "payload=...&plv3=...",
  "payload": "...",
  "plv3": "...",
  "post_url": "https://geo.captcha-delivery.com/interstitial/",
  "cookie": "datadome=...",
  "url": "https://www.neimanmarcus.com/",
  "js_url": "https://ct.captcha-delivery.com/interstitial.1.2.3.js"
}
字段说明
body完整 application/x-www-form-urlencoded,直接当 POST body
payloadplv2
plv3可能为空字符串
post_url提交 URL
js_url实际跑的 interstitial 脚本,同版本会缓存

首页没有 var dd → SOLVE_FAILED / no var dd。
interstitial 里找不到脚本 → no interstitial js。