notabotDocs

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 compared with akamai.sbsd.payload
akamai.sbsdakamai.sbsd.payload
Who requests the siteWe do, through your proxyYou do, from your own session
You sendA URL and a proxyThe challenge script, page and cookies you downloaded
You getCookies, ready to useA payload you post yourself
Price€0.0025€0.0025
Speed2 to 10 secondsabout 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

  1. 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.
  2. Download that script, with the same session and user agent.
  3. Send the script, the page, your cookies and your user agent to POST /v1/solve.
  4. Post the returned payload to postUrl as {"body": payload}. If followup is not null, post that next, the same way, to its own postUrl.
  5. Request the page again. If the site lets you through, the cookies in your session are good.
The five requests
// "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(/&amp;/g, "&").split("?");
const t = new URLSearchParams(query).get("t");                              // absent on a passive page
const script = await http.get(origin + m[1].replace(/&amp;/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 page

Request body

POST /v1/solve
{
  "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"
}
akamai.sbsd.payload request fields
FieldTypeDescription
scriptrequiredstringThe challenge script exactly as downloaded. About 500 KB; the limit is 1,000,000 characters.
uuidrequiredstringThe v= value of the script address.
pathrequiredstringThe script path, starting with /, without the query.
tstringThe t= value. Present on a block page, left out on a passive one.
pageUrlrequiredstringThe page you loaded. Its domain must be approved, and the payload address is built from it.
cookieHeaderstringYour session cookies as one cookie header value, up to 8,192 characters.
htmlstringThe page HTML you received, up to 400,000 characters.
userAgentyes, send itstringMust be one of the browsers below, and the same string you use on every request. Left out, we assume the newest.
acceptLanguagestringYour browser's language header. Default en-US,en;q=0.9. Send what your requests send.
timezonestringAn IANA name such as Europe/Berlin. Default Europe/London.
deviceobjectOptional 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.

Supported browser profiles
ProfileuserAgent
macos-145Mozilla/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-148Mozilla/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-155Mozilla/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-156Mozilla/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

akamai.sbsd.payload result fields
FieldTypeDescription
payloadstringWhat to post, wrapped as {"body": payload}.
postUrlstringWhere to post it.
followupobject | nullA passive page needs a second post, { payload, postUrl }, sent only after the first is accepted. Null on a block page.
userAgentstringThe user agent the payload was built for.
profilestringWhich browser profile was used.
200 OK
{
  "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_failed with NOT_CHALLENGED means the script, uuid and t do not come from the same page load. Charged only on success, so retry.
  • solve_failed with UNSUPPORTED_PROFILE or BAD_INPUT carries 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.