---
title: "Kasada 429 with x-kpsdk headers: a bot check, not a rate limit"
description: "A 429 with x-kpsdk-ct headers and an ips.js script is Kasada's bot check, not a rate limit. What it means, why you get it, how to fix it."
url: "https://scrapenews.com/errors/kasada"
updated: "2026-11-26T00:00:00Z"
---

# Kasada 429 with x-kpsdk headers: a bot check, not a rate limit

HTTP status codes · Kasada 429

Published 26 Nov 2026

What you see

- `x-kpsdk-ct`
- `x-kpsdk-cd`
- `x-kpsdk-r: 1-AA`
- `x-kpsdk-v`

**More error strings (7)**

- `access-control-expose-headers: x-kpsdk-ct,x-kpsdk-r,x-kpsdk-c,x-kpsdk-h,x-kpsdk-fc`
- `KP_UIDz`
- `KP_UIDz-ssn`
- `ips.js?KP_UIDz=`
- `window.KPSDK={}`
- `tkrm_alpekz_s1.3`
- `Kasada 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](https://scrapenews.com/benchmarks/open-source.md), run scrapenews-open-source-benchmark-2026-11-26, 26 Nov 2026). Share of loads that passed:

| Tool | Kasada |
| --- | --- |
| [Camoufox](https://scrapenews.com/compare/camoufox.md) | 33% (3/9) |
| [Scrapling StealthyFetcher](https://scrapenews.com/compare/scrapling.md) | 78% (7/9) |
| [Botasaurus](https://scrapenews.com/compare/botasaurus.md) | 0% (0/9) |
| [nodriver](https://scrapenews.com/compare/nodriver.md) | 11% (1/9) |
| [Patchright](https://scrapenews.com/compare/patchright.md) | 44% (4/9) |
| [curl-impersonate](https://scrapenews.com/compare/curl-impersonate.md) | 0% (0/9) |
| [curl_cffi](https://scrapenews.com/compare/curl-cffi.md) | 0% (0/9) |
| [Scrapling Fetcher](https://scrapenews.com/compare/scrapling.md) | 0% (0/9) |
| [Crawl4AI](https://scrapenews.com/compare/crawl4ai.md) | 0% (0/9) |
| [tls-client](https://scrapenews.com/compare/tls-client.md) | 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](https://scrapenews.com/errors/429-too-many-requests.md). [Scraper and unblocker APIs](https://scrapenews.com/compare/scraper-apis.md) 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:

1. **Your client can’t run JavaScript.** `requests`, `curl`, `httpx` and plain `fetch` get 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.
2. **Your browser shows it’s automated.** A default headless Chrome reports `navigator.webdriver` as `true`, a `HeadlessChrome` User-Agent, no plugins and missing `window.chrome`. In one bug report, Vercel’s Kasada-guarded signup rejected a headless browser, and the same steps passed once it ran headed.
3. **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.
4. **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.
5. **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

1. **Confirm it’s Kasada.** Look for any `x-kpsdk-` header, a `KP_UIDz` cookie, or a script path ending in `ips.js` or `p.js`. Any `x-kpsdk-*` header means Kasada.
2. **Stop retrying the same client.** Slowing down won’t fix it; a plain HTTP client will get the same 429 each time.
3. **Use a real browser and let the script run.** Don’t block the requests to `/fp`, `/mfc` or `/tl` under the Kasada path. Then fetch your pages in that same browser.
4. **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.
5. **Keep one session together.** Same IP, User-Agent, cookie jar and `x-kpsdk-*` values. Always send the newest `x-kpsdk-ct` the site handed you. Don’t mix values from two sessions or proxy exits.
6. **Use a residential IP**, not one from a datacenter.
7. **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](https://brightdata.com/blog/how-tos/how-to-bypass-kasada):

```http
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:

```html
<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:

1. The page loads Kasada’s `p.js`. Its SDK version turns into `x-kpsdk-v`.
2. A request to a path ending in `/fp` answers 429 and loads `ips.js`. Some sites skip this and put the challenge on the first page load.
3. The script runs and POSTs a binary payload (`Content-Type: application/octet-stream`) to the matching `/tl` path.
4. `/tl` answers with `x-kpsdk-ct` (the token) and `x-kpsdk-st` (server time), plus it sets cookies.
5. 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:

```js
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 `403` with `content-length: 0` and an `x-kpsdk-ct` header. On otto.de the page itself got `400`.
- **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-ct` values 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.js` was 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_UIDz` and `KP_UIDz-ssn`. Hyper Solutions lists `tkrm_alpekz_s1.3` and `tkrm_alpekz_s1.3-ssn`, each with a `Max-Age` of 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-v` and `x-kpsdk-h` in the query parameters.
- **A token isn’t always enough.** On Twitch, a CloakBrowser user got a Kasada token, then `/protected_login` still 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-human` header from its own `c.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

