What is Kasada Bot Defense?
Kasada is a bot defense platform that uses a custom JavaScript VM (ips.js) to fingerprint browsers and generate proof-of-work tokens. Kasada uses two tokens: x-kpsdk-ct (client token, ~30 min lifetime) and x-kpsdk-cd (single-use per-request proof-of-work).
How It Works
Send Task
POST your KasadaCaptchaTask with the target URL and sitekey to our API. We'll queue it instantly.
We Solve
Capzy's proprietary solver returns the Kasada x-kpsdk-ct + x-kpsdk-cd tokens and KP_UIDz session cookies needed for protected requests. Designed for authorized testing and automation.
Get Token
Poll getTaskResult — when status is 'ready', the solution contains the token to inject into the target page.
Quick Integration
import requests, time
API = "https://api.capzy.ai"
KEY = "capzy_your_key_here"
# Step 1: Create task
task = requests.post(f"{API}/createTask", json={
"clientKey": KEY,
"task": {
"type": "KasadaCaptchaTask",
"proxyPort": "8080",
"proxyType": "http",
"proxyLogin": "user",
"websiteURL": "https://example.com/",
"proxyAddress": "123.45.67.89",
"proxyPassword": "pass"
}
}).json()
task_id = task["taskId"]
print(f"Task created: {task_id}")
# Step 2: Poll for result
while True:
result = requests.post(f"{API}/getTaskResult", json={
"clientKey": KEY,
"taskId": task_id
}).json()
if result["status"] == "ready":
print("Solved!", result["solution"])
break
elif result["status"] == "failed":
print("Failed:", result.get("errorDescription"))
break
time.sleep(1)task parameters.
typetypestringreqyesKasadaCaptchaTaskProxyLess or KasadaCaptchaTaskwebsiteURLtypestringreqyesAny URL on the Kasada-protected domainproxyTypetypestringreqyesProxy protocol: http, https, socks4, or socks5proxyAddresstypestringreqyesProxy IP address or hostnameproxyPorttypenumberreqyesProxy port numberproxyLogintypestringreqnoProxy username (if auth required)proxyPasswordtypestringreqnoProxy password (if auth required)userAgenttypestringreqyesUser-Agent string to use. Must match the UA you use when submitting the tokensolution response.
x-kpsdk-cttypestringClient token (~30 min lifetime, reusable)x-kpsdk-cdtypestringClient data with proof-of-work (single-use per request)cookiestypeobjectKP_UIDz and KP_UIDz-ssn session cookiesuserAgenttypestringUser-Agent used during solve — must reuse for subsequent requestsexpiresAttypenumberUnix timestamp when the CT expiresFeatures
Required Task Type
KasadaCaptchaTaskFrequently Asked Questions
start solving kasada bot defense.
$0.10 in free credits — no card. ~250 free solves to test before you spend.