Skip to Content
AnySolver logo
AnySolver
Other

KasadaPayloadProxyLess

Turn the Kasada ips.js script into the /tl payload and headers, then post it yourself so the session belongs to your IP.

KasadaPayloadProxyLess turns the Kasada ips.js script into the /tl payload and the headers that go with it. You fetch ips.js and make the POST yourself, so the resulting x-kpsdk-ct token and Kasada cookies belong to your own IP and TLS fingerprint.

Use KasadaTokenProxyLess when you want the provider to run the whole flow.

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

Collect the inputs

Trigger the challenge. Either the page answers with a 429, or the background request GET /149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/fp?x-kpsdk-v=j-1.2.xxx does. Read the ips.js URL from the response.

GET that URL with browser-accurate headers and keep the whole response body. Send the URL you fetched as scriptUrl.

Prefix the script body with the bootstrap below and send the result as scriptContent.

The block page runs this code before it loads the script, and the script expects the KPSDK global to exist:

Prefix scriptContent with this
window.KPSDK = {};
KPSDK.now =
    typeof performance !== 'undefined' && performance.now ? performance.now.bind(performance) : Date.now.bind(Date);
KPSDK.start = KPSDK.now();

Post to /tl

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

POST https://<host>/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/tl
Content-Type: application/octet-stream
x-kpsdk-ct / x-kpsdk-dt / x-kpsdk-im / x-kpsdk-v: from solution.headers
Referer: the /fp URL, when you came from the /fp flow

<base64-decoded solution.payload>

A successful POST answers 200 with {"reload": true}. The response headers carry x-kpsdk-ct and x-kpsdk-st, and Set-Cookie sets the Kasada cookies. Store all of them: st is the input for generating x-kpsdk-cd later with KasadaWorkTimeProxyLess.

Decode the payload before sending it

solution.payload 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.

Send solution.userAgent on every request in the flow, including the ips.js fetch, so the User-Agent on the wire matches the one the payload was built with. Send x-kpsdk-v on the /tl request only, and not to the protected endpoint.

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

Supported Providers

ProviderPrice per 1,000Routing
Salamoonder
$0.60

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

scriptContent*
stringYes

Full body of the Kasada ips.js script, fetched from the block page or the /fp endpoint. Prefix it with the window.KPSDK bootstrap the page runs before the script.

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

scriptUrl
stringNo

Absolute URL the ips.js script was fetched from, query string included (for example …/ips.js?KP_UIDz=…).

Example: https://www.whatnot.com/149e9513-01fa-4fb0-aad4-566afd725d1b/2d206a39-8ed7-437e-a3be-862e0f06eea3/ips.js?KP_UIDz=0...

{
    "clientKey": "YOUR_API_KEY",
    "task": {
        "type": "KasadaPayloadProxyLess",
        "websiteURL": "https://www.whatnot.com/",
        "scriptContent": "KPSDK.scriptStart=KPSDK.now();((function()..."
    }
}

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

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

Example: <base64 /tl payload>

headers*
objectYes

Headers to send with the /tl POST, alongside the decoded payload.

raw*
Record<string, unknown>Yes

Raw provider response data for advanced use cases.

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