Skip to content
Pricing Failed solves are free. You only pay when it works. See prices

Docs

Everything you need to call the API.

Solvr is an API that gets your scrapers past Kasada, DataDome, Akamai and Cloudflare. This page shows every endpoint: what to send, what comes back, and what each error means. Use plain HTTP, or an SDK if you'd rather not.

Contents

Quickstart. Your first pass in three steps.

  1. 1

    Get a key

    Top up $5 and create a key. You only see it once, so keep it somewhere safe.

    Create an account →
  2. 2

    Install, or don't

    $ pip install solvr

    Or use Node, Go, Rust or Playwright. Or plain HTTP.

    Every SDK →
  3. 3

    Solve

    Send the page and your proxy. You get back the pass that lets you in. A failed solve costs nothing.

    Your first solve →

Authentication. One header on every request.

Send your key in the X-API-Key header, or as a standard bearer token. Keys start with solv_. You see a key once, when you create it. We only store a hash of it, so we can't recover a lost key: replace it instead.

Controls on a key

Each key can have two limits of its own. Both are off by default, and you set them on the keys page. So one key per client or per scraper keeps each one in its own lane. A daily budget: the key can't spend past it until midnight UTC. A failure limit: when that share of the key's solves in the last fifteen minutes has failed, across at least twenty of them, the key pauses itself and we email you. A refused request names the limit it hit in its own kind, so your client can tell a key over budget from an account out of money. Other keys on the account are never affected.

Auth failures

missing_key 401
No key on the request.
invalid_key 401
Unknown or revoked key.
insufficient_balance 402
Your balance ran out. Top up to get a new key.
key_budget_reached 402
The key has spent its daily budget. Resets at midnight UTC.
key_paused 403
The key paused itself on failures, or you paused it. Resume it on the keys page.

Your keys are revoked the moment your balance reaches zero. That can't be undone: top up, then create a new key.

X-API-Key: solv_live_9f2c…
Authorization: Bearer solv_live_9f2c…

How the API is shaped. One rule decides every endpoint.

It takes thirty seconds to read. Once you know it, you can guess what each endpoint does without reading its section.

  1. 1 POST /api/kasada/full-solve You send the page and your proxy.
  2. 2 fetch + solve We fetch and run Kasada's script through your proxy. Most of the wait is their network, not ours.
  3. 3 the pass, with its grade About five seconds later it comes back to you.
  4. 4 your request, pass attached Sent from the same proxy. The pass only works from that IP.
  5. Failed solves cost $0 · passes kept 72h

You drive the network, so it's sync

Most of the API works this way: the transformer, all three DataDome types, the Akamai payloads, and the per-request check. You load the page, we solve: you fetch the challenge in your own session, and send our answer from it. We only run the part you can't.

That's a few hundred milliseconds of our CPU and none of your proxy bandwidth, so the answer comes back in the first response. None of these take a proxy field (we make no request of our own to route), and there's no task id to come back for.

We drive the network, so it's async

The full solve works this way: /api/kasada/full-solve. We do the whole thing: fetch the challenge, run it and post the result, all through your proxy. That takes five to six seconds, and almost all of it is waiting on somebody else's network, not computing.

So you submit, then collect the result from the same path with the task id (GET /api/kasada/full-solve/{task_id}) or take a webhook. There's no synchronous version to call by mistake. Holding a connection open through a stranger's proxy lets one slow exit tie up a server worker. And because you collect by id, a dropped connection can't cost you a solve you paid for.

Endpoint Vendor Who fetches Shape Typical Price
/api/kasada/payload Kasada you sync 150-250ms $0.001
/api/kasada/cd Kasada nobody sync <1ms free
/api/datadome/solve · interstitial DataDome you sync ~350ms $0.001
/api/datadome/solve · slider DataDome you sync 2-4s $0.001
/api/datadome/solve · tags DataDome you sync ~200ms $0.001
/api/akamai/sensor Akamai you sync ~200ms $0.001
/api/akamai/sbsd Akamai you sync ~0.2s $0.001
/api/akamai/pixel Akamai you sync — $0.001
/api/akamai/telemetry/params Akamai nobody sync — free
/api/akamai/telemetry Akamai you sync — $0.001
/api/kasada/full-solve Kasada us submit + poll 5-6s $0.002

One rule covers all of them, and it's the one most likely to cost you a solve: every answer belongs to the session that will use it. A pass or cookie only works from the IP it was made for, works once, and lasts minutes. Send it from the same exit, on the same session, with the user agent the response gave you. Never cache one.

Kasada

Full solve. We do the whole thing, through your proxy.

POST /api/kasada/full-solve GET /api/kasada/full-solve/{task_id} $0.002 a solve · 5-6s · failures free

We do the whole thing. We fetch the challenge page and script through your proxy, run the protection script, post the result and hand you the finished pass (a token bundle). You don't build any of it.

Submitting returns a task id in about a millisecond. Poll for the result, or register a webhook and skip polling entirely. There is no synchronous version: see how the API is shaped for why. If you'd rather own the network and get an answer in one call, use the transformer.

POST /api/tasks and GET /api/tasks/{task_id} are the same submit and poll, but they take the vendor from a body field instead of the path. They're kept for existing integrations and work the same in every other way.

Body

target string required
The protected URL or a bare host, e.g. https://www.example.com/checkout or www.example.com. The solve runs against the host you passed, and the response's target tells you which. Max 2048 characters.
proxy string required
The proxy this solve runs through, e.g. http://user:pass@host:port. The pass is bound to the IP that earns it, so this has to be the exit you'll send it from: a solve on somebody else's address succeeds, then fails when you use it. Use a fresh session per solve. Never written to disk: only scheme, host and port are kept in debug records.
provider string optional
Which vendor's bot protection you're solving. Defaults to kasada.

Collecting it

You can poll as often as every 100ms. We support that on purpose: this endpoint reads one row, is never billed, and exists so you get a result the moment it lands. At 1,000 polls per second per key, that covers 100 tasks in flight at once, well past the highest concurrency tier. Polls are counted separately from submissions, so checking on work can never use up the allowance you need to submit more.

A task that's still queued or running returns 202 with status processing. Nothing is retried for you: a failure ends the task, including backpressure (we were too busy to start it). A failed task returns 200 with a typed kind, not an HTTP error. An unknown id returns 404 with kind not_found.

Solution fields

ct
The pass itself (the token). This is what you send to the protected site.
st
When the pass was made, in server time, as a unix timestamp.
cd
Client data that goes with the pass.
h / fc
Extra handshake values, there when the solve produces them.
r
Kasada's own score for the solve. Anything starting 1-B is a pass. It's there so you can compare it with your own accept rate.
version
The script version the pass was solved against.
user_agent
The user agent the pass was made with. Send the same one.
cookies
Cookies to set alongside the pass.

A pass only works from your IP, works once, and lasts minutes. We remove it from the solve record within 72h.

$ curl -X POST https://getsolvr.io/api/kasada/full-solve \
    -H "X-API-Key: solv_live_9f2c…" \
    -H "Idempotency-Key: order-8812" \
    -d '{"target":"https://www.example.com/",
         "proxy":"http://user:pass@host:port"}'

# then GET /api/kasada/full-solve/{task_id}, or take a webhook
from solvr import Client

with Client("solv_live_9f2c…") as client:
    # submits, then polls until it lands
    result = client.solve(
        target="https://www.example.com/",
        proxy="http://user:pass@host:port",
    )

