Skip to Content
AnySolver logo
AnySolver
Other

KasadaTlPayloadProxyLess

Build the Kasada /tl payload and its ct and dt headers from the ips.js script, then post it yourself. With the request schema, an example and provider prices.

KasadaTlPayloadProxyLess builds the Kasada /tl payload and its x-kpsdk-ct and x-kpsdk-dt header values from the ips.js script. You fetch ips.js and make the POST yourself, so the resulting token and cookies belong to your own IP and TLS fingerprint.

KasadaPayloadProxyLess does the same and also returns the x-kpsdk-im and x-kpsdk-v headers.

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 (this task)
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 the inputs

To get ipsContent, request the protected site. A 429 response carries a script tag that points to ips.js. Fetch it and pass the response body.

FieldValue
domainThe hostname of the protected site, without scheme or path.
userAgentThe Chrome User-Agent of your session.
acceptLanguageThe first language of your Accept-Language header, for example en-US.
bmszThe value of the bm_sz cookie that is current for your session.

Send the same userAgent and acceptLanguage on the ips.js fetch, the /tl request and everything after it.

Post to /tl

Post the decoded solution.tl to the /tl path of the protected site:

POST https://<domain>/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/tl
Content-Type: application/octet-stream
x-kpsdk-ct: <solution.ct>
x-kpsdk-dt: <solution.dt>

<base64-decoded solution.tl>

A successful POST answers 200 with {"reload": true}, and the response carries a new x-kpsdk-ct, x-kpsdk-st and the Kasada cookies. Keep st: it is the input for generating the per-request proof-of-work with KasadaWorkTimeProxyLess. Send the newer x-kpsdk-ct on requests to other URLs of the site.

Decode the payload before sending it

solution.tl is base64. Post the decoded bytes as application/octet-stream. Posting the base64 string as is is the most common reason for a /tl response that is not 200 with "reload": true.

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

Supported Providers

ProviderPrice per 1,000Routing
EZCaptcha
$2.50

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

Chrome User-Agent of your session. Reuse it on the ips.js fetch, the /tl POST and every request that follows.

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

ipsContent*
stringYes

Full body of the Kasada ips.js script served by the block page or the /fp endpoint.

Example: KPSDK.scriptStart=KPSDK.now();((function()...

acceptLanguage*
stringYes

Main language of your Accept-Language header (only the first language, for example en-US).

Example: en-US

bmsz*
stringYes

Value of the bm_sz cookie in your session.

Example: AAB12C…

domain*
stringYes

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

Example: www.hyatt.com

{
    "clientKey": "YOUR_API_KEY",
    "task": {
        "type": "KasadaTlPayloadProxyLess",
        "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36",
        "ipsContent": "KPSDK.scriptStart=KPSDK.now();((function()...",
        "acceptLanguage": "en-US",
        "bmsz": "AAB12C…",
        "domain": "www.hyatt.com"
    }
}

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

Value for the x-kpsdk-ct header of the /tl POST.

Example: 02ZDV4Wf8UnQrrkylUAizpCB8ASqkRLkm6…

dt*
stringYes

Value for the x-kpsdk-dt header of the /tl POST.

Example: 12mx37w425vz64hz04plwa1z10w78w81t5…

tl*
stringYes

Base64-encoded /tl payload. Decode it and POST the raw bytes as application/octet-stream.

Example: <base64 /tl payload>

raw*
Record<string, unknown>Yes

Raw provider response data for advanced use cases.