Which APIs require authentication?
In the API reference, an endpoint whose page asks for no authorization works without a key, even when it belongs to an otherwise-authenticated API. The entire Market Data API is free; a key there only raises your rate limits.
Get your API key
You need an account at app.kairos.trade to create an API key. In the app, a key is called an API token.1
Create an account
Go to app.kairos.trade and sign up with your email address.
2
Open API token settings
After logging in, open Settings → API tokens.
3
Create a new token
Create a token, enter a descriptive name (e.g.
my-trading-bot), and choose its access level: Read-only or Trading. Optionally restrict it to a list of IP addresses. Then confirm the creation step.4
Copy your key
Your key is displayed once. Copy it and save it somewhere safe — a password manager, secrets manager, or environment variable. You cannot retrieve it again after closing the dialog.
Pass your key in every request
For programmatic access, send all three credential headers together on every authenticated request:401. Here is how that looks in practice:
- curl
- Python
- JavaScript
The session JWT (first-party apps only)
The web app authenticates with a short-lived session JWT instead of the triple:API key scopes
Scopes control which operations a key can perform. In the app you pick an access level, and each level carries a fixed set of scopes:
Choose Read-only unless the key must trade: it limits the blast radius if the key is ever leaked.
The RFQ network uses its own
rfq:* scopes.
Rate limits
Every API enforces rate limits. When you exceed one, the API returns429 Too Many Requests. The Data API buckets an API key by its client id, and reports its limits in X-RateLimit-* headers plus Retry-After on a 429. The Execution API limits order submissions per user and does not send X-RateLimit-* headers. See Rate limits for the values.
- Python
- JavaScript
The Market Data API rate-limits anonymous callers per source IP, and gives API-key callers a higher budget. See Market Data authentication.
Common authentication errors
Each service words its errors differently, so match on the status code first. The Data API answers{"detail": "<message>"}; the Execution API answers {"error": "<message>"}. The full tables are in Scopes, JWTs and auth errors.
403 Forbidden — Insufficient scope
403 Forbidden — Insufficient scope
Cause: Your API key does not have the scope required by the endpoint you called. For example, calling The Execution API answers
POST /orders with a Read-only token.Response body:403 with Insufficient scope, or with error_details.code: "AUTH_INSUFFICIENT_SCOPE" on endpoints with a structured envelope.Fix: A token’s access level can’t be changed. Create a new Trading token if you need trade:execute, then revoke the old one.429 Too Many Requests — Rate limit exceeded
429 Too Many Requests — Rate limit exceeded
Cause: Your key has sent more requests than its rate-limit window allows, or your IP has failed authentication too many times.Response body:Fix: Read the
Retry-After header when present and wait at least that many seconds before retrying. Implement exponential backoff with jitter (see the code examples above), and never retry a bad credential in a loop.403 Forbidden — IP not allowlisted
403 Forbidden — IP not allowlisted
Cause: The token has an IP whitelist and the request came from an address not on it.Response body:Fix: A token’s whitelist is set when you create it. Create a new token that lists your current egress address, or none if you’re testing from a dynamic address. See IP whitelisting for how each service reads your address.
Revoking a key
If you suspect a key has been compromised, revoke it immediately:- Go to Settings → API tokens in app.kairos.trade.
- Find the token in the list and click Revoke.
- Confirm revocation — this is immediate and cannot be undone.
- Generate a new key and update your application configuration.
401 Unauthorized on all future requests.
Next steps
Quickstart
Follow a step-by-step guide to your first authenticated API call.
Execution API
Submit orders and manage positions across all supported venues.