print(result.solution.ct)
import { SolvrClient } from '@getsolvr/solvr';

const solvr = new SolvrClient({ apiKey: 'solv_live_9f2c…' });

// submits, then polls until it lands
const result = await solvr.solve({
  target: 'https://www.example.com/',
  proxy: 'http://user:pass@host:port',
});
client, err := solvr.New(os.Getenv("SOLVR_API_KEY"))

// submits, then polls until it lands
result, err := client.Solve(ctx, solvr.SolveRequest{
	Target: "https://www.example.com/",
	Proxy:  "http://user:pass@host:port",
})

fmt.Println(result.Solution.CT)
let client = Client::new("solv_live_9f2c…")?;

// submits, then polls until it lands
let result = client
    .solve(SolveRequest::new(
        "https://www.example.com/",
        "http://user:pass@host:port",
    ))
    .await?;
{
  "task_id": "3f6a1c02-7b19-4f5e-9a2d-0c8e1b4d5a77",
  "status":  "queued"
}
{
  "task_id": "3f6a…",
  "status":  "success",
  "solution": {
    "ct": "eyJ0IjoiZncifQ…",
    "r":  "1-B",
    "version": "j-1.2.779"
  },
  "latency_ms": 5240
}
{
  "task_id": "3f6a…",
  "status":  "failed",
  "kind":    "bad_fingerprint",
  "error":   "…"
}

Kasada

Payload transformer. You load the page, we solve.

POST /api/kasada/payload $0.001 a transform · 150-250ms · failures free

You load the page, we solve: the opposite split to the full solve. You make every network request, from your own proxy, TLS session and cookie jar. We do the one part you can't: run the protection script. You get back the exact request to POST, so the pass is made for your IP, not ours.

That matters because a pass only works from the IP it was made for. On the full solve you have to keep our session and yours lined up. Here there's only one session, and it's yours. A transform takes roughly 150-250ms and sends no proxy traffic through us. That's why it costs $0.001, against $0.002 for a full solve. It's the right endpoint if you already run a browser-grade HTTP stack, and the wrong one if you don't, because everything before and after the transform is yours to build.

Read this before integrating

This endpoint does not return the cd per-request check (Kasada's proof of work), and the protected site wants a fresh one on every request. Get each one as you go from /api/kasada/cd. It takes the ct and st from your collector response and gives you back the check. It's free and doesn't touch your balance.

Body

Three fields is a complete call: script_content, script_url and version. There is no proxy field: we make no network request, so there's nothing to route. The four optional fields keep the payload's idea of where it's running in line with the address you send it from. If your exits are all in one place, leave them out.

script_content string required
The protection script source, exactly as you fetched it. Around 0.5MB. Send it byte for byte: a re-encoded or cut-off script gives no pass and returns 400.
script_url string required
The absolute URL you fetched that script from, query string intact. The path and query carry session details, and the host decides how we solve it. A relative path copied from the page HTML is the most common cause of a 400 here.
version string required
The x-kpsdk-v value from the challenge page URL. An old version with a fresh script still works, because the version inside the script wins.
user_agent string optional
The user agent your replay requests will send. Accepted, but the payload is built as one particular browser, and the response tells you which.
ip string optional
The exit address you'll replay from. We set the payload's location from it and check it against tz, so the two agree. Never logged.
accept_language string optional
The first language of your Accept-Language header. Accepted, but the browser we pose as answers with its own, which comes back on the response.
tz string optional
IANA name, e.g. Europe/Lisbon, not an offset. The timezone the payload claims. Send the one your replay address is in. Default Europe/London.

Body limit 8MB, measured after decompression. This is the only endpoint here with a large body, so check your own client's limits too. Send Content-Encoding: gzip if your stack can: script source shrinks about five to one. deflate works too. Responses are compressed whenever you send Accept-Encoding.

What comes back, and what you do with it

Not an echo of what you sent. The payload is built as one particular browser, so the response tells you the user_agent, accept_language and timezone it was actually built with. Replay with those. If the payload claims one browser and your request headers claim another, it fails a check you never see.

1 you
GET the protected page through your proxy. Keep the challenge script URL and the x-kpsdk-v from it.
2 you
GET that script URL on the same session. Keep both the URL and the body.
3 us
POST them here. We run the script and return the collector request.
4 you
POST the base64-decoded payload to tl_url with the returned headers, as application/octet-stream, plus your normal XHR headers (origin, referer, sec-fetch-*), on that same session, sending the user_agent the response gave you. The response carries your pass.
5 you
GET /mfc with x-kpsdk-h: 01 and x-kpsdk-v for the remaining headers, then get a fresh cd (the per-request check) for each protected request.

Use one session throughout. The session that fetched the page and script must be the one that POSTs the payload and then calls the protected endpoint: same IP, same cookie jar, same TLS fingerprint. Change any of them and you're showing the pass from an address it wasn't made for.

Failures here

Fewer than a full solve's, because the network is yours: nothing here can fail on a burned proxy IP or a site that won't answer. Those failures still happen; you just see and handle them yourself.

bad_request 400
Your input. Usually an old or cut-off script, or a relative script_url. Fetch the page and script again and send the fresh pair. Sending the same body again can't succeed, so don't spend a retry loop on it.
unsupported_target 400
We couldn't use that address. Fix the target; don't retry.
insufficient_balance 402
Top up. You get a new key when you do.
busy 503
Our engine queue is full. Wait for Retry-After (about a second) and send it again. Never billed.

Billed $0.001 per delivered transform, only on delivery, same as a solve. Transforms and solves share one concurrency allowance. A slot is only held while the call runs, so at about 200ms a transform hands it back roughly 25x faster than a solve does. The same tier goes much further here.

$ curl -X POST https://getsolvr.io/api/kasada/payload \
    -H "X-API-Key: solv_live_9f2c…" \
    -H "Content-Type: application/json" \
    -d '{
      "script_content": "…the ips.js you fetched…",
      "script_url": "https://www.example.com/149e/2d20/ips.js?x-kpsdk-v=j-1.2.661",
      "version": "j-1.2.661"
    }'
result = client.payload(
    script_content=script,
    script_url=script_url,  # absolute, query intact
    version="j-1.2.661",
)

# POST this from your own session
result.transform.tl_url
const { transform } = await solvr.payload({
  scriptContent: script,
  scriptUrl, // absolute, query intact
  version: 'j-1.2.661',
});

// POST this from your own session
transform.tl_url;
result, err := client.Payload(ctx, solvr.PayloadRequest{
	ScriptContent: script,
	ScriptURL:     scriptURL, // absolute, query intact
	Version:       "j-1.2.661",
})

// POST this from your own session
body, err := result.Transform.DecodedPayload()
let result = client
    .payload(PayloadRequest::new(
        &script,
        &script_url, // absolute, query intact
        "j-1.2.661",
    ))
    .await?;
200 transformed
{
  "task_id": "9c1e4a7b-2f60-4d13-8ba5-7e0d2c9f1a34",
  "status": "success",
  "transform": {
    "target":  "www.example.com",
    "version": "j-1.2.661",
    "tl_url":  "https://www.example.com/149e/2d20/tl",
    "headers": {
      "x-kpsdk-ct": "…",
      "x-kpsdk-dt": "…",
      "x-kpsdk-im": "…",
      "x-kpsdk-v":  "j-1.2.661"
    },
    "payload": "<base64>",
    "user_agent": "Mozilla/5.0 …",
    "accept_language": "en",
    "timezone": "America/New_York"
  }
}

Kasada

Proof of work. The per-request check. Free, and meant for every request.

POST /api/kasada/cd $0.00 · under 1ms · never on your invoice

Makes a fresh x-kpsdk-cd per-request check (Kasada's proof of work) for a pass you already hold. Kasada wants a new one on every request to a protected endpoint. Reuse one and it goes stale and starts failing. So scraping ten thousand pages means ten thousand calls here.

That's exactly why it's free. Charging per check would put a price on doing this properly. It doesn't touch your balance and doesn't appear on your invoice.

Body

target string required
The protected URL or host, same as a solve.
ct string required
The newest x-kpsdk-ct (the pass) you hold, in full. Kasada changes it on nearly every response, so make each check from the latest one, not the one you started with.
st integer required
The x-kpsdk-st from that same response, in MILLISECONDS. A solve response gives st in seconds; this endpoint wants milliseconds. Sending seconds is the one mistake everybody makes exactly once.
fc string optional
The x-kpsdk-fc from the /mfc handshake, if you have it.

Send the cd object, JSON-encoded, as the x-kpsdk-cd header, next to your current x-kpsdk-ct (the pass). Every SDK has a helper for it.

One limitation

Checks follow a solve. A host we have never solved returns 400 here. Run one full solve against it first, and this endpoint works for it from then on.

Free doesn't mean no key: the call still needs one, and is rate limited per key at 200/s, roughly 2x the limit on submissions. That's because one check per protected request is how it's meant to be used.

$ curl -X POST https://getsolvr.io/api/kasada/cd \
    -H "X-API-Key: solv_live_9f2c…" \
    -H "Content-Type: application/json" \
    -d '{
      "target": "https://www.example.com/",
      "ct": "0KZ2Vr83HIoF0KYB2i3gZNiU39X6…",
      "st": 1786477464392
    }'
proof = client.cd(
    target="https://www.example.com/",
    ct=latest_ct,
    st=result.solution.st_millis,  # milliseconds
)

headers["x-kpsdk-cd"] = proof.header
import { cdHeader, stMillis } from '@getsolvr/solvr';

const proof = await solvr.cd({
  target: 'https://www.example.com/',
  ct: latestCt,
  st: stMillis(result.solution), // milliseconds
});

headers['x-kpsdk-cd'] = cdHeader(proof);
proof, err := client.CD(ctx, solvr.CDRequest{
	Target: "https://www.example.com/",
	CT:     latestCT,
	ST:     result.Solution.STMillis(), // milliseconds
})

header, err := proof.Header()
let proof = client
    .cd(CdRequest::new(
        "https://www.example.com/",
        &latest_ct,
        solution.st_millis(), // milliseconds
    ))
    .await?;

let header = proof.header()?;
200 free
{
  "status": "success",
  "target": "www.example.com",
  "cd": {
    "workTime": 1786477507766,
    "id":       "c0ce36a178fc32…",
    "answers":  [1, 7],
    "duration": 18.2,
    "d":        89,
    "st":       1786477464392,
    "rst":      1786477464481
  }
}

DataDome

All three challenges. One endpoint. The type field picks which.

POST /api/datadome/solve from $0.001 · 200ms to 4s · failures free

DataDome throws three different things at a scraper, and this one endpoint solves all three. You load whatever it showed you, send it here, and get back the exact request to replay from your own session. That's what makes the datadome cookie work from your IP, not ours.

One route, not three, because you don't know which challenge you'll get until you get it. DataDome picks, so the choice is a field, not a URL. There is no proxy field and no task to poll: see how the API is shaped.

The three types

interstitial

~350ms · $0.001

The "checking your device" page. It's the one you'll see most, so build it first.

You send
device_link + html + script
You replay
POST payload to post_url

slider

2-4s · $0.001

The slide-the-piece puzzle. We solve it at human speed, which is why it isn't instant.

You send
captcha_link + html + script (+ puzzle, piece)
You replay
GET check_url

tags

~200ms · $0.001

The background browser data the DataDome script sends. It isn't a challenge: it builds trust in your session before a challenge appears, so sending it means you see fewer of the two above.

You send
page_url + ddk (+ tags_js)
You replay
POST body to endpoint

Read this before integrating

html is raw; the images are base64. Sending base64 HTML is the most common 422 (validation error) here.

Check every page for a deferred script. DataDome now serves its challenge pages as a small shell that loads the challenge from <script defer src="…captcha-delivery.com/….js">, so treat every page as deferred. When you see the tag, fetch that URL on the same session and send its body as script, or its sha256 as script_hash once we've seen that body from you. Fetch it fresh each time: the filename is dated, and a cached copy won't solve.

Replay with the user agent we return, not your own. Every response includes user_agent, the browser the payload was built as, and the exact headers to send, including the six sec-ch-ua* client hints, on all three types. Claim a different browser and it fails a check you never see, which looks exactly like a solve that didn't work.

Body

type string required
One of interstitial, slider, tags. It decides which other fields you need.
device_link string required for interstitial
The device-check URL you were sent to, query string intact: it carries the session id and the referer we need. Must be on *.captcha-delivery.com.
captcha_link string required for slider
The captcha URL, query string intact. Must be on *.captcha-delivery.com.
html string required for interstitial, slider
The challenge page body exactly as you fetched it. RAW, not base64. A device-check page is around half a megabyte.
script string optional
The challenge script the page loads from <script defer src="…captcha-delivery.com/….js">. DataDome serves its challenge pages this way now, so in practice you always send it. Fetch that URL on the same session, with the page as Referer, and send the body RAW. Never cache it: the filename changes daily, and the solve must run the bytes that page served. A deferred page sent with neither script nor script_hash is a 400 that says so.
script_hash string optional
The script's sha256, 64 lowercase hex, in place of script once we've seen that exact body from you. You can't send both. If we no longer hold it you get script_required (422): send the body once as script, then the hash again.
puzzle string optional
Base64 of the background .jpg. Leave it out for the "simple" slider, where you drag all the way right with no notch to find.
piece string optional
Base64 of the .frag.png piece. Accepted, but we find the notch from the background.
tags_js string optional
The tags.js source as you fetched it. Optional: with it we run those exact bytes; without it we fetch the current script server-side from your tags_url, or from the site's own deployment. So send it when you have it fresh, and skip it when you don't.
page_url string required for tags
The page the script was running on.
ddk string required for tags
The site key from the page's DataDome config.
tags_type string optional
"ch" (default: the background browser data sent on page load) or "le" (the burst of behaviour data sent when the page is left, on pagehide). For "le", pass the datadome cookie you hold now as cid: that POST carries the rotated cookie.
cid string optional
Your current datadome cookie value, if the session has one.
version string optional
The tags.js version, e.g. 5.9.2. The page exposes it as window.dataDomeOptions.version.
endpoint / tags_url string optional
Overrides for sites that set their own. Must be on *.datadome.co, or the site's own (first-party) DataDome host under the page's own domain (e.g. datadome.example.com for a page on www.example.com). That's a different domain from the challenge links above, and you can't swap one for the other.
referrer string optional
The page's Referer header, if your session has one: the page you reached the tags script from.
user_agent string required
The user agent of the session you'll replay from. The solve runs as this browser: the browser we pose as, the replay headers and the sec-ch-* client hints all come from it.
ip string required
The exit address you'll replay from. We set the payload's location from it, timezone included, so the payload answers in the time zone your exit is in. Get it once per session (GET /api/ip). Never logged.
accept_language string required
The first language of your Accept-Language header. The payload answers in it. A default answer from an exit in another country doesn't add up, and is graded down.

2MB per field, measured after decompression. Send Content-Encoding: gzip if your stack can: a saved page shrinks about five to one. deflate works too.

What comes back

Three shapes, because each type is replayed differently. Each one has only the fields its own type needs, so there's nothing to check for null.

interstitial
Returns payload, post_url, headers and user_agent. headers is the full set to send, with the six sec-ch-ua client hints (sec-ch-ua, sec-ch-ua-mobile, sec-ch-ua-platform, sec-ch-ua-arch, sec-ch-ua-model, sec-ch-ua-full-version-list) built from the same browser as user_agent. POST payload to post_url with those headers, as application/x-www-form-urlencoded, on the session that fetched the page. Success answers {"view":"redirect","cookie":"datadome=…"}. If it answers "view":"captcha" instead, DataDome stepped up to the puzzle: fetch that captcha page and come back with type slider.
slider
Returns check_url, headers and user_agent: the same full header set, the six sec-ch-ua client hints included. GET check_url with those headers on the same session. The response carries the datadome cookie.
tags
Returns endpoint, content_type, body and headers. POST body to endpoint as content_type, with those headers (the six sec-ch-ua client hints), from the tagged page's session. Nothing comes back that you need: the point is the trust it builds.

Not our fault, and not yours either

A slider where you expected a device check
Which challenge DataDome shows sticks to the exit IP and reflects that IP's reputation, not your solve. Start a fresh sticky session and retry: the same rule as a burned proxy on Kasada.
A refused cookie on a strict site
On the strictest sites, your timing is graded too. Going from page load to form POST with no pause marks the session down, even with a perfect payload. Pause like a person would on form flows; on ordinary sites it doesn't matter.
It worked once and not again
Challenge pages work once. A page fetched for one attempt can't be sent again for another: fetch a fresh one each time.

Failures here

bad_request 400
Your input. An old challenge page, a link missing its query string, or a puzzle image that didn't decode. Fetch again and send the fresh set. Sending the same body again can't succeed.
insufficient_balance 402
Top up. You get a new key when you do.
validation 422
Validation failed before anything reached the engine. The response names the field.
script_required 422
You sent script_hash and we don't hold that script any more. Send the body once as script. Never billed.
upstream 502
The page ran but produced no solve request. Usually the challenge page no longer matches the session it came from. Fresh session, fresh challenge, retry.
busy 503
Our engine queue is full. Wait for Retry-After (about a second). Never billed.

Billing works the same as everywhere else on this API: you pay for a returned solve and nothing else. A 4xx, a 5xx and backpressure all cost nothing.

$ curl -X POST https://getsolvr.io/api/datadome/solve \
    -H "X-API-Key: solv_live_9f2c…" \
    -H "Content-Type: application/json" \
    -d '{
      "type": "interstitial",
      "device_link": "https://geo.captcha-delivery.com/interstitial/?initialCid=…",
      "html": "…the page you just fetched…",
      "user_agent": "Mozilla/5.0 … Chrome/152 …",
      "ip": "203.0.113.7",
      "accept_language": "en-US,en;q=0.9"
    }'
from solvr import Client, DataDomeType

client = Client("solv_live_9f2c…")

result = client.datadome(
    type=DataDomeType.INTERSTITIAL,
    device_link=device_link,
    html=page_html,
    user_agent=session_ua,
    ip=egress_ip,
    accept_language="en-US,en;q=0.9",
)
import { SolvrClient } from '@getsolvr/solvr';

const solvr = new SolvrClient({ apiKey: 'solv_live_9f2c…' });

const { solution } = await solvr.datadome({
  type: 'interstitial',
  deviceLink,
  html: pageHtml,
  userAgent: sessionUa,
  ip: egressIp,
  acceptLanguage: 'en-US,en;q=0.9',
});
client, err := solvr.New(os.Getenv("SOLVR_API_KEY"))

result, err := client.DataDome(ctx, solvr.DataDomeRequest{
	Type:           solvr.TypeInterstitial,
	DeviceLink:     deviceLink,
	HTML:           pageHTML,
	UserAgent:      sessionUA,
	IP:             egressIP,
	AcceptLanguage: "en-US,en;q=0.9",
})
let client = Client::new("solv_live_9f2c…")?;

let result = client
    .datadome(DataDomeRequest::interstitial(
        &device_link,
        &page_html,
        &session_ua,
        &egress_ip,
        "en-US,en;q=0.9",
    ))
    .await?;
200 solved
{
  "task_id": "9c1e4a7b-2f60-4d13-8ba5-7e0d2c9f1a34",
  "status": "success",
  "type":   "interstitial",
  "solution": {
    "payload":  "…url-encoded form body…",
    "post_url": "https://geo.captcha-delivery.com/interstitial/",
    "headers": {
      "sec-ch-ua": "\"Chromium\";v=\"152\", \"Not?A_Brand\";v=\"24\", \"Google Chrome\";v=\"152\"",
      "sec-ch-ua-mobile": "?0",
      "sec-ch-ua-platform": "\"macOS\"",
      "sec-ch-ua-arch": "\"arm\"",
      "sec-ch-ua-model": "\"\"",
      "sec-ch-ua-full-version-list": "\"Chromium\";v=\"152.0.7977.82\", \"Not?A_Brand\";v=\"24.0.0.0\", \"Google Chrome\";v=\"152.0.7977.82\""
    },
    "user_agent": "Mozilla/5.0 …"
  }
}

Akamai

Sensor payloads. The main browser check. You load the page, we solve.

POST /api/akamai/sensor $0.001 · ~200ms first solve, <10ms after · failures free

Every Akamai site posts sensor_data (the main browser check) to a scrambled path on a timer, and Akamai grades the session on what those posts say. You load the page, we solve: fetch the page and the script in your own session, send them here, and replay the posts we return. Your own jar moves forward, and it works from your IP, not ours. It's the same split as the Kasada transformer, and the reason this route has no proxy field.

Body

page_url string required
The page the script was running on. Must be an approved Akamai site.
script_url string required
The sensor script's own URL: the scrambled path, with no file extension, that the page named.
script string required
The script body, raw (not base64). It checks its own hash, so send it byte-exact as served, and fetch it in the same session you replay from: the body changes within minutes. First call for a build only. Once you hold a context, send that instead.
script_hash string optional
The script's sha256 (64 lowercase hex), in place of script on a first call for a build we already hold. Unknown to us: script_required, so resend once with script.
context string optional
The build handle from a previous response, sent instead of the ~600KB script on every call after the first. This is the required flow: send one of script, script_hash and context, and two together is a 422. If we no longer hold that build you get script_required (422): resend the script once and carry on from the new handle.
cookies string optional
The session's cookie header at solve time. The payload is tied to this jar, so in practice it isn't optional.
page_html string optional
The page HTML the script came from. The sensor's form-inventory fields are read from it. Recommended on form pages.
rounds integer optional
How many sensor posts to make, 1-8. Akamai expects a short series; the default is 3.
user_agent string optional
Which browser to pose as. Defaults to the latest stable Chrome on Windows.
language / ip_address string optional
Hints that keep the payload consistent: your session's locale as one tag (e.g. pt-PT, not a whole Accept-Language header) and the exit IP you'll replay from. The payload's timezone follows the IP.

4MB per field, measured after decompression. Send Content-Encoding: gzip if your stack can: the script shrinks about five to one.

