On this page

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

PriceSelf-serve
$2.00per 1,000 successful solves
POSThttps://api.cyxkit.app/v1/datadome/solve
Your key
Your key goes in the X-API-Key header. Nothing else is read: an Authorization header is ignored.
Key in the body
A top-level clientKey field in the body is refused with 400 bad_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-Key header. Nothing else is read: an Authorization header is ignored.
Key in the body
A top-level clientKey field in the body is refused with 400 bad_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.

Request fields for POST /v1/datadome/solve
FieldNeededWhat it is
siteRequiredThe target’s base URL, as a browser would load it: https://www.example.com.
keyRequiredThe DataDome JS key the page embeds, its ddjskey.
pathRequiredThe path and query that is challenged, and that the cookie is then scored against.
proxyOptionalYour own proxy. Left out, the solve runs from cyxkit’s own address, which is not the one you will use the cookie from.
expectOptionalA regular expression the protected content must carry. Without it the cookie is returned unchecked.
attemptsOptionalHow many tries, each retry in a fresh session. 1 to 10, and 3 when you leave it out.
warmupOptionalA path fetched once without cookies to mint a session before path. Defaults to path itself.
xhrOptionalAsk for path as an API request rather than as a page load.
captchaUrlOptionalSolve a challenge URL you already hold instead of provoking one. It must be a captcha-delivery.com address.
refererOptionalOverrides the referer a captchaUrl solve is bound to.
pageOptionalThe page a captchaUrl is re-asked on. Send "none" to turn that off.
tagsOptionalThe site’s tags.js collector base, for a site that has one.
Example call
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"}'
It reads your key from $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.

Success
{
  "cookie": "datadome=...",
  "userAgent": "Mozilla/5.0 ...",
  "time": 8412,
  "attempts": 1,
  "challenged": true,
  "status": 200,
  "bytes": 51234,
  "verified": true
}
This is the only answer that is charged.
Refused by the solver
{
  "error": "blocked",
  "message": "...",
  "time": 9120
}
The solver refused the request as sent. Its own 400, 404 or 413 and its own body come back unchanged, and a failure is not charged.
Refused by cyxkit
{
  "error": "<code>",
  "status": <int>
}
cyxkit refused the call. A few codes add one field of their own, and there is no message or attempted field.

On every answer

The headers to read off a response, and what is true of this route only.

Headers on every answer
HeaderWhat it carries
X-Cyxkit-Request-IdOn every answer. Quote it when you ask for help.
X-Charge-MicrosWhat this call cost, and 0 when it cost nothing. Money is micro-USD: 1 USD is 1,000,000.
X-Balance-MicrosYour available balance after the call, whenever cyxkit has a reading for it.
X-RateLimit-LimitYour key’s per-minute limit. A key with no per-minute limit gets no X-RateLimit header at all.
X-RateLimit-RemainingWhat is left of that limit. It comes back with the limit, for a key that has one.
Only on this route
  • 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.