Solve Kasada
solve_kasadaBypass Kasada bot protection and obtain x-kpsdk-ct, x-kpsdk-cd, x-kpsdk-v, and x-kpsdk-h headers for replaying requests to a protected API.
Instructions
Solve Kasada (KPSDK) bot protection and return the x-kpsdk-ct / x-kpsdk-cd / x-kpsdk-v / x-kpsdk-h headers to replay on the protected API (~6 s, $1.50 per 1,000). p_js_path is the path of the Kasada p.js script loaded by the page (starts with /, looks like ///p.js); fp_host serves the fingerprint page; tl_host is the host receiving the /tl request.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>",
"p_js_path": "<p_js_path>",
"fp_host": "<fp_host>",
"tl_host": "<tl_host>"
},
"name": "solve_kasada"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full URL of the page where the protection is loaded. | |
| proxy | No | ||
| fp_host | Yes | Hostname serving the Kasada fingerprint page, e.g. passport.twitch.tv | |
| tl_host | Yes | Hostname of the /tl token endpoint, e.g. gql.twitch.tv | |
| p_js_path | Yes | Path of Kasada p.js, e.g. /149e9513-.../2d206a39-.../p.js | |
| ua_version | No | Chrome major version matching user_agent, e.g. 145. | |
| user_agent | No | Recommended: the UA you will replay the headers with. | |
| cd_constant | No | Hex constant for the CD proof-of-work, only if the site needs one. |