# 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

Task Type Description
KasadaTaskProxyless Without proxy
KasadaTask With your proxy

# Parameters

Parameter Type Required Description
websiteURL string Target URL protected by Kasada
pjs string Full URL to Kasada p.js script
v string Kasada version override (e.g., i-1.18.2 iOS, j-1.2.139 web)

# 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"
}
Header Description
x-kpsdk-ct Main Kasada token
x-kpsdk-cd Challenge data
x-kpsdk-v Kasada version

Set these as request headers along with the returned userAgent.