Skip to Content
AnySolver logo
AnySolver
Token

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

ProviderPrice per 1,000Routing
RiskBypass
$1.00

Request Schema

FieldTypeRequiredDescription
clientKey*
stringYes

Your API key. Create one in a workspace of the AnySolver dashboard.

Example: your-api-key-from-dashboard

task*
objectYes

The task body. Required fields depend on the task type. See Tasks for per-task schemas.

View task properties
settings
objectNo

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:

FieldTypeRequiredDescription
type*
Yes
websiteURL*
URLYes

Full URL of the page where the CAPTCHA is displayed.

Example: https://aswbe-i.ana.co.jp/rei12e/international_asw/pages/award/search/roundtrip/award_search_roundtrip_result_owd.xhtml

sbsdJsUrl*
URLYes

URL of the main SBSD script, as the page loads it (the src of the script tag), query string included. The v parameter is a UUID, and the t parameter is present on challenge pages.

Example: https://aswbe-i.ana.co.jp/NAOAvP/g/p/QDWF9UmqEw/rcYOS6b93wYa/M25MIQ0C/K18aV/SB9Vy0C?v=70653420-b257-2e52-8195-fcb561c117d5&t=633180829

initCookies*
Record<string, unknown>Yes

Cookies set when you first load the page, usually bm_s and bm_sc (or sbsd), as a name → value map.

Example: {"bm_s":"...","bm_sc":"..."}

proxy*
string | objectYes

Proxy the provider solves through, as a string or an object. See Proxy configuration.

View proxy configuration

Example: http://user:pass@1.2.3.4:8080

{
    "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

Required fields are guaranteed across every provider that supports this task. Optional fields may be honored by some providers and silently ignored by others. AnySolver does not document per-provider parameter support, so before relying on an optional field, check that provider's own docs for the task you are using.

Response Schema

FieldTypeRequiredDescription
status*
Yes

Task status: "processing", "ready", or "failed".

Example: ready

errorId*
Yes

0 on success; 1 or 2 on an error. Branch on errorCode: Error IDs explains the two error groups.

Example: 0

taskId
stringNo

Unique identifier returned when the task was created.

Example: 01KFNDF328KAN2AJ3BNHCQYE88

errorCode
No

Machine-readable error code.

Example: CAPTCHA_UNSOLVABLE

errorDescription
stringNo

Human-readable error message with resolution hints.

Example: The captcha could not be solved.

cost
numberNo

Actual cost charged for this task in USD.

Example: 0.002

taskType
No

The type of CAPTCHA task to solve.

Example: ReCaptchaV2TokenProxyLess

provider
No

Provider that handled this task. While processing, the provider currently solving it.

Example: Multibot

solution
objectNo

Solution Object Properties

The solution field contains an object with the following properties:

FieldTypeRequiredDescription
cookies*
objectYes

Session cookies obtained during solving.

userAgent*
stringYes

User-Agent string used during solving.

Example: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36

raw*
Record<string, unknown>Yes

Raw provider response data for advanced use cases.