![datadome Interstitial solver](https://assets.capsolver.com/prod/images/post/2023-11-09/e99dfd1d-1a23-4000-930a-187f7e2b3b5b.png)
Solving DataDome Interstitial (5s Challenge)
An Overview of the DataDome Interstitial
Before diving into the solution process, it's important to familiarize yourself with the appearance of the DataDome Interstitial. Here's what it looks like:
Also the captcha url contains /interstitial/
Pre-Solution Essentials
Before attempting to solve the DataDome, there are a few requirements and key points to keep in mind:
Requirements:
- Capsolver Key
- Proxy
Important Points:
- Dynamic Query Parameters: The captcha URL query parameters must be dynamic. Static URLs won't work.
- Specific Query Parameters: The 't' parameter in the URL must be either 'it' (Interstitial page) or 'fe'(captcha). If it's 'bv', it indicates a ban.
- Matching TLS: Ensure that the TLS version matches the Chrome version used, along with the header and its order.
- Consistent Proxy Use: Use the same proxy for solving the captcha and interacting with the page.
Understanding these points is crucial for the successful resolution of DataDome Interstitial by Capsolver.
Documentation:
To get started, familiarize yourself with the Capsolver documentation: Capsolver Documentation.
The Method:
For this process, we will use the createTask
method, which is detailed in the picture below:
We will focus on the required parameters, using the DatadomeSliderTask for this example.
Step-by-Step Guide to Solve DataDome
☀️ Step 1: Submitting Information to Capsolver
Initiate the process by using the createTask
method to submit your information:
POST https://api.capsolver.com/createTask
{
"clientKey": "Your_API_KEY",
"task": {
"type": "DatadomeSliderTask",
"websiteURL": "https://antoinevastel.com/bots/datadome",
"captchaUrl": "https://geo.captcha-delivery.com/captcha/?initialCid=yourInitialCid&cid=yourCid&t=it&referer=https%3A%2F%2Fantoinevastel.com%2Fbots%2Fdatadome&s=YourSParam&e=youreParam",
"proxy": "yourproxy",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36"
}
}
🎯 Step 2: Retrieving the Results
Afterwards, continuously check the getTaskResult
API endpoint until the captcha is solved:
POST https://api.capsolver.com/getTaskResult
Host: api.capsolver.com
Content-Type: application/json
{
"clientKey":"YOUR_API_KEY",
"taskId": "TASKID_OF_CREATETASK"
}
Upon successful resolution, you will receive a response similar to this:
Verify the captcha token by submitting the datadome
cookie with the response value to the site. If the token is rejected, check for any missing or incorrect information, ensuring TLS, headers, and proxy usage are correct.
Conclusion
Solving the DataDome captcha might seem challenging, but with Capsolver, it becomes a streamlined process. By following the outlined steps, you can effectively resolve the DataDome Interstitial.
Happy Solving!
Capsolver Team 💜