Skip to main content
Read endpoints work without a key. Send a key in the Authorization header for more history and a higher rate limit.

Keyless access

Call any read endpoint with no Authorization header:
Keyless calls get 30 requests per minute and 100 credits a day per IP (an app that names itself in its User-Agent: 100 a day across all its IPs, then it needs a key), one live liquidation stream and one trade stream, 24 hours of history and 1 hour per request. A read costs 1 credit, analytics 5, SQL 10 and a stream 1 a minute: see Credits. Past either limit the API returns 429 with a link to get a key; the daily one has the code KEYLESS_DAILY_LIMIT, and only a key clears it. Writes (custom cohorts) always need a key. A range that ends before your history starts (older than 24 hours keyless, 14 days on a free key) returns 402 with the code HISTORY_OUT_OF_RANGE instead of an empty result; a range that only starts too early is served from the start of your history, with an X-Ironflow-Notice header saying so.

Getting an API key

Enter your email at ironflow.sh/key. The key arrives by email within a minute. Free keys get 1,000 credits a day and 3,000 a month, 60 requests per minute and 14 days of history. Paid plans are self-serve at ironflow.sh/upgrade, paid in USDC on Base or Hyperliquid, from the website or from code: see Plans and payment. From a script or an AI agent, request the same key with one call; it is emailed, never returned in the response:
accept_terms: true says you accept the Terms of Service; without it the answer is 400 TERMS_NOT_ACCEPTED and nothing is sent. The account keeps when and which Terms version it accepted. Keys made before this rule keep working, and their answers carry an X-Ironflow-Terms header naming the current Terms. One free key per person. Asking again with the same address replaces the key, and an address that differs only by a +tag (or by dots, on Gmail) is the same address: its key goes to the address the account was made with. Addresses at throwaway inbox services are refused (DISPOSABLE_EMAIL), and so are domains with no mail server (EMAIL_UNDELIVERABLE). One network can make 2 new free accounts in 30 days (FREE_ACCOUNT_LIMIT); an existing account can always ask for its key again. For more, see the paid plans; for a team, write to hello@ironflow.sh. API keys have the format if_ followed by a random string.

Using your key

Key security

  • Never expose your key in client-side code. Keys are server-side credentials.
  • Never commit keys to git. Use environment variables.
  • To rotate a key, request a new one at ironflow.sh/key and ask us to revoke the old one.

Calling from a browser

Public read endpoints answer any website: GET requests (and their preflights) carry Access-Control-Allow-Origin: *, so a dashboard or widget can fetch them straight from the browser, keyless or with Authorization: Bearer. Requests never carry cookies. A key placed in browser code is visible to every visitor, so keep keyed calls on your own server unless the key is meant to be public.

Tier limits

Your key’s capabilities depend on your tier: Each tier inherits everything in the tier below it. No key, free keys, Explorer and calls paid with x402 are for personal and non-commercial use; Builder, Pro and Enterprise include commercial use (Terms 15.2). Per-request windows are clamped server-side: requests exceeding the cap return 400 QUERY_WINDOW_EXCEEDED. Paginate by issuing several smaller from/to requests.

Errors

A malformed or unknown key returns 401 Unauthorized. Sending no header is keyless access, not an error:
Accessing a feature above your tier returns 403 Forbidden: