Skip to Content
AnySolver logo
AnySolver
Token

KasadaCdToken

Generate a fresh x-kpsdk-cd proof-of-work header from the x-kpsdk-ct, x-kpsdk-st and x-kpsdk-fc values of a Kasada session you hold.

KasadaCdToken generates the x-kpsdk-cd header for a Kasada session you already hold, without solving the challenge again. The header is a proof-of-work for a single request.

To generate x-kpsdk-cd from x-kpsdk-st and the User-Agent for any domain, use KasadaWorkTimeProxyLess. To solve the session itself, use KasadaCtBrowserToken.

Which Kasada task do I need?

What you wantTask
You have the p.js URL and want headers to replay, solved from the provider networkKasadaTokenProxyLess
You want a real-browser solve, from the provider networkKasadaCtBrowserTokenProxyLess
You want a real-browser solve through your own proxyKasadaCtBrowserToken
You fetched ips.js and post /tl yourself, and want the ct, dt, im and v headersKasadaPayloadProxyLess
You fetched ips.js and post /tl yourself, and want the ct and dt headersKasadaTlPayloadProxyLess
You hold a session and its x-kpsdk-ct, x-kpsdk-st and x-kpsdk-fc, and want x-kpsdk-cdKasadaCdToken (this task)
You hold x-kpsdk-st and the User-Agent, and want x-kpsdk-cdKasadaWorkTimeProxyLess

Find the inputs

Collect these values while you solve the session yourself. Send the protected page as websiteURL.

FieldValue
xKpsdkCtThe latest x-kpsdk-ct: the one from the /tl response, or a newer one that a later response returned. Only the most recent value works.
xKpsdkStThe x-kpsdk-st header of the /tl response. It does not change during the session.
xKpsdkFcThe x-kpsdk-fc header of the response to /149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/mfc. Copy it from the DevTools Network tab.
siteThe identifier of the target site. Only the sites listed in the schema are supported.

Use the header

Send solution.xKpsdkCd as the x-kpsdk-cd header of the next protected request. Call the task right before each protected request, and pass the newest x-kpsdk-ct each time.

Generate a new value for every request

Reusing an x-kpsdk-cd fails. Call the task immediately before each protected request, and pass the newest x-kpsdk-ct each time.

Check Provider stats for live success rates and solve times before you pick a provider.

Supported Providers

ProviderPrice per 1,000Routing
RiskBypass
$1.00
VoidCaptcha
$0.20

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://www.arcteryx.com/

xKpsdkSt*
stringYes

The x-kpsdk-st header value from the Kasada /tl response.

Example: 1756879688265

xKpsdkCt*
stringYes

The latest x-kpsdk-ct header value (from the /tl response, or the newest one a protected response returned).

Example: 0b3jqi5b3LjWE63t…

xKpsdkFc*
stringYes

The x-kpsdk-fc header value from the Kasada /mfc response.

Example: eyJmZWF0dXJlRmxhZ3Mi…

site*
Yes

Identifier of the target site, which selects its Kasada configuration. Only the listed sites are supported.

Example: arcteryx

{
    "clientKey": "YOUR_API_KEY",
    "task": {
        "type": "KasadaCdToken",
        "websiteURL": "https://www.arcteryx.com/",
        "xKpsdkSt": "1756879688265",
        "xKpsdkCt": "0b3jqi5b3LjWE63t…",
        "xKpsdkFc": "eyJmZWF0dXJlRmxhZ3Mi…",
        "site": "arcteryx"
    }
}

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
xKpsdkCd*
stringYes

The x-kpsdk-cd proof-of-work header value to send on the next protected request. It is single-use.

Example: {"workTime":1765212789082,"id"…

raw*
Record<string, unknown>Yes

Raw provider response data for advanced use cases.