Skip to Content
AnySolver logo
AnySolver
Other

KasadaWorkTimeProxyLess

Generate the per-request x-kpsdk-cd proof-of-work for a Kasada session you already hold. Shows the request schema, an example and provider prices.

KasadaWorkTimeProxyLess generates the x-kpsdk-cd header for a Kasada session you already hold. Some sites require that header on every protected request after the session exists. It is a single-use proof-of-work computed from the x-kpsdk-st timestamp of the session, and it is separate from solving the challenge itself.

You need it only when the browser sends x-kpsdk-cd on the requests you reproduce, so check DevTools first. To generate x-kpsdk-cd from x-kpsdk-ct, x-kpsdk-st and x-kpsdk-fc instead, use KasadaCdToken.

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

Find the inputs

FieldValue
domainThe hostname of the protected site, without scheme or path.
userAgentThe User-Agent the Kasada session was opened with, identical to the one used for the /tl request.
stThe x-kpsdk-st header of the /tl response.
workTimeOptional. A timestamp to pregenerate the header for.

You get st from the /tl request you made with KasadaTlPayloadProxyLess or KasadaPayloadProxyLess, or from the xKpsdkSt value of a KasadaTokenProxyLess solution.

Use the header

Send solution.payload as the x-kpsdk-cd header of the protected request. Generate a fresh one right before each protected request.

Generate a new value for every request

Reusing an x-kpsdk-cd fails. Generate a fresh one immediately before each protected request.

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

Supported Providers

ProviderPrice per 1,000Routing
EZCaptcha
$0.10

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

Hostname of the protected site you generate the header for, without scheme or path.

Example: www.hyatt.com

userAgent*
stringYes

User-Agent your Kasada session uses. Keep it identical to the one used for the /tl request.

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

st*
stringYes

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

Example: 1759149934586

workTime
stringNo

Optional timestamp to pregenerate the header for.

Example: 1759149934586

{
    "clientKey": "YOUR_API_KEY",
    "task": {
        "type": "KasadaWorkTimeProxyLess",
        "domain": "www.hyatt.com",
        "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36",
        "st": "1759149934586"
    }
}

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

Value for the x-kpsdk-cd header, a JSON string. It is single-use: generate a fresh one per protected request.

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

raw*
Record<string, unknown>Yes

Raw provider response data for advanced use cases.