Get started
Errors
Failures use standard HTTP status codes. Bodies are JSON. A string detail is a plain error. A 402 uses an object with code and message, and says the way on: the plan that unlocks the request by name, its price, the upgrade and pricing links, and for datasets the free sample, one series on one day where every dataset downloads on any plan. hint says it in one sentence, for people and agents alike.
Error shape
{
"detail": "No market 'KXBTC15M-26OCT2520'. Kalshi tickers look like KXBTC15M-26OCT252000-00, Polymarket markets pm:<condition id>, Limitless lm:<slug>. Find one with GET /api/v1/search?q=bitcoin."
}{
"detail": {
"code": "plan_required",
"message": "The trades dataset is on Research and up.",
"required_tier": "pro",
"required_plan": "Research",
"price_usd_month": 39.5,
"list_price_usd_month": 79.0,
"upgrade_url": "https://kalshieye.com/app/checkout/?plan=pro",
"pricing_url": "https://kalshieye.com/pricing/",
"free_sample": {"series": "KXBTC15M", "day": "2026-10-25", "label": "BTC 15 min"},
"hint": "Research unlocks this ($39.50/mo founding price, $79 list): https://kalshieye.com/app/checkout/?plan=pro. One full sample is free on any plan: BTC 15 min (KXBTC15M) on 2026-10-25, every dataset."
}
}{
"detail": {
"code": "download_quota",
"message": "This download would take you past your monthly allowance (4.9 of 5 GB used). Download fewer files, or upgrade for more.",
"used_bytes": 4900000000,
"cap_bytes": 5000000000,
"needed_bytes": 300000000,
"required_tier": "pro",
"required_plan": "Research",
"upgrade_url": "https://kalshieye.com/app/checkout/?plan=pro",
"hint": "Research unlocks this ($39.50/mo founding price, $79 list): https://kalshieye.com/app/checkout/?plan=pro."
}
}{
"detail": "Daily request limit reached (100/day on Explorer). It resets at 00:00 UTC. Research allows 10,000/day: https://kalshieye.com/pricing/"
}{
"detail": [
{
"type": "missing",
"loc": ["body", "datasets"],
"msg": "Field required"
}
]
}Status codes
| Code | Meaning |
|---|---|
400 | Bad request: a date that isn't YYYY-MM-DD, an unknown category on search, series, markets, explore, file listings, estimates or saved requests (the message lists the categories), or a ticker, cursor or selection the catalog cannot parse. A selection that matches too many files to answer at once returns {"detail":{"code":"selection_too_broad","message":"..."}}: narrow the series, datasets or dates |
401 | No API key, or one that isn't valid (revoked or mistyped). The message says how to send one and where to create it |
402 | Plan limit. plan_required means the dataset or feature is on a higher plan: on Explorer that is every dataset but the reference files, except in the free sample. download_quota means the download would pass this month's allowance. required_tier names the plan that unlocks it (pro is Research, full_book is Full book) and required_plan, price_usd_month, upgrade_url and hint say the rest. |
403 | Authenticated but not allowed, such as no API key slots left on your plan, or too many flat-file keys |
404 | Unknown dataset, sample, series, event, market, file, request, or key. For datasets and samples the message lists the valid dataset ids, and for series, events and markets it shows the id formats and how to search for one. A sample not published yet is also 404 |
409 | An older one-file export is still preparing |
413 | Too large for one response: a Parquet file too large to convert to CSV on the server, or a saved request larger than one zip holds (500 MB). The message says how many parts it takes: ask for each with ?part=1, ?part=2 and so on, or use the script |
422 | Request failed schema validation |
429 | A request limit was reached, a minute or a day (see limits). The message says which. Sample files downloaded without a key share a per-IP limit. |
500 | Unexpected server error — retry with backoff |
503 | The flat-file gateway is not configured, so a new S3 key cannot be created |
What counts toward the allowance
Listing files and estimates are free. A file counts the first time you take a link for it in a calendar month. Asking again does not count twice. CSV conversion, event bundles, and book replay answer status: building until the object is cached, then status: ready.
Every API call needs a key: create an account to get one. The sample file of every dataset needs no key.