What comes back

posts
The posts to make, in order: url and the body, as is. POST each as text/plain;charset=UTF-8, from the session the page and script came from.
context
The build handle. Hand it back as context on your next call and skip the script body.
native
Present and true when we've solved this build before. Missing on a build's first solve.
user_agent
The browser the payload claims. Replay with exactly this user agent.
cookies
The session's cookie jar after the run.

We compute all the rounds in one run, with stand-in answers between them, so later posts carry the starting jar. That holds up on every flow we have graded.

Failures here

bad_request 400
Your input. An old script, or a jar the poster no longer accepts (it checks freshness before it sends). Fresh session, fresh capture, retry.
unsupported_target 400
The page host isn't an approved Akamai site. Request it at /request-a-site.
validation 422
Validation failed before anything reached the engine. The response names the field.
script_required 422
The context or script_hash names a build we no longer hold. Resend once with script. Never billed.
upstream 502
The script ran but posted nothing. Usually the script and session no longer match. Fresh capture, retry.
busy 503
Our engine queue is full. Wait for Retry-After (about a second). Never billed.
curl
$ curl -X POST https://getsolvr.io/api/akamai/sensor \
    -H "X-API-Key: solv_live_9f2c…" \
    -H "Content-Type: application/json" \
    -d '{
      "page_url":   "https://www.britishairways.com/",
      "script_url": "https://www.britishairways.com/cL3qp…/GYAQyVBs",
      "script":     "(function(){…the verbatim sensor body…})",
      "cookies":    "bm_sz=…; _abck=…",
      "rounds":     3
    }'

# keep solution.context — every call after the first sends "context" instead of "script"
200 solved
{
  "task_id": "51af…",
  "status":  "success",
  "solution": {
    "posts": [
      { "url": "https://www.britishairways.com/cL3qp…/GYAQyVBs",
        "body": "{\"sensor_data\":\"3;0;1;…\"}" },
      { "url": "…same path…", "body": "{\"sensor_data\":\"3;0;1;…\"}" }
    ],
    "user_agent": "Mozilla/5.0 … Chrome/152.0.0.0 …",
    "cookies":    "bm_sz=…; _abck=…",
    "context":    "c5f2a1…64-hex build handle…"
  }
}

Akamai

SBSD payloads. The extra login check, on BA-class logins.

POST /api/akamai/sbsd $0.001 a post · ~0.2s · failures free

Some sites run a second Akamai check alongside the sensor: the extra login check, SBSD. Its script URL carries a ?v=<uuid> value, and it posts {"body":…} envelopes to the same path. It posts twice: the first post fires once the script's device checks finish, and the second follows user activity. Each call returns one post.

The first call sends the ~500KB script and returns the first post with a context handle. The next call sends that context instead of the script and returns the second post. You can't send both fields together, and a request with both is rejected. Both posts cost two calls, $0.002 in all. If a post is answered with a t challenge (a hard block), start a new chain: the script again, no context. If we no longer hold the build a handle names, you get script_required: start over with the script.

Replay the posts yourself, exactly as returned, from the session the page and script came from. Akamai answers 200 with an empty body when it accepts one. What you're working toward is the bm_lso cookie. It lands in your own session once your replay is believed.

Body

page_url string required
The page the script was running on. Must be an approved Akamai site.
script_url string required
The SBSD script's own URL, ?v=<uuid> query intact: the script reads its settings from it. A bm_sz script URL (no query) is a 422 here: that one belongs on /api/akamai/sensor.
script string required
The script body, raw (not base64), byte-exact as served, fetched fresh on the same session. First call of a chain only: it returns the first post. After a t hard block, start a new chain with it.
context string optional
The handle from the previous response. Send it instead of the script to get the next post, the one that follows user activity. You can't send it with script, and both in one request is a 422. If we no longer hold that build you get script_required (422): start over with the script.
cookies string optional
The session's cookie header at solve time (bm_so, bm_sz, _abck).
page_html string optional
The page HTML the script came from.
user_agent string optional
Which browser to pose as. Defaults to the latest stable Chrome on Windows.
language / ip_address string optional
Hints that keep the payload consistent: your session's locale as one tag (e.g. pt-PT, not a whole Accept-Language header) and the exit IP you'll replay from.

What comes back

posts
One body-envelope post: url and the body, as is. POST it as application/json, from the session the page and script came from.
context
The handle for the next post. Send it as context on your next call, without the script.
user_agent
The browser the payload claims. Replay with exactly this user agent.
cookies
The session's cookie jar after the run.

Failures here

bad_request 400
Your input. An old script, or a jar the poster no longer accepts. Fresh session, fresh capture, retry.
unsupported_target 400
The page host isn't an approved Akamai site. Request it at /request-a-site.
validation 422
Validation failed before anything reached the engine. That includes a script_url missing its ?v= query, or script and context sent together (you can only send one). The response names the field.
script_required 422
The context names a build we no longer hold. Start over with the script. Never billed.
upstream 502
The script ran but produced no post. Fresh capture, retry.
busy 503
Our engine queue is full. Wait for Retry-After (about a second). Never billed.
curl
$ curl -X POST https://getsolvr.io/api/akamai/sbsd \
    -H "X-API-Key: solv_live_9f2c…" \
    -H "Content-Type: application/json" \
    -d '{
      "page_url":   "https://www.britishairways.com/",
      "script_url": "https://www.britishairways.com/cL3qp…/Efl9cUhc7?v=89fee032-…",
      "script":     "(function bgydxYXcMm(){…the verbatim SBSD body…})",
      "cookies":    "bm_so=…; bm_sz=…; _abck=…"
    }'

# one post per call: this one returns the first post
# for the second, send solution.context as "context" instead of "script"
200 solved
{
  "task_id": "77c2…",
  "status":  "success",
  "solution": {
    "posts": [
      { "url":  "https://www.britishairways.com/cL3qp…/Efl9cUhc7",
        "body":  "{\"body\":\"…\"}" }
    ],
    "user_agent": "Mozilla/5.0 … Chrome/152.0.0.0 …",
    "cookies":    "bm_so=…; bm_sz=…; _abck=…",
    "context":    "537e…64-hex build handle…"
  }
}

Akamai

428 challenges. When Akamai answers with a checkpoint instead of a page.

POST /api/akamai/sensor $0.001 · ~200ms · failures free

A 428 Precondition Required with sec-cp-challenge: true in the body means your session has to clear a checkpoint before the original request goes through. The body's provider field names the kind: behavioral (a script that wants an answer), crypto (proof of work behind a wait the server enforces), or adaptive (both, in that order). Whatever the kind, success looks the same: the sec_cpt cookie gains ~3~.

The behavioral kind works today, through the sensor endpoint. The challenge page serves a script whose URL carries &t=<token>. Send that URL (query intact) and its body to /api/akamai/sensor and you get exactly one post back: the challenge answer. Post it once (a second answer looks like a replay and blocks the session again), with full fetch headers (origin, referer, sec-fetch-*). Then load the blocked URL again as a plain page load. Verified end to end on UPS's login checkpoint.

The crypto and adaptive kinds aren't on the route yet. The wait and the proof of work are simple, but we build against a live site, not a spec. If your site shows one, request it at /request-a-site and it jumps the queue.

Rules that matter

