AkamaiSbsdToken
Solve Akamai SBSD (State Based Scraping Detection) through your proxy and get the cookies that clear it. With the schema, an example and provider prices.
AkamaiSbsdToken solves Akamai SBSD (State Based Scraping Detection) through your proxy and returns the cookies that clear it. SBSD is an Akamai layer separate from the main _abck sensor: the page loads an SBSD script and the client posts a payload to it. Without a valid result, the origin serves a challenge page or blocks the request.
To get the SBSD payload and post it from your own IP instead, use AkamaiSbsdSensorProxyLess.
Proxy
task.proxy is required on this task type, and the provider solves from that address. SBSD cookies are bound to the session that produced them, so keep one IP for the whole solve and replay the cookies from it: see Keep the same IP for the whole solve.
Recognize SBSD
The page, or a 429 response, loads a script like this when the site uses SBSD:
<script src="/.well-known/sbsd?v=7ac10a5c-7a4e-fddd-611f-39dcf23f1722&t=99543528"></script>Some sites serve the script from a long, generated path instead of /.well-known/sbsd. The v parameter is a UUID. A t parameter marks a challenge page, and passive SBSD scripts have none. The cookies involved are bm_s, bm_sc, bm_so and sbsd_o.
Collect the inputs
Request the protected page and keep the cookies it sets. Pass them as initCookies: the bm_s and bm_sc
cookies, or sbsd.
Read the SBSD script URL from the script tag, query string included, and pass it as sbsdJsUrl. Pass the
protected page as websiteURL.
Use the cookies
Replay solution.cookies with the returned userAgent and the same proxy exit IP on the request that was blocked. If the origin still blocks you after applying the SBSD cookies, it can also run the main sensor: solve AkamaiCookie as well and replay both sets of cookies together.
Replay on the same IP and UA
Keep the exit IP and the User-Agent unchanged between the solve and the replay.
Check Provider stats for live success rates and solve times before you pick a provider.
Supported Providers
| Provider | Price per 1,000 | Routing |
|---|---|---|
RiskBypass | $1.00 |
Request Schema
| Field | Type | Required | Description |
|---|---|---|---|
clientKey* | string | Yes | Your API key. Create one in a workspace of the AnySolver dashboard. Example: |
task* | object | Yes | The task body. Required fields depend on the task type. See Tasks for per-task schemas. View task properties |
settings | object | No | Per-request settings for routing, Auto Retry, Auto Fallback, proxy reuse, response statistics and detailed analytics. Each field overrides the API key's value. See Routing modes. View settings reference |
Task Object Properties
The task field accepts an object with the following properties:
| Field | Type | Required | Description |
|---|---|---|---|
type* | Yes | ||
websiteURL* | URL | Yes | Full URL of the page where the CAPTCHA is displayed. Example: |
sbsdJsUrl* | URL | Yes | URL of the main SBSD script, as the page loads it (the Example: |
initCookies* | Record<string, unknown> | Yes | Cookies set when you first load the page, usually Example: |
proxy* | string | object | Yes | Proxy the provider solves through, as a string or an object. See Proxy configuration. View proxy configurationExample: |
{
"clientKey": "YOUR_API_KEY",
"task": {
"type": "AkamaiSbsdToken",
"websiteURL": "https://aswbe-i.ana.co.jp/rei12e/international_asw/pages/award/search/roundtrip/award_search_roundtrip_result_owd.xhtml",
"sbsdJsUrl": "https://aswbe-i.ana.co.jp/NAOAvP/g/p/QDWF9UmqEw/rcYOS6b93wYa/M25MIQ0C/K18aV/SB9Vy0C?v=70653420-b257-2e52-8195-fcb561c117d5&t=633180829",
"initCookies": {
"bm_s": "...",
"bm_sc": "..."
},
"proxy": "http://user:pass@1.2.3.4:8080"
}
}Optional fields are not guaranteed across providers
Response Schema
| Field | Type | Required | Description |
|---|---|---|---|
status* | Yes | Task status: "processing", "ready", or "failed". Example: | |
errorId* | Yes |
Example: | |
taskId | string | No | Unique identifier returned when the task was created. Example: |
errorCode | No | Machine-readable error code. Example: | |
errorDescription | string | No | Human-readable error message with resolution hints. Example: |
cost | number | No | Actual cost charged for this task in USD. Example: |
taskType | No | The type of CAPTCHA task to solve. Example: | |
provider | No | Provider that handled this task. While processing, the provider currently solving it. Example: | |
solution | object | No |
Solution Object Properties
The solution field contains an object with the following properties:
| Field | Type | Required | Description |
|---|---|---|---|
cookies* | object | Yes | Session cookies obtained during solving. |
userAgent* | string | Yes | User-Agent string used during solving. Example: |
raw* | Record<string, unknown> | Yes | Raw provider response data for advanced use cases. |