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 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 (this task) |
You fetched ips.js and post /tl yourself, and want the ct and dt headers | KasadaTlPayloadProxyLess |
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 |
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.
scriptContent.The block page runs this code before it loads the script, and the script expects the KPSDK global to exist:
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
| Provider | Price per 1,000 | Routing |
|---|---|---|
Salamoonder | $0.60 |
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 | ||
websiteURL* | URL | Yes | Full URL of the page where the CAPTCHA is displayed. Example: |
scriptContent* | string | Yes | Full body of the Kasada Example: |
scriptUrl | string | No | Absolute URL the Example: |
{
"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
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 |
|---|---|---|---|
payload* | string | Yes | Base64-encoded Example: |
headers* | object | Yes | Headers to send with the |
raw* | Record<string, unknown> | Yes | Raw provider response data for advanced use cases. |
userAgent | string | No | User-Agent string used during solving. Example: |