Kasada 429 with x-kpsdk headers: a bot check, not a rate limit
What you see
x-kpsdk-ctx-kpsdk-cdx-kpsdk-r: 1-AAx-kpsdk-v
More error strings (7)
access-control-expose-headers: x-kpsdk-ct,x-kpsdk-r,x-kpsdk-c,x-kpsdk-h,x-kpsdk-fcKP_UIDzKP_UIDz-ssnips.js?KP_UIDz=window.KPSDK={}tkrm_alpekz_s1.3Kasada 429
What it means
Kasada, a bot-protection service, stopped your request before it reached the site.
It sent back a 429 (normally “too many requests”) with x-kpsdk-* headers plus a tiny page that loads a script called ips.js.
That 429 is a test, not a speed limit. Only a real browser that runs the script gets a pass token.
What we measured: free tools on Kasada sites
We ran 11 free scraping tools on the Kasada sites in our test (all sites), each as installed with one setting for every site, with a fresh IP for every load (open-source benchmark, run scrapenews-open-source-benchmark-2026-11-26, 26 Nov 2026). Share of loads that passed:
| Tool | Kasada |
|---|---|
| Camoufox | 33% (3/9) |
| Scrapling StealthyFetcher | 78% (7/9) |
| Botasaurus | 0% (0/9) |
| nodriver | 11% (1/9) |
| Patchright | 44% (4/9) |
| curl-impersonate | 0% (0/9) |
| curl_cffi | 0% (0/9) |
| Scrapling Fetcher | 0% (0/9) |
| Crawl4AI | 0% (0/9) |
| tls-client | 0% (0/9) |
| curl (plain) | 0% (0/9) |
- Top tools: Scrapling StealthyFetcher, Patchright and Camoufox tie (33–78%).
- Top HTTP clients: none passed.
Hyatt and Realtor.com also answered our datacenter probe with Kasada’s 429: see /errors/429-too-many-requests. Scraper and unblocker APIs run this step for you. We have not tested them on Kasada.
How to read the table. Our test has 3 loads for each tool on each Kasada site: Hyatt and Realtor.com (hard tier) and Otto (low tier). Every load went out through a residential IP, the same for every tool. So when a tool fails here, the IP is not the reason. Kasada’s script is.
We counted a pass when the page met our rule for that site: a success status, no block marker, enough size, right content. No human looked at each page.
The sample is small. One site can flip between loads. On Hyatt, 8 of 11 tools passed none of their loads. On Realtor.com, Scrapling StealthyFetcher passed every one.
Our reading: on Kasada, only patched browsers got through. In our earlier probe, plain requests over residential IPs did not get past Kasada either.
Why it happens
There is no puzzle to solve with Kasada. Its checks are “entirely invisible”, it says: code runs in your client and looks for signs of automation such as headless browsers or tampered data.
The usual reasons it stopped you:
- Your client can’t run JavaScript.
requests,curl,httpxand plainfetchget the 429 page and stop there. The token comes only from running Kasada’s script, so matching a browser’s TLS fingerprint alone can’t pass it, Bright Data’s write-up says. - Your browser shows it’s automated. A default headless Chrome reports
navigator.webdriverastrue, aHeadlessChromeUser-Agent, no plugins and missingwindow.chrome. In one bug report, Vercel’s Kasada-guarded signup rejected a headless browser, and the same steps passed once it ran headed. - Your token is old or from somewhere else. A token from another session, client or IP is refused, per Bypass Fast’s docs. Tokens are tied to the session, IP, User-Agent and client hints, says the FuckCaptcha guide.
- Your IP looks bad. Kasada also checks the reputation of your IP and its network. Datacenter ranges that scrapers already used start out with a poor score, Bright Data says.
- An extension broke the script. In real browsers too. An ad-blocker filter gave otto.de a blank page and an HTTP 400 from Kasada.
Kasada calls this “proof of execution”. Its script runs inside a heavily scrambled virtual machine (a tiny computer made of code), so a bot must run it in a real browser or device to produce good data. The goal, Kasada says, is to force attackers onto real browsers instead of cheap scripts.
That’s also why waiting doesn’t help. A rate limit forgets you after a while; Kasada’s 429 comes back on every call that lacks a valid token.
Fix it
- Confirm it’s Kasada. Look for any
x-kpsdk-header, aKP_UIDzcookie, or a script path ending inips.jsorp.js. Anyx-kpsdk-*header means Kasada. - Stop retrying the same client. Slowing down won’t fix it; a plain HTTP client will get the same 429 each time.
- Use a real browser and let the script run. Don’t block the requests to
/fp,/mfcor/tlunder the Kasada path. Then fetch your pages in that same browser. - Hide the automation or run headed. Remove the headless signals above. Browsers patched in their own code (like Camoufox) leave fewer traces than JavaScript stealth patches, Bright Data says.
- Keep one session together. Same IP, User-Agent, cookie jar and
x-kpsdk-*values. Always send the newestx-kpsdk-ctthe site handed you. Don’t mix values from two sessions or proxy exits. - Use a residential IP, not one from a datacenter.
- Still blocked? Pick a tool (listed below, A–Z):
- Stealth browsers, for the fingerprint part.
- Unblocker and scraper APIs that say they handle Kasada.
- Kasada solver APIs produce the tokens over plain HTTP for a fee. You still need a TLS fingerprint that looks like a browser.
Why the newest token matters: Kasada can hand out a fresh x-kpsdk-ct on almost any response, Bypass Fast’s docs say. The browser’s script swaps it in each time. Keep the first token and your script falls behind, then gets 429 again.
One trap: a 429 that carries a token is a new challenge, not a pass. Don’t take that token; run the challenge again.
If the site’s API sits on another host (api.example.com next to www.example.com), it won’t get the KP_UIDz cookie, so the x-kpsdk-ct header becomes the only way the token travels.
Our advice: get the browser setup right first. Pay for solving only once the IP and session are steady.
Paste this into your AI
My scraper gets a Kasada bot check instead of the real page.
Status: <429 / 403 / 400>. Response headers I see: <e.g. x-kpsdk-ct, x-kpsdk-r, set-cookie: KP_UIDz-ssn=…>.
Body: <paste it, e.g. a tiny HTML page with window.KPSDK and a script ending in ips.js or p.js>.
Which request failed: <the page itself / an API call / a POST to …/tl>.
Explain in plain words what this check is and why slowing down does or doesn't help.
Then list the likely causes in order, most likely first.
For each cause, give one way to test it and one fix.
My setup: <language + library or browser tool>, <headless or headed>, <the URL pattern>,
<proxy type or none>, <do I keep cookies and x-kpsdk-* values from one session: yes/no>.Dev details
The 429 a scraper receives, from a capture in Bright Data’s write-up:
HTTP/2 429
x-kpsdk-r: 1-AA
x-kpsdk-ct: <initial token>
content-type: text/html; charset=utf-8
access-control-expose-headers: x-kpsdk-ct,x-kpsdk-r,x-kpsdk-c,x-kpsdk-h,x-kpsdk-fc
set-cookie: KP_UIDz-ssn=<value>
The body is just two scripts. That is why a parser or a screenshot sees a blank page:
<script>window.KPSDK={};KPSDK.now=typeof performance!=='undefined'&&performance.now?performance.now.bind(performance):Date.now.bind(Date);KPSDK.start=KPSDK.now();</script>
<script src="/<site-id>/<script-id>/ips.js?KP_UIDz=...&x-kpsdk-im=..."></script>
Step by step, per Hyper Solutions and FuckCaptcha:
- The page loads Kasada’s
p.js. Its SDK version turns intox-kpsdk-v. - A request to a path ending in
/fpanswers 429 and loadsips.js. Some sites skip this and put the challenge on the first page load. - The script runs and POSTs a binary payload (
Content-Type: application/octet-stream) to the matching/tlpath. /tlanswers withx-kpsdk-ct(the token) andx-kpsdk-st(server time), plus it sets cookies.- Protected requests carry the token and, where the site needs it, a fresh
x-kpsdk-cd.
| header | what it is |
|---|---|
x-kpsdk-ct |
the client token; reused until a newer one arrives |
x-kpsdk-cd |
a proof of work, good for one request only |
x-kpsdk-v |
the SDK version, e.g. j-1.1.0 (Kick), j-1.2.797 (Costco) |
x-kpsdk-st |
server time from /tl; an input for every x-kpsdk-cd |
x-kpsdk-im, x-kpsdk-dt |
sent on the /tl request |
x-kpsdk-fc, x-kpsdk-h |
from an extra /mfc call on some sites; h may be required |
Check for it before you parse:
const res = await fetch(url, { headers });
const body = await res.text();
const kasada =
[...res.headers.keys()].some((h) => h.startsWith("x-kpsdk-")) ||
/window\.KPSDK|\/ips\.js|KP_UIDz/.test(body);
if (kasada) throw new Error(`Kasada on ${url} (status ${res.status})`);
Edge cases:
- Not always 429. FuckCaptcha says the first request now and then gets 403. On footlocker.es, every API call came back
403withcontent-length: 0and anx-kpsdk-ctheader. On otto.de the page itself got400. - Bad tokens get 429 too. If the
x-kpsdk-*values aren’t valid, the API answers 429, a vercel-llm-api user reported. - The token changes every time. Three requests in a row got three different
x-kpsdk-ctvalues in Bright Data’s test, so you can’t capture one and replay it. - A saved script dies within hours. In Bright Data’s test,
ips.jswas a 641 KB file, mostly on one line. A copy saved 6 hours earlier decoded to nothing, because its decoder key depends on the clock (a window of about 5 hours). - Cookie names differ. Bypass Fast and the otto.de report show
KP_UIDzandKP_UIDz-ssn. Hyper Solutions liststkrm_alpekz_s1.3andtkrm_alpekz_s1.3-ssn, each with aMax-Ageof 86400 seconds (1 day) in its example. - Tokens in the URL. A Costco search URL in a webcompat report carried
x-kpsdk-ct,x-kpsdk-vandx-kpsdk-hin the query parameters. - A token isn’t always enough. On Twitch, a CloakBrowser user got a Kasada token, then
/protected_loginstill said{"error_code":5025}and the page showed “Your browser is not currently supported.” - Vercel BotID. Its Deep Analysis mode runs on Kasada; it expects an
x-is-humanheader from its ownc.js, per Hyper Solutions.
What x-kpsdk-cd is made of: FuckCaptcha reports it’s derived from ct, st and the request host, and that x-kpsdk-h binds the values together. That’s why mixing values from two sessions fails.
The proof of work is cheap for a real browser and cheap for Kasada to check, Bright Data says. It’s there so the answer only comes out of one full run of the script, fingerprint and all.
Our advice for a pipeline: run the detect check on each response and never store a Kasada page as data; log the status and headers next to it.
A trap from our tests: real Costco (2.8 MB) and Otto pages load ips.js too. A tiny page with window.KPSDK is the challenge; look at the size first.
Questions
Why does a Kasada site return 429?
On a Kasada site the 429 is the challenge itself, not a rate limit. Its body loads Kasada's ips.js script. A real browser runs it, posts the result to a /tl path and gets an x-kpsdk-ct token. Without that token you keep getting 429.
Can I reuse an x-kpsdk-cd value?
No. Hyper Solutions says each x-kpsdk-cd is a proof of work for one request. Make a fresh one right before every protected request, from the newest x-kpsdk-ct.
Related
Tools that get past it
| Tool | Price |
|---|---|
| $0.05/hr | |
| $1.50/1k req | |
| Free | |
| Free | |
| $0.12/1k req | |
| $0.15/1k req | |
| $0.15/1k req | |
| Free | |
| from $50 |
Sources
- Kasada: Bot Defense Platform (invisible challenges, proof of execution, no CAPTCHA) kasada.io
- Kasada: Integration (no CAPTCHAs, invisible challenges) kasada.io
Bright Data blog: How to Bypass Kasada in 2026 (429 capture, ips.js VM, token) brightdata.com- Hyper Solutions glossary: x-kpsdk-ct and x-kpsdk-cd headers hypersolutions.co
- Bypass Fast docs: Kasada x-kpsdk-ct header and the 429 challenge bypass.fast
FuckCaptcha (CC0): Kasada field guide (signals and flow) github.com
uAssets issue #33827: otto.de blank white page, HTTP 400 from Kasada github.com
BrowserOS issue #3130: Kasada answers every footlocker.es API call with 403 github.com
stealth-web-cli issue #28: HeadlessChrome UA rejected by Kasada, headful passes github.com
vercel-llm-api issue #22: invalid x-kpsdk values get a 429 github.com
CloakBrowser issue #368: Twitch error_code 5025 after a Kasada token github.com
webcompat issue #235722: costco.com URL carrying x-kpsdk-ct and x-kpsdk-v github.com
Kick.com-account-generator issue #19: 429/403, x-kpsdk-v j-1.1.0 github.com