Get started
Authentication
Every API call needs an API key: Authorization: Bearer clab_…. The website's own pages read the catalog for you; from your code, scripts or tools, send a key.
Create a key
Log in and open API. Create a key and copy the secret once — it is not shown again. /app/keys/ redirects there.
The same calls exist on the API. They require a logged-in session or an existing key.
GET /api/v1/keys
POST /api/v1/keys {"name": "laptop"}
DELETE /api/v1/keys/{key_id}POST returns api_key once, plus id and prefix. A plan that is out of key slots returns 403: “API key limit reached (1 on Explorer). Revoke an unused key. Research allows 10 keys: https://kalshieye.com/pricing/”
Use the key
Try it
Loading…
curl -s "https://kalshieye.com/api/v1/series?limit=2" \
-H "Authorization: Bearer clab_…"Limits
Every call made with an API key counts, including sample files fetched with one, and so does every tool call from a connected AI assistant (one or two requests each). Pages on the website don’t count. Daily limits reset at midnight UTC.
| Plan | Requests | API keys |
|---|---|---|
| Explorer | 100 a day, 30 a minute | 1 key |
| Research | 10,000 a day, 120 a minute | 10 keys |
| Full book | 25,000 a day, 180 a minute | 25 keys |
| Institutional | No daily cap, 600 a minute | No limit |
Past a limit the API returns 429 and says which one, when it resets, and what the next plan allows, for example {"detail":"Daily request limit reached (100/day on Explorer). It resets at 00:00 UTC. Research allows 10,000/day: https://kalshieye.com/pricing/"} or {"detail":"Rate limit exceeded (30 requests/minute on Explorer). Wait a minute and retry. Research allows 120/minute: https://kalshieye.com/pricing/"}.
Keys and sign-ins
- API keys (
clab_…) call/api/v1. Create them on API. - AI assistant sign-ins. Claude, ChatGPT, Codex and other assistants connect to the MCP server by signing in, with no key to copy. Their tokens work at
/mcponly. See them and disconnect them under Connected apps on API. - Flat-file keys are S3 credentials for aws, rclone, and DuckDB. Create them on Flat files once the gateway is switched on. See flat-file keys.
Security notes
- Treat API keys like passwords. Do not put them in URLs or public repos.
- Revoke a key from the API page if it leaks.
- Don’t use your website login in scripts; use an API key.
- A request without a key returns
401with{"detail":"An API key is required: send it as Authorization: Bearer <key>. ..."}on every route. A wrong or revoked key returns{"detail":"That API key is not valid: it was revoked or mistyped. ..."}, and a bearer value that isn’t aclab_key says so. Each message ends with where to see or create a key. The sample files are the one route that needs no key.
Every API call needs a key: create an account to get one. The sample file of every dataset needs no key.