Akamai SBSD payload
The same Akamai sbsd challenge, solved the other way round: you make every request to the site, and we only build the answer. No proxy is sent to us and the site never sees our IP.
Type: akamai.sbsd.payload · Price: €0.0025 per successful solve · about 1 second, nearly all of it the upload.
Which one to use
akamai.sbsd | akamai.sbsd.payload | |
|---|---|---|
| Who requests the site | We do, through your proxy | You do, from your own session |
| You send | A URL and a proxy | The challenge script, page and cookies you downloaded |
| You get | Cookies, ready to use | A payload you post yourself |
| Price | €0.0025 | €0.0025 |
| Speed | 2 to 10 seconds | about 1 second |
Pick this one when you already run your own sessions and proxies, or when the proxy round trips are what makes akamai.sbsd slow for you.
The flow
- Load the protected page with a Chrome client. The challenged page contains a script tag whose address looks like
/path?v=<uuid>, with&t=…on a block page. - Download that script, with the same session and user agent.
- Send the script, the page, your cookies and your user agent to
POST /v1/solve. - Post the returned
payloadtopostUrlas{"body": payload}. Iffollowupis not null, post that next, the same way, to its ownpostUrl. - Request the page again. If the site lets you through, the cookies in your session are good.
// "http" is any client with a real Chrome TLS fingerprint and a cookie jar.
const UA = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36";
const page = await http.get(url, { headers: { "user-agent": UA } }); // 1. the challenged page
const m = page.text.match(/<script[^>]*src="(/[^"]*?v=([0-9a-f-]{36})[^"]*)"/i);
const [scriptPath, query] = m[1].replace(/&/g, "&").split("?");
const t = new URLSearchParams(query).get("t"); // absent on a passive page
const script = await http.get(origin + m[1].replace(/&/g, "&"), { headers: { "user-agent": UA, referer: url } }); // 2. the script
const solved = await notabot({ // 3. us
type: "akamai.sbsd.payload", script: script.text, uuid: m[2], path: scriptPath, t,
pageUrl: url, cookieHeader: http.cookies(), html: page.text, userAgent: UA,
});
const { payload, followup, postUrl } = solved.result;
await http.post(postUrl, { headers: { "user-agent": UA, "content-type": "application/json" }, body: JSON.stringify({ body: payload }) }); // 4. send it
if (followup) await http.post(followup.postUrl, { headers: { "user-agent": UA, "content-type": "application/json" }, body: JSON.stringify({ body: followup.payload }) });
const final = await http.get(url, { headers: { "user-agent": UA } }); // 5. the real pageRequest body
{
"type": "akamai.sbsd.payload",
"script": "<the challenge script, as you downloaded it>",
"uuid": "23fa0bd2-f794-5b90-07f1-2e87fb006867",
"path": "/brLNyUZQLfhdE3fH8hYhR90OPJU/r8G5VX7r1Sru/X34nZCEC/YlMXQ01/oI1Yb",
"t": "642368385",
"pageUrl": "https://shop.example.com/events",
"cookieHeader": "bm_sz=…; _abck=…",
"html": "<the page HTML you received>",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36"
}| Field | Type | Description |
|---|---|---|
scriptrequired | string | The challenge script exactly as downloaded. About 500 KB; the limit is 1,000,000 characters. |
uuidrequired | string | The v= value of the script address. |
pathrequired | string | The script path, starting with /, without the query. |
t | string | The t= value. Present on a block page, left out on a passive one. |
pageUrlrequired | string | The page you loaded. Its domain must be approved, and the payload address is built from it. |
cookieHeader | string | Your session cookies as one cookie header value, up to 8,192 characters. |
html | string | The page HTML you received, up to 400,000 characters. |
userAgentyes, send it | string | Must be one of the browsers below, and the same string you use on every request. Left out, we assume the newest. |
acceptLanguage | string | Your browser's language header. Default en-US,en;q=0.9. Send what your requests send. |
timezone | string | An IANA name such as Europe/Berlin. Default Europe/London. |
device | object | Optional hardware to present: screen (width, height, availHeight, colorDepth), dpr, hardwareConcurrency, deviceMemory, platformVersion. Unknown fields are refused. |
Fields not listed here are dropped. The body can be up to 2 MB.
User agents that work
The payload describes a browser, so it has to match the one making your requests. Send the exact frozen Chrome string for one of these versions. Anything else is refused before solving, with the list in the message, and you are not charged.
| Profile | userAgent |
|---|---|
macos-145 | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36 |
macos-148 | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36 |
macos-155 | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36 |
macos-156 | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36 |
Result
| Field | Type | Description |
|---|---|---|
payload | string | What to post, wrapped as {"body": payload}. |
postUrl | string | Where to post it. |
followup | object | null | A passive page needs a second post, { payload, postUrl }, sent only after the first is accepted. Null on a block page. |
userAgent | string | The user agent the payload was built for. |
profile | string | Which browser profile was used. |
{
"ok": true,
"requestId": "req_Hk2p…",
"result": {
"payload": "…",
"followup": null,
"postUrl": "https://shop.example.com/brLNyUZQ…/oI1Yb?t=642368385",
"userAgent": "Mozilla/5.0 (Macintosh; …) Chrome/156.0.0.0 Safari/537.36",
"profile": "macos-156",
"solveMs": 186
},
"cost": 0.0015,
"costMicro": 1500,
"solveMs": 186
}Notes
- The payload belongs to the session, not the IP. Post it from the same cookies, user agent and TLS fingerprint you downloaded the script with. Any IP works.
- Download the script fresh for every solve. It changes, and the payload only matches the copy you sent.
solve_failedwithNOT_CHALLENGEDmeans the script,uuidandtdo not come from the same page load. Charged only on success, so retry.solve_failedwithUNSUPPORTED_PROFILEorBAD_INPUTcarries the fix in its message. Both are free.- Whether the site let you through is only visible to you. We charge for a payload we built, not for the site's decision.