DataDome CAPTCHA

DataDome

Token-based method for automated solving of DataDome.

To solve the DataDome captcha, you must use a proxy.

Attention, you need to check the value of the parameter t in captchaUrl, the value of t must be equal to fe.
If t=bv, it means that your ip is banned by the captcha and you need to change the ip address.

Attention, you need to monitor the quality of the proxy used. If your proxy is blocked by the captcha DataDome, then when solving you will receive errors ERR_PROXY_CONNECTION_FAILED or ERROR_CAPTCHA_UNSOLVABLE, in which case you need to change the proxy server used.

Task type

  • DataDomeSliderTask - we use your proxies

DataDomeSliderTask task type specification

Property Type Required Description
type String Yes Task type: DataDomeSliderTask
websiteURL String Yes The full URL of target web page where the captcha is loaded.
captchaUrl String Yes The value of the src parameter for the iframe element containing the captcha on the page.
userAgent String Yes User-Agent of your browser will be used to load the captcha. Use only modern browser's User-Agents
proxyType String Yes Proxy type:
http
socks4
socks5
proxyAddress String Yes Proxy IP address or hostname
proxyPort Integer Yes Proxy port
proxyLogin String No Login for basic authentication on the proxy
proxyPassword String No Password for basic authentication on the proxy

Request example

Method: createTask
API endpoint: https://api.2captcha.com/createTask

DataDomeSliderTask

{
  "clientKey": "YOUR_API_KEY",
  "task": {
    "type": "DataDomeSliderTask",
    "websiteURL": "https://www.pokemoncenter.com/",
    "captchaUrl": "https://geo.captcha-delivery.com/captcha/?initialCid=AHrlqAAAAAMAlk-FmAyNOW8AUyTH_g%3D%3D&hash=5B45875B653A484CC79E57036CE9FC&cid=noJuZstmvINksqOxaXWQogbPBd01y3VaH3r-CZ4eqK4roZuelJMHVhO2rR0IySRieoAivkg74B4UpJ.xj.jVNB6-aLaW.Bwvik7__EncryD6COavwx8RmOqgZ7DK_3v&t=fe&referer=https%3A%2F%2Fwww.pokemoncenter.com%2F&s=9817&e=2b1d5a78107ded0dcdc8317aa879979ed5083a2b3a95b734dbe7871679e1403",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",
    "proxyType":"http",
    "proxyAddress":"1.2.3.4",
    "proxyPort": "8080",
    "proxyLogin":"user23",
    "proxyPassword":"p4$$w0rd"
  }
}

Response example

{
    "errorId": 0,
    "status": "ready",
    "solution": {
        "cookie": "datadome=4ZXwCBlyHx9ktZhSnycMF...; Path=/; Secure; SameSite=Lax"
    },
    "cost": "0.00299",
    "ip": "1.2.3.4",
    "createTime": 1695214711,
    "endTime": 1695214720,
    "solveCount": 1
}