- [Why am I blocked? How to avoid getting blocked while scraping](https://scrapenews.com/guides/how-to-avoid-getting-blocked-scraping.md)  (Guide)
- [Scrape a JavaScript website with Playwright, and when not to](https://scrapenews.com/guides/scrape-javascript-sites-playwright.md)  (Guide)
- [Scraper and unblocker APIs](https://scrapenews.com/compare/scraper-apis.md)  (Compare)
- [LinkedIn 999 Request Denied when scraping](https://scrapenews.com/errors/linkedin-999.md)  (Error)
- [Scraping timeouts](https://scrapenews.com/errors/scraping-timeout.md)  (Error)
- [401 Unauthorized when scraping](https://scrapenews.com/errors/401-unauthorized.md)  (Error)

## Tools that get past it

| Tool | Price |
| --- | --- |
| [Anchor Browser](https://scrapenews.com/compare/anchor-browser.md): Browser environments for AI agents, priced by browser time, proxy traffic and AI steps. | $0.05/hr |
| [Bright Data Web Unlocker](https://scrapenews.com/compare/bright-data.md): Unblocking API from Bright Data: you send a URL, it handles proxies, retries and CAPTCHAs. Billed per 1,000 requests. | $1.50/1k req |
| [Camoufox](https://scrapenews.com/compare/camoufox.md): Anti-detect browser built on Firefox that changes fingerprints to look like a real user; works with Playwright. | Free |
| [Patchright](https://scrapenews.com/compare/patchright.md): Drop-in patched version of Playwright that hides common automation signs. | Free |
| [Scrape.do](https://scrapenews.com/compare/scrape-do.md): Scraping API with residential and mobile proxies and JavaScript rendering. Charges only for successful responses. | $0.12/1k req |
| [ScrapeBadger](https://scrapenews.com/compare/scrapebadger.md): Scraping API with residential proxies, JavaScript rendering and anti-bot bypass on every plan. Has ready-made JSON endpoints for Google and more. | $0.15/1k req |
| [Scrapfly](https://scrapenews.com/compare/scrapfly.md): Scraping API with anti-bot bypass, browser rendering and screenshots, using one credit pool across products. | $0.15/1k req |
| [Scrapling](https://scrapenews.com/compare/scrapling.md): Python scraping library from a single request to a full crawl, with stealthy fetchers and selectors that survive page changes. | Free |
| [Web Scraper (webscraper.io)](https://scrapenews.com/compare/webscraper-io.md): Web Scraper Cloud: managed platform that runs point-and-click scrapers on a schedule. 7-day free trial. | from $50 |

## Sources

1. [Kasada: Bot Defense Platform (invisible challenges, proof of execution, no CAPTCHA)](https://www.kasada.io/bot-defense) kasada.io
2. [Kasada: Integration (no CAPTCHAs, invisible challenges)](https://www.kasada.io/integration) kasada.io
3. [Bright Data blog: How to Bypass Kasada in 2026 (429 capture, ips.js VM, token)](https://brightdata.com/blog/how-tos/how-to-bypass-kasada) brightdata.com
4. [Hyper Solutions glossary: x-kpsdk-ct and x-kpsdk-cd headers](https://hypersolutions.co/glossary/x-kpsdk-headers) hypersolutions.co
5. [Bypass Fast docs: Kasada x-kpsdk-ct header and the 429 challenge](https://bypass.fast/docs/reference/kasada-x-kpsdk-ct) bypass.fast
6. [FuckCaptcha (CC0): Kasada field guide (signals and flow)](https://github.com/vsmutok/FuckCaptcha/blob/main/docs/captchas/kasada.md) github.com
7. [uAssets issue #33827: otto.de blank white page, HTTP 400 from Kasada](https://github.com/uBlockOrigin/uAssets/issues/33827) github.com
8. [BrowserOS issue #3130: Kasada answers every footlocker.es API call with 403](https://github.com/browseros-ai/BrowserOS/issues/3130) github.com
9. [stealth-web-cli issue #28: HeadlessChrome UA rejected by Kasada, headful passes](https://github.com/Sekinal/stealth-web-cli/issues/28) github.com
10. [vercel-llm-api issue #22: invalid x-kpsdk values get a 429](https://github.com/ading2210/vercel-llm-api/issues/22) github.com
11. [CloakBrowser issue #368: Twitch error_code 5025 after a Kasada token](https://github.com/CloakHQ/CloakBrowser/issues/368) github.com
12. [webcompat issue #235722: costco.com URL carrying x-kpsdk-ct and x-kpsdk-v](https://github.com/webcompat/web-bugs/issues/235722) github.com
13. [Kick.com-account-generator issue #19: 429/403, x-kpsdk-v j-1.1.0](https://github.com/fqw3/Kick.com-account-generator/issues/19) github.com

## Up

- [Home](https://scrapenews.com/index.md)
- [Errors & CAPTCHAs](https://scrapenews.com/errors.md)
