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 want | Task |
|---|---|
You have the p.js URL and want headers to replay, solved from the provider network | KasadaTokenProxyLess |
| You want a real-browser solve, from the provider network | KasadaCtBrowserTokenProxyLess |
| You want a real-browser solve through your own proxy | KasadaCtBrowserToken |
You fetched ips.js and post /tl yourself, and want the ct, dt, im and v headers | KasadaPayloadProxyLess |
You fetched ips.js and post /tl yourself, and want the ct and dt headers | KasadaTlPayloadProxyLess (this task) |
You hold a session and its x-kpsdk-ct, x-kpsdk-st and x-kpsdk-fc, and want x-kpsdk-cd | KasadaCdToken |
You hold x-kpsdk-st and the User-Agent, and want x-kpsdk-cd | KasadaWorkTimeProxyLess |
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.
| Field | Value |
|---|---|
domain | The hostname of the protected site, without scheme or path. |
userAgent | The Chrome User-Agent of your session. |
acceptLanguage | The first language of your Accept-Language header, for example en-US. |
bmsz | The 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
| Provider | Price per 1,000 | Routing |
|---|---|---|
EZCaptcha | $2.50 |
Request Schema
| Field | Type | Required | Description |
|---|---|---|---|
clientKey* | string | Yes | Your API key. Create one in a workspace of 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, 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:
| Field | Type | Required | Description |
|---|---|---|---|
type* | Yes | ||
userAgent* | string | Yes | Chrome User-Agent of your session. Reuse it on the Example: |
ipsContent* | string | Yes | Full body of the Kasada Example: |
acceptLanguage* | string | Yes | Main language of your Example: |
bmsz* | string | Yes | Value of the Example: |
domain* | string | Yes | Hostname of the protected site you generate the payload for, without scheme or path. Example: |
{
"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
Response Schema
| Field | Type | Required | Description |
|---|---|---|---|
status* | Yes | Task status: "processing", "ready", or "failed". Example: | |
errorId* | Yes |
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 | Provider that handled this task. While processing, the provider currently solving it. Example: | |
solution | object | No |
Solution Object Properties
The solution field contains an object with the following properties:
| Field | Type | Required | Description |
|---|---|---|---|
ct* | string | Yes | Value for the Example: |
dt* | string | Yes | Value for the Example: |
tl* | string | Yes | Base64-encoded Example: |
raw* | Record<string, unknown> | Yes | Raw provider response data for advanced use cases. |