AkamaiAbckToken
Solve Akamai Bot Manager's _abck cookie when you can supply the sensor script URL and page fingerprint yourself.
AkamaiAbckToken produces a valid Akamai _abck cookie jar for a protected origin. Unlike the fully-managed AkamaiCookie, this variant lets you supply the sensor script URL and page fingerprint yourself, which is useful when you already extract them during your own page load.
Capture the Akamai sensor script URL from DevTools → Network (enable Preserve log, then reload); it is the same-origin request that returns heavily obfuscated JavaScript.
Bind to one IP and UA
A proxy is required. Replay solution.cookies with the returned userAgent and the same exit IP used to solve.
Akamai rejects _abck if the IP or UA changes.
Supported Providers
| Provider | Price per 1,000 | Routing |
|---|---|---|
| $1.00 |
Request Schema
| Field | Type | Required | Description |
|---|---|---|---|
clientKey* | string | Yes | Your API key. Create one in 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, and proxy behavior. See Routing Strategies. |
provider | No | Specific provider to use. If omitted, automatic routing selects the best provider. Example: | |
selectionMode | No | Routing strategy for this request. Overrides the API key default. See Routing Strategies. Example: | |
keyPoolMode | No | Which provider key pool to use: Example: |
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: |
akamaiJsUrl* | string | Yes | URL of the Akamai Bot Manager sensor script the page loads. Capture it from the Network tab. Example: |
pageFp* | string | Yes | Page fingerprint collected from the target page and bound to this challenge. Example: |
proxy* | string | object | Yes | |
initCookies | Record<string, unknown> | No | Cookies already present on the page before solving (e.g. bm_sz), as a name → value map. Example: |
Optional fields are not guaranteed across providers
Response Schema
| Field | Type | Required | Description |
|---|---|---|---|
status* | Yes | Task status: "processing", "ready", or "failed". Example: | |
errorId* | Yes | 0 = success, 1 = external error, 2 = internal error. 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 | Specific provider to use. If omitted, automatic routing selects the best provider. Example: | |
solution | object | No |
Solution Object Properties
The solution field contains an object with the following properties:
| Field | Type | Required | Description |
|---|---|---|---|
cookies* | Record<string, unknown> | Yes | Session cookies obtained during solving (if applicable). Example: |
userAgent* | string | Yes | User-Agent string used during solving (if applicable). Example: |
raw* | Record<string, unknown> | Yes | Raw provider response data for advanced use cases. |