one answer
Exactly one challenge post per session. A second post blocks the session again.
same session
Challenge page, answer post and retry all use one proxy exit and one jar: bm_sz, _abck and sec_cpt stay together.
fetch headers
The answer post carries origin, referer and the sec-fetch-* set, not a bare POST.
~3~ or it failed
Check the sec_cpt cookie after the verify step. No ~3~ means the answer wasn't accepted: fresh session, start over.
the flow
1  GET the gated URL            -> 428, sec-cp-challenge: true
2  GET the challenge page      -> script URL ending &t=…
3  POST /api/akamai/sensor   -> one {"body":"…"} post
4  POST the answer to the &t= URL
    application/json, origin + referer + sec-fetch-*
5  GET the gated URL again      -> 200, sec_cpt has ~3~

Akamai

Pixel. The ak_bmsc pixel stage, for the sites that enforce it.

POST /api/akamai/pixel $0.001 · failures free

Some Akamai sites run a pixel stage before the sensor: a small script whose post earns the ak_bmsc cookie. Most sites don't check it; the ones that do (Iberia is one) refuse the session without it.

From the page, read the digits assigned to bazadebezolkohpepadr (that's html_var). From the pixel script, read the u value in its first array (that's script_var). Send both here, then POST the payload we return as application/x-www-form-urlencoded to https://<page host>/akam/13/pixel_<hash> from your own session.

Body

page_url string required
The page the pixel runs on. Must be an approved Akamai site.
html_var string required
The digits the page assigns to bazadebezolkohpepadr, its pixel seed.
script_var string required
The u value from the first array in the pixel script (32 hex).
user_agent string required
The user agent of the session you'll post the pixel from.
language string optional
Your session's locale as one tag, e.g. es-ES. Leave it out for our default, the same one every Akamai route uses.
ip_address string optional
The exit IP you'll post from.

What comes back

payload
The pixel's form body. POST it as application/x-www-form-urlencoded to https://<page host>/akam/13/pixel_<hash> (the path the page names), from your own session. Akamai answers with the ak_bmsc cookie.

Failures here

bad_request 400
The engine couldn't use a field. The message says which one, e.g. a language that isn't a locale.
unsupported_target 400
The page host isn't an approved Akamai site. Request it at /request-a-site.
validation 422
Validation failed before anything reached the engine. The response names the field.
busy 503
Our engine queue is full. Wait for Retry-After (about a second). Never billed.
curl
$ curl -X POST https://getsolvr.io/api/akamai/pixel \
    -H "X-API-Key: solv_live_9f2c…" \
    -H "Content-Type: application/json" \
    -d '{
      "page_url":   "https://www.iberia.com/",
      "html_var":   "5517237",
      "script_var": "0a46f1c2…32 hex…",
      "user_agent": "Mozilla/5.0 … Chrome/152.0.0.0 …",
      "language":   "es-ES"
    }'
200 minted
{
  "task_id": "5b0e…",
  "status":  "success",
  "solution": {
    "payload": "ap=true&bt=0&fonts=…&fh=…"
  }
}

Akamai

BM telemetry. For APIs guarded by a header instead of sensor posts.

POST /api/akamai/telemetry/params POST /api/akamai/telemetry params $0.00 · never billed · $0.001 a header · failures free

Some sites guard their API with an Akamai-BM-Telemetry header instead of sensor posts: each protected request carries one, built from the session's _abck and bm_sz cookies and a value the page fetches first.

Call /api/akamai/telemetry/params first. It's free and returns a path: GET it on the page's own origin from your session, and what it returns is j. Then call /api/akamai/telemetry with j and get the header. Attach it to one protected request and never reuse it: each request needs its own call. Send the returned context instead of the script after the first call.

Params body

page_url string required
The page the sensor script runs on. Must be an approved Akamai site.
script string required for one of three
The sensor script body, raw, byte-exact as served. First call for a build.
script_hash string required for one of three
The script's sha256 (64 lowercase hex), in place of script for a build we already hold.
context string required for one of three
The handle from a previous response.

Telemetry body

page_url / script_url string required
The page, and the sensor script's own URL. Must be an approved Akamai site.
script / script_hash / context string required
Exactly one, as on params. After the first call, send the context you got back.
cookies string required
The session's Cookie header. It must carry _abck and bm_sz: the header is built from them.
j string required
What the get_params path returned, exactly as fetched.
user_agent string required
The user agent of the session you'll send the header from. The persona follows it.
ip_address string required
The exit IP you'll send it from. The payload's timezone follows it.
language string optional
Your session's locale as one tag, e.g. pt-PT.

4MB per field, measured after decompression.

What comes back

path
params: the get_params path. GET it on the page's own origin, from your session, and keep what it returns: that's j.
header
telemetry: the complete Akamai-BM-Telemetry value. Attach it to one protected request, and never reuse it: call again for the next request.
headers
telemetry: the client hints to send with it, from the same browser as user_agent.
context
Both: the handle. Send it on your next call instead of the script.

Failures here

bad_request 400
The engine couldn't use a field. The message says which one.
unsupported_target 400
The page host isn't an approved Akamai site. Request it at /request-a-site.
validation 422
Validation failed before anything reached the engine, including cookies without _abck or bm_sz. The response names the field.
script_required 422
The context or script_hash names a build we no longer hold. Resend once with script. Never billed.
busy 503
Our engine queue is full. Wait for Retry-After (about a second). Never billed.
1  POST /api/akamai/telemetry/params  -> path, context (free)
2  GET path on the page's origin      -> j
3  POST /api/akamai/telemetry         -> header
4  send the protected request with
    Akamai-BM-Telemetry: <header>
5  next protected request            -> back to 3, with context
$ curl -X POST https://getsolvr.io/api/akamai/telemetry/params \
    -H "X-API-Key: solv_live_9f2c…" \
    -H "Content-Type: application/json" \
    -d '{
      "page_url": "https://www.example.com/",
      "script":   "…the sensor script, raw…"
    }'
$ curl -X POST https://getsolvr.io/api/akamai/telemetry \
    -H "X-API-Key: solv_live_9f2c…" \
    -H "Content-Type: application/json" \
    -d '{
      "page_url":   "https://www.example.com/",
      "script_url": "https://www.example.com/cL3qp…/x9GYAQ",
      "context":    "537e…from params…",
      "cookies":    "bm_sz=…; _abck=…",
      "user_agent": "Mozilla/5.0 … Chrome/152.0.0.0 …",
      "ip_address": "203.0.113.7",
      "j":          "…what get_params returned…"
    }'
{
  "status":   "success",
  "solution": {
    "path":    "/_bm/get_params?type=web-jsto&v=…",
    "context": "537e…64-hex build handle…"
  }
}
{
  "task_id": "a4d1…",
  "status":  "success",
  "solution": {
    "header":  "a=…&&&e=…&&&sensor_data=…&&&j=…",
    "context": "537e…",
    "headers": {
      "sec-ch-ua": "…",
      "sec-ch-ua-mobile": "?0",
      "sec-ch-ua-platform": "\"Windows\""
    }
  }
}

Cloudflare

Turnstile and challenges. One endpoint. The type field picks which.

POST /api/cf/solve $0.001 a solve · ~200ms token, under 1s clearance · failures free

Cloudflare puts two things in front of a scraper: the Turnstile widget on a form, and the challenge page in front of a whole site. One call answers either. type says which: turnstile returns the widget's token (the pass for that form), challenge returns the cf_clearance cookie. A token usually takes about 200ms and a clearance under a second, the fastest in the industry, because there's no browser: the checks are fully reversed and answered directly. The answer comes back on the same request, so there's no task to poll.

