DataDome captcha solver lanched. Added support for the DataDome bypass method in the API
2Captcha launched a DataDome captcha bypass service.
If you have encountered DataDome captcha and are looking for a way to bypass it, this tutorial is created especially for you.
Article describes the process of interaction with the API. The bypass service can be used to automatically solve DataDome captchas.
What is Datadome captcha
DataDome is a security company that specializes in bot protection for websites, mobile apps, and APIs. It uses artificial intelligence (AI) and machine learning algorithms to analyze traffic patterns and identify bot-like behavior.
DataDome is one of the most sophisticated and hardest to bypass anti-scraping protection systems.
Companies like Reddit use DataDome to try and prevent companies and developers from scraping data from their websites.
DataDome's technology is very sophisticated, however, with the right tool you can bypass it and reliably scrape the data you need.
A DataDome captcha challenge could look something like:
A CAPTCHA should never be your first line of defense. DataDome bot and online fraud management solution ensures your customers are unlikely to ever see a CAPTCHA.
However, for the rare occasion that a customer does get presented with a CAPTCHA, DataDome has created a custom solution.
They use machine learning algorithms and risk scores to analyze the request fingerprints and behavioral signals to detect and block bot attacks in real time.
DataDome is designed to detect and block even sophisticated bots that mimic human behavior. It provides real-time protection, making decisions in milliseconds to block harmful bots without slowing down the user experience for legitimate users.
CAPTCHA is one of the tools that DataDome uses to differentiate between human users and bots. DataDome captchas typically restrict access to services and information based on our social and cultural backgrounds, physical and cognitive abilities, the devices or networks we connect from, and other criteria.
When DataDome's system detects suspicious activity that might suggest a bot, it can trigger a CAPTCHA challenge. The user must then successfully complete the CAPTCHA to prove they are human and not a bot.
2Captcha - is a service for solving any captcha through API queries. Payment only for successfully solving queries.
In this blog, how to bypass DataDome.
DataDome captcha bypass
The ways to automate the DataDome bypass process:
- Using machine learning method;
- Alternative method using motivated workers who perform tasks on recognition services.
Solving DataDome captcha using the API is a great way to automate the bypassing process.
How to solve DataDome
The task of automating the captcha bypass is solved by specialized service.
The process of solving using an API is as follows:
- The customer passes a set of required parameters from the captcha placement page to the service, where it is solved by a worker;
- After that, the customer requests a set of parameters to be passed to the appropriate fields to solve the captcha on the target page.
This process is fast and reliable, and it can be used to solve any type of task, including DataDome captchas.
To use the API a user must register on 2Captcha. Once the profile is activated, the user can start using the API.
The following describes the process of interacting with the API and code samples in the most popular programming languages.
DataDome solver API
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
incaptchaUrl
, the value oft
must be equal tofe
.
Ift=bv
, it means that your ip is banned by the captcha and you need to change the ip address.
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
}
Error handles
If the recognition process is not finished yet, the server will return CAPCHA_NOT_READY
result.
If something goes wrong, the server will return an error code.
A list of all errors with a description is collected on the API page.
Price
The price for 1000 recognitions is $2.99.
References
Detailed information on bypassing captcha is published on the API page.
Additional information on working with the service for customers is available on the FAQ page.
Code examples for working with the service on the official page in GitHub.