#
Kasada
Bypass Kasada bot protection. Task types, parameters, and integration examples.
Bypass Kasada bot protection — used by Twitch, Kick, Nike, PlayStation, and more.
#
Task Types
#
Parameters
#
Finding the p.js URL
Open DevTools → Network tab → search for p.js. URL pattern: /{uuid1}/{uuid2}/p.js.
#
Example
response = requests.post("https://v1.captchasolv.com/solve", json={
"clientKey": "YOUR_API_KEY",
"task": {
"type": "KasadaTaskProxyless",
"websiteURL": "https://example.com",
"pjs": "https://example.com/{uuid1}/{uuid2}/p.js"
}
}, timeout=130)
solution = response.json()["solution"]
token_data = json.loads(solution["token"])
# Use as headers in protected requests
headers = {
"User-Agent": solution["userAgent"],
"x-kpsdk-ct": token_data["x-kpsdk-ct"],
"x-kpsdk-cd": token_data["x-kpsdk-cd"],
}
const response = await axios.post('https://v1.captchasolv.com/solve', {
clientKey: 'YOUR_API_KEY',
task: {
type: 'KasadaTaskProxyless',
websiteURL: 'https://example.com',
pjs: 'https://example.com/{uuid1}/{uuid2}/p.js'
}
}, { timeout: 130000 });
const tokenData = JSON.parse(response.data.solution.token);
// Use: tokenData['x-kpsdk-ct'], tokenData['x-kpsdk-cd'] as headers
#
Response
The token field contains JSON with Kasada headers:
{
"x-kpsdk-ct": "...",
"x-kpsdk-cd": "...",
"x-kpsdk-v": "i-1.18.2"
}
Set these as request headers along with the returned userAgent.