DataDome solve
Clears a DataDome challenge on the site you name and returns the datadome cookie with the User-Agent it is bound to.
Scope datadome:solve
https://api.cyxkit.app /v1/datadome/solve- Your key
- Your key goes in the
X-API-Keyheader. Nothing else is read: anAuthorizationheader is ignored. - Key in the body
- A top-level
clientKeyfield in the body is refused with 400bad_request. The header is the only place a key goes. - Method
- Every route is a POST with
Content-Type: application/json. - Body limit
- A request body is at most 1 MiB.
- What is charged
- A failure is not charged. The price is held when the call starts and charged only when the answer proves a success; anything else is given back in full before the answer reaches you.
Rules of the call
- Your key
- Your key goes in the
X-API-Keyheader. Nothing else is read: anAuthorizationheader is ignored. - Key in the body
- A top-level
clientKeyfield in the body is refused with 400bad_request. The header is the only place a key goes. - Method
- Every route is a POST with
Content-Type: application/json. - Body limit
- A request body is at most 1 MiB.
- What is charged
- A failure is not charged. The price is held when the call starts and charged only when the answer proves a success; anything else is given back in full before the answer reaches you.
Request
Send these as JSON in the body. Required means a first call will not work without it, and a missing one comes back as the solver's own 400 naming the field.
| Field | Needed | What it is |
|---|---|---|
| site | Required | The target’s base URL, as a browser would load it: https://www.example.com. |
| key | Required | The DataDome JS key the page embeds, its ddjskey. |
| path | Required | The path and query that is challenged, and that the cookie is then scored against. |
| proxy | Optional | Your own proxy. Left out, the solve runs from cyxkit’s own address, which is not the one you will use the cookie from. |
| expect | Optional | A regular expression the protected content must carry. Without it the cookie is returned unchecked. |
| attempts | Optional | How many tries, each retry in a fresh session. 1 to 10, and 3 when you leave it out. |
| warmup | Optional | A path fetched once without cookies to mint a session before path. Defaults to path itself. |
| xhr | Optional | Ask for path as an API request rather than as a page load. |
| captchaUrl | Optional | Solve a challenge URL you already hold instead of provoking one. It must be a captcha-delivery.com address. |
| referer | Optional | Overrides the referer a captchaUrl solve is bound to. |
| page | Optional | The page a captchaUrl is re-asked on. Send "none" to turn that off. |
| tags | Optional | The site’s tags.js collector base, for a site that has one. |
curl -X POST 'https://api.cyxkit.app/v1/datadome/solve' \
-H "X-API-Key: $CYXKIT_KEY" \
-H 'Content-Type: application/json' \
-d '{"site": "https://www.example.com", "key": "DDJSKEY", "path": "/", "proxy": "http://USER:PASS@HOST:PORT"}'$CYXKIT_KEY, so the line you copy holds no secret. Set it first with export CYXKIT_KEY='PASTE_YOUR_KEY'.Response
One success and two refusals. Which refusal you get says who turned the call down.
{
"cookie": "datadome=...",
"userAgent": "Mozilla/5.0 ...",
"time": 8412,
"attempts": 1,
"challenged": true,
"status": 200,
"bytes": 51234,
"verified": true
}{
"error": "blocked",
"message": "...",
"time": 9120
}{
"error": "<code>",
"status": <int>
}On every answer
The headers to read off a response, and what is true of this route only.
| Header | What it carries |
|---|---|
| X-Cyxkit-Request-Id | On every answer. Quote it when you ask for help. |
| X-Charge-Micros | What this call cost, and 0 when it cost nothing. Money is micro-USD: 1 USD is 1,000,000. |
| X-Balance-Micros | Your available balance after the call, whenever cyxkit has a reading for it. |
| X-RateLimit-Limit | Your key’s per-minute limit. A key with no per-minute limit gets no X-RateLimit header at all. |
| X-RateLimit-Remaining | What is left of that limit. It comes back with the limit, for a key that has one. |
- cookie comes back already written as datadome=<value>, so it is ready to send as a Cookie header.
- Send the cookie under the userAgent it came back with. A datadome cookie is bound to its User-Agent and is refused under any other.
- verified is true only when the cookie was re-scored against path, and that needs expect. Leave expect out and the cookie comes back unchecked, with verified false and no status or bytes.
- challenged false means the site served the content with no gate at all: nothing was solved, and the cookie is only the warm-up session’s.
- A call is charged when a cookie and its User-Agent come back. An answer without them is a failure, and a failure is not charged.
- This solver caps a request body at 64 KiB, below the 1 MiB the rest of the API allows.
Get a key and top up
Sign in with Discord, add funds with crypto, then call /v1/tmpt or /v1/recaptcha/tmstd or /v1/akamai/sensor or /v1/akamai/sbsd or /v1/akamai/pixel or /v1/akamai/sec-cpt or /v1/tmpt/evaluate or /v1/kasada/mint. Nothing limits how fast you call. Ask about Unlimited once a plan works out cheaper per solve.