Skip to Content
AnySolver logo
AnySolver
Token

KasadaTokenProxyLess

Pass the Kasada p.js URL and get x-kpsdk-cd, x-kpsdk-ct and x-kpsdk-st headers ready to replay. Shows the request schema, an example and provider prices.

KasadaTokenProxyLess takes the URL of a site's Kasada script and returns the x-kpsdk-cd, x-kpsdk-ct and x-kpsdk-st values to replay on the request Kasada blocked. Kasada blocks a request with a 429 whose body loads a script (ips.js) from a path like /149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/. The page itself loads a sibling script, p.js, from the same path.

The provider solves from its own network. If the target refuses a result solved from another IP, use KasadaCtBrowserToken with your proxy.

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 (this task)
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
You hold x-kpsdk-st and the User-Agent, and want x-kpsdk-cdKasadaWorkTimeProxyLess

Find pJsUrl

Open DevTools on the protected page, filter the Network tab for p.js, and copy its absolute URL, query string included:

https://www.nike.com/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/p.js

The ips.js URL of a block page is accepted as well. Send the protected page as websiteURL. The path is the same on every request to that site, so you look it up once.

Replay the solution

Send xKpsdkCd as the x-kpsdk-cd header and xKpsdkCt as x-kpsdk-ct on the request that was blocked, together with the Kasada cookies your session already holds. Send the returned userAgent as the request's User-Agent when the solution has one, from a client whose TLS fingerprint matches the same Chrome version. xKpsdkR and xKpsdkCr are present only when the provider returns them. Create a new task for each protected request, because x-kpsdk-cd works once.

x-kpsdk-cd is single-use

The cd header is a proof-of-work for one request, and reusing it fails. Generate a new one for each protected request. To keep a session and mint only the proof-of-work, use KasadaWorkTimeProxyLess.

Responses from the protected endpoint can return a newer x-kpsdk-ct. Only the latest value works, so replace the stored one each time. Keep xKpsdkSt: it is the input for generating further x-kpsdk-cd values.

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

Supported Providers

ProviderPrice per 1,000Routing
Salamoonder
$2.40

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.nike.com/

pJsUrl*
URLYes

Absolute URL of the Kasada p.js script (or the ips.js script of a block page) under the /149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/ path, query string included.

Example: https://www.nike.com/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/p.js

{
    "clientKey": "YOUR_API_KEY",
    "task": {
        "type": "KasadaTokenProxyLess",
        "websiteURL": "https://www.nike.com/",
        "pJsUrl": "https://www.nike.com/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/p.js"
    }
}

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

x-kpsdk-cd proof-of-work header value, a JSON string. It is single-use: generate a new one for every protected request.

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

xKpsdkCt*
stringYes

x-kpsdk-ct session token header value. Kasada can return a newer one on later responses; send the latest.

Example: 02ZDV4Wf8UnQrrkylUAizpCB8ASqkRLkm6…

xKpsdkSt*
stringYes

x-kpsdk-st timestamp from the /tl response, in milliseconds. It is the input for generating further x-kpsdk-cd values.

Example: 1765212777507

raw*
Record<string, unknown>Yes

Raw provider response data for advanced use cases.

xKpsdkR
stringNo

x-kpsdk-r header value, when the provider returns one.

Example: 1-BwVtcmY

xKpsdkCr
stringNo

x-kpsdk-cr header value, when the provider returns one.

Example: true

userAgent
stringNo

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