A token belongs to the session, not the page. The site key and the URL are enough. You don't send the page's HTML, which is also why single-page apps work. Send the token with the form the widget guards. It's short-lived, about 300 seconds depending on the site key, so use it straight away. Most sites accept it from any address. A few check the address that solved it: for those, send proxy and submit from the same exit.

A clearance belongs to one address and one user agent. Replay cf_clearance with the user_agent the answer gives you, from the proxy the solve ran through, or Cloudflare refuses it. Any user_agent you send is accepted and ignored: the solve uses one fixed user agent, and the one that comes back is the one that counts.

The request and the answer have the same shape other Cloudflare solvers use, so a client written for one of them only needs a new host and key. A page that doesn't challenge us answers cf_not_challenged and costs nothing.

Body

type string required
turnstile for a Turnstile widget's token (the pass for its form), challenge for the cf_clearance cookie of a page behind a Cloudflare challenge.
url string required
The absolute URL of the page the widget or the challenge is on.
site_key string required for turnstile
The widget's data-sitekey (it starts 0x). Required for turnstile, ignored for challenge.
proxy string optional
The proxy to solve through, e.g. http://user:pass@host:port. Optional for both types. Send it when you'll replay from that exit: a clearance always needs the same exit, a token only on sites that check the solving address.
user_agent string optional
Accepted, so a client written for another solver works unchanged, but ignored: the solve uses one fixed user agent, and for a challenge the answer tells you which.

What comes back

turnstile
token and solve_time_ms. Send the token with the form the widget guards. It's short-lived, about 300 seconds depending on the site key, so use it straight away.
challenge
cf_clearance, cookies (every cookie the page set, cf_clearance among them), user_agent and solve_time_ms. The clearance only works from the address and with the user agent it was earned with: replay it from the same proxy, with the user_agent returned here, or Cloudflare refuses it.
both
success and task_id. A failure answers success false with error and kind.

Failures here

cf_not_challenged 400
type challenge on a page that didn't challenge us. There's no clearance to earn, usually because the solving address is clean enough not to be challenged. Not billed.
cf_config 400
Your input: a url that isn't the widget's page, or a site_key that isn't the widget's. Fix it; the same body can't succeed.
bad_proxy 400
The proxy string is malformed, or a kind we can't use. Fix it and send again.
validation 422
Validation failed before anything ran. The response names the field.
cf_rejected 502
Cloudflare didn't accept this solve. Send it again: each solve is a fresh attempt.
cf_challenged 502
You asked for a token, and the page showed a challenge page. Clear it with type challenge first, then ask for the token from the same proxy.
cf_blocked 502
The site refused the request before any challenge. The solving address is blocked there: send a different proxy.
cf_network 502
The page could not be reached. Check the proxy and retry.
cf_unsupported 502
A challenge version we don't solve yet, after Cloudflare changed it. That's on our side; it normally clears within days.
upstream_timeout 504
The solve ran past its deadline, nearly always on a slow proxy. Retry with a fresh one.
$ curl -X POST https://getsolvr.io/api/cf/solve \
    -H "X-API-Key: solv_live_9f2c…" \
    -H "Content-Type: application/json" \
    -d '{
      "type": "turnstile",
      "site_key": "0x4AAAAAAAyMWVrdZgBMnpP",
      "url": "https://www.example.com/login"
    }'
$ curl -X POST https://getsolvr.io/api/cf/solve \
    -H "X-API-Key: solv_live_9f2c…" \
    -H "Content-Type: application/json" \
    -d '{
      "type": "challenge",
      "url": "https://www.example.com/",
      "proxy": "http://user:pass@host:port"
    }'
{
  "success": true,
  "task_id": "9c1e4a7b-2f60-4d13-8ba5-7e0d2c9f1a34",
  "token": "1.cIsju04d6_adz1jcQ…",
  "solve_time_ms": 204
}
{
  "success": true,
  "task_id": "9c1e4a7b-2f60-4d13-8ba5-7e0d2c9f1a34",
  "cf_clearance": "CoEMG3JGwfX2BOV6Nd3f0WQM…",
  "cookies": [
    { "name": "cf_clearance", "value": "…", "domain": ".example.com", "path": "/" },
    { "name": "__cf_bm", "value": "…", "domain": ".example.com", "path": "/" }
  ],
  "user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 18_7 like Mac OS X) … Safari/604.1",
  "solve_time_ms": 870
}
{
  "success": false,
  "error": "The page answered without a challenge page", so there is no clearance to earn. …,
  "kind": "cf_not_challenged",
  "task_id": "9c1e4a7b-2f60-4d13-8ba5-7e0d2c9f1a34"
}

Balance, IP and Chrome versions. Three free calls, never billed.

GET /api/balance GET /api/ip GET /api/chrome-versions

/api/balance returns your current balance and the live price for each provider, including any promotion you qualify for.

Money is counted in whole micro-dollars: 1 USD = 1,000,000 micros, and a solve is 2,000 of them. balance_micros is the exact figure; balance is the same amount, formatted. When a promotion applies, each provider also has a promotion object with name, discount_percent and ends_at.

/api/ip returns the address your request reached us from. Call it through the proxy you're about to replay from, and you have the exact value to send as ip on the transformer and DataDome endpoints. Without a proxy, it's your own machine's address. The call is free and leaves no solve record. Like every call made with your key, it adds the address it came from to the list of addresses your account's API calls have come from, which we keep for 90 days to investigate abuse. The privacy policy has the detail.

/api/chrome-versions is the Chrome release feed: what Google serves on stable and beta right now, plus the exact sec-ch-ua value (GREASE brand, version and list order) that a branded Chrome of each major version sends. Use it to keep the browser your transform integration claims up to date. Copy the sec-ch-ua as it is. Only move the Chrome major version you claim once your own TLS fingerprint can match it: the claims inside the payload and the connection are checked against each other. Refreshed every 30 minutes. If the feed is degraded, the answer comes back flagged stale, never as an error.

$ curl https://getsolvr.io/api/balance \
    -H "X-API-Key: solv_live_9f2c…"

{
  "balance":        "42.5000",
  "balance_micros": 42500000,
  "currency":       "USD",
  "providers": {
    "kasada": {
      "price_per_solve":      "0.002000",
      "base_price_per_solve": "0.002000",
      "solves_remaining":     21250,
      "free":                 false
    }
  }
}
$ curl -x http://user:pass@host:port https://getsolvr.io/api/ip \
    -H "X-API-Key: solv_live_9f2c…"

{ "ip": "203.0.113.7", "family": "ipv4" }
$ curl https://getsolvr.io/api/chrome-versions \
    -H "X-API-Key: solv_live_9f2c…"

{
  "stable_version":    "156.0.8078.12",
  "beta_version":      "156.0.8078.12",
  "stable_sec_ch_ua":  "\"Not:A-Brand\";v=\"8\", \"Chromium\";v=\"156\", \"Google Chrome\";v=\"156\"",
  "beta_sec_ch_ua":    "\"Not:A-Brand\";v=\"8\", \"Chromium\";v=\"156\", \"Google Chrome\";v=\"156\""
}

Errors. Every failure names its cause, and none are billed.

Every failure has a machine-readable kind next to a plain message. Branch on the kind instead of parsing the text.

bad_request don't retry
The request was invalid. Check the target and proxy fields.
unsupported_target don't retry
We have not seen this host before, so it is not supported yet. Request it at https://getsolvr.io/request-a-site. New targets are processed within 1 day.
unauthorized don't retry
The solver is misconfigured on our side. This has been reported; please retry shortly or contact support.
busy retry
The solver is at capacity. Retry shortly. Backpressure: the solve did not run and nothing is billed. Wait a second or two, or for Retry-After when it is sent, and send the request again.
bad_fingerprint retry
The session was graded as a bad fingerprint (burned IP). Retry with a fresh proxy session.
rejected retry
The target refused the solve. If this keeps happening on this host, tell us.
upstream retry
The target site was unreachable, or the proxy failed. Check your proxy and retry with a fresh session.
upstream_timeout retry
The solve exceeded the deadline. This is almost always a dead or slow proxy. Retry with a fresh proxy session.
bad_proxy don't retry
Your proxy could not be used. It refused the connection, could not be resolved, or rejected the credentials in the proxy string. Check the proxy and retry with a working one — this was not retried for you, because a retry would use the same proxy.
version_extraction don't retry
The solver could not read this target's current protection script. This is a fault on our side and has been reported; it needs a fix here rather than a change to your request.
dead_session don't retry
The session was hard-flagged by the protection. Discard it and retry on a fresh proxy session.
transport retry
The solver is temporarily unreachable. Retry shortly.
abandoned don't retry
The request was interrupted on our side before the solve completed. You were not charged — retry the request, and if it repeats, tell us.
cf_not_challenged don't retry
The page answered without a challenge page, so there is no clearance to earn. That usually means the address the solve ran from is clean enough not to be challenged. You were not charged.
cf_config don't retry
The request was rejected. Check that url is the page the widget is on and site_key is the widget's own key (it starts 0x).
cf_network retry
The page could not be reached, or the connection dropped part-way. Check the proxy if you sent one, and retry.
cf_rejected retry
Cloudflare did not accept this solve. Retry: each solve is a fresh attempt. If it keeps happening on this site, send a residential proxy.
cf_challenged don't retry
The page served a challenge page instead of the widget. Clear it first with type "challenge", then ask for the token from the same proxy.
cf_blocked don't retry
The site refused the request outright, before any challenge. The address the solve ran from is blocked there: send a different proxy.
cf_unsupported don't retry
Cloudflare is serving a challenge build we do not solve yet. This is on our side and has been reported; it normally clears within days of a rotation.
script_required don't retry
We don't hold that script build any more. Resend this call once with script, then chain from the new context.

HTTP status on the synchronous routes

A task you collect reports its failure as 200 with a failed status: the poll worked, the solve didn't. The synchronous routes have nothing to poll, so they turn the kind straight into the status code.

400
bad_request, unsupported_target
402
insufficient_balance, key_budget_reached
403
key_paused: the key paused itself, or you paused it
422
validation: a field failed its check, and the response names it. script_required: we no longer hold the script build you named, so resend the script once.
429
concurrency_limit_reached: you're at your tier's limit on solves at once
500
server_error: something broke on our side. Never billed. Safe to retry.
502
unauthorized, upstream, rejected, bad_fingerprint, transport
503
busy: we're too busy right now. Retry shortly.
504
upstream_timeout: almost always a slow or dead proxy

Webhooks. We tell you when it's done, so you never poll.

Add an https endpoint in your dashboard, and we POST signed JSON to it as things happen. Solve events only fire for async tasks, since a synchronous call already gave you the answer.

Events

task.completed
An async solve finished successfully.
task.failed
An async solve failed after its final retry.
balance.low
Balance reached your alert threshold.
balance.exhausted
Balance hit zero. Solving stops and keys are revoked.
key.revoked
An API key was revoked, for any reason.
payment.completed
A top-up was credited.

Verifying a delivery

The timestamp is part of the signed string, so nobody can capture a request and replay it later with a new timestamp. Compare signatures in constant time, and reject anything older than about five minutes.

Answer with a 2xx within 15 seconds. Anything else is retried at 10s, 1m, 5m, 30m and 2h. After 15 failures in a row, the endpoint is suspended until you turn it back on. Use Solvr-Delivery to spot duplicates: a retry reuses the same id.

Solvr-Event:     task.completed
Solvr-Delivery:  8c1d4e77-2a90-4b13-bf65-…
Solvr-Signature: t=1699999999,v1=<hex>
Content-Type:    application/json
import hmac, hashlib, time

t, v1 = parse(headers["Solvr-Signature"])
if abs(time.time() - int(t)) > 300:
    raise Reject("stale")

expected = hmac.new(
    secret.encode(),
    f"{t}.{raw_body}".encode(),
    hashlib.sha256,
).hexdigest()

if not hmac.compare_digest(expected, v1):
    raise Reject("bad signature")

SDKs. The same calls, in your language.

Each one wraps the endpoints on this page. The code panels above show every endpoint in each language. Or skip them all: each call is one HTTP request.

Python

$ pip install solvr

Node

$ npm i @getsolvr/solvr

Go

$ go get github.com/getsolvr/solvr-go

Rust

$ cargo add solvr

Playwright

$ npm i @getsolvr/playwright

MCP / AI agents. Your agent gets through and carries on.

We run a remote Model Context Protocol server. So an AI agent that hits Kasada's bot protection mid-task can solve it and carry on, instead of failing. It works with any MCP client: Claude Code, Claude Desktop, Cursor, Codex, Copilot.

You don't need a separate login: it uses the same API key, and the same concurrency, balance and revocation rules apply.

Tools

submit-task-tool
Queue a solve and return a task id immediately.
get-task-tool
Collect a queued solve, or see that it is still processing.
check-balance-tool
Prepaid balance and the live price of every kind of call. Free.

The server comes with instructions that tell the agent when to reach for a solve, that failures are free to retry, and that a pass only works from one IP and only once. So it usually does the right thing without being told.

There's also a plain-text summary of this page at /llms.txt, for agents that just want to read the docs.

$ claude mcp add --transport http getsolvr \
    https://getsolvr.io/mcp \
    --header "X-API-Key: solv_live_9f2c…"
{
  "mcpServers": {
    "getsolvr": {
      "type": "http",
      "url": "https://getsolvr.io/mcp",
      "headers": {
        "X-API-Key": "solv_live_9f2c…"
      }
    }
  }
}

Limits and billing. A limit on what runs at once. Failures are free.

Your limit is on concurrency (how many solves you have running at once), not on requests per minute. A solve takes seconds, so requests per minute is the wrong measure.

Evaluating

1at once

$0 spent, rolling 30 days

Starter

5at once

any spend, rolling 30 days

Growth

10at once

$50+, rolling 30 days

Scale

25at once

$250+, rolling 30 days

Pro

50at once

$1,000+, rolling 30 days

Your tier comes from what you've topped up over a rolling 30 days. Rolling means old spend drops off gradually, instead of everyone resetting at midnight on the 1st. Going over your limit returns 429 with kind concurrency_limit_reached, and the message tells you the exact spend that unlocks the next tier.

Only delivered work is billed

$0.002 is charged only once a pass has actually been returned. Failures, timeouts, rejected fingerprints and backpressure are never charged, and polling a task is free.

There is also a flood limit

Per key, per second, and separate for each kind of call: 100/s for submissions and 1,000/s for polling. It's per key, not per IP, so nothing you do from one address counts against anyone else behind it. And it's per second, so going over costs you a second, not the rest of a minute.

Get started

Ready to try it? $0.002 a solve, and failed solves are free.

No subscriptionCredit never expiresFailed solves are free