API reference
One origin, one header, JSON everywhere. Everything here is in the OpenAPI document too, which is generated from the server rather than written by hand - where the two disagree, it is right.
openno key at allkeyany account's key, including Freeplana key on a paid plan
Catalog
| Method | Path | What it does | Access |
|---|---|---|---|
| GET | /v1/catalog/series | Series, most traded first: category, q, tag, sort, limit, offset; total in X-Total-Count | open |
| GET | /v1/catalog/categories | The category taxonomy, with series and market counts | open |
| GET | /v1/catalog/taxonomy | Section, tab and sub-tab, with counts; the node ids the tag filter takes | open |
| GET | /v1/catalog/markets | Markets newest first, with tokens: series, category, tag, q, status, sort, with, limit, offset | open |
| GET | /v1/catalog/markets/{slug} | One market with its tokens and resolution | open |
| GET | /v1/catalog/markets/{slug}/sparkline | The market's hourly closes over 24 or 168 hours, from our own tape | open |
| GET | /v1/catalog/coverage | Coverage ledger for a token_id, hour by hour, over start..end | open |
| GET | /v1/catalog/tree | Class, type, how many series each holds, and what a market of it costs | open |
| GET | /v1/catalog/count | How many markets a window holds, per series, with the days that have any: the answer before an order | open |
| GET | /v1/catalog/schemas | The schema registry: code, level, what it holds and the formats it is delivered in | open |
Data
| Method | Path | What it does | Access |
|---|---|---|---|
| GET | /v1/data/datasets | Every dataset, its formats, tier and the hours held | open |
| GET | /v1/samples | Free sample files, each with its stable URL | open |
| GET | /v1/data/files | The files for a dataset, format and window, with size and sha256 | key |
| POST | /v1/data/urls | Sign up to 100 object paths as short-lived URLs | key / plan |
| GET | /v1/files/{dataset}/{format}/{day}/{name} | A file by its stable URL: 302 to a signed link | key / plan |
| POST | /v1/data/exports | Build a market-day file of the full book, parquet or csv.gz; cached after the first request | plan |
| GET | /v1/timeseries | Rows of one market over a window, as JSON rather than a file | key |
| GET | /v1/data/usage | Signed URLs used today, the plan's limits, reset time | key |
| GET | /v1/data/usage/daily | Signed URLs and bytes per UTC day, up to 90 days | key |
Auth
| Method | Path | What it does | Access |
|---|---|---|---|
| POST | /v1/auth/register | Open an account on Free; returns its first key | open |
| POST | /v1/auth/verify | Confirm an email address from the emailed link | open |
| POST | /v1/auth/verify/resend | Send the verification email again | key |
| POST | /v1/auth/password/forgot | Ask for a password reset link | open |
| POST | /v1/auth/password/reset | Set a new password; mints a key and revokes the others | open |
| POST | /v1/auth/login | Sign in with email and password and mint a key | open |
| GET | /v1/auth/google/start | Begin Google sign-in (a redirect) | open |
Account and keys
| Method | Path | What it does | Access |
|---|---|---|---|
| GET | /v1/me | The current account | key |
| DELETE | /v1/me | Delete the account; send its email address as confirm | key |
| GET | /v1/me/export | Everything held about the account, as JSON | key |
| POST | /v1/me/email | Change the email address; a link goes to the new one | key |
| POST | /v1/me/password | Change this account's password | key |
| GET | /v1/keys | Keys by prefix | key |
| POST | /v1/keys | Mint another key | key |
| PATCH | /v1/keys/{prefix} | Rename a key; the secret is unchanged and never shown again | key |
| DELETE | /v1/keys/{prefix} | Revoke a key | key |
Team
| Method | Path | What it does | Access |
|---|---|---|---|
| POST | /v1/orgs | Create the organisation this account owns | key |
| GET | /v1/orgs/me | The organisation, its members and its open invitations | key |
| PATCH | /v1/orgs/me | Rename the team, owner only | key |
| POST | /v1/orgs/me/invites | Invite someone by email, owner only; a seat is free | key |
| DELETE | /v1/orgs/me/invites/{invite_id} | Withdraw an unaccepted invitation, owner only | key |
| POST | /v1/orgs/invites/accept | Accept an invitation and join the organisation | key |
| PATCH | /v1/orgs/me/members/{member_id} | Change a member's role, owner only | key |
| DELETE | /v1/orgs/me/members/{member_id} | Remove a member, owner only; their keys are revoked and nobody else's | key |
Status
| Method | Path | What it does | Access |
|---|---|---|---|
| GET | /health | Liveness: the service is up. Touches nothing | open |
| GET | /ready | Readiness: the service is up and its database answers | open |
Billing
| Method | Path | What it does | Access |
|---|---|---|---|
| GET | /v1/plans | Price list, entitlements and licence per plan | open |
| GET | /v1/promo | The launch offer: whether it is open and how many seats are left | open |
| POST | /v1/orders | Order a plan; we invoice, nothing is charged here | key |
| GET | /v1/orders | Your orders and their status | key |
| POST | /v1/orders/{order_id}/cancel | Cancel a pending order | key |
| GET | /v1/billing/catalog | Every figure billing uses: prices per market type, allowances, the minimum top-up and the schema cap | open |
| GET | /v1/billing/account | This account's balance, its allowance used per type, its ledger and its purchases | key |
| POST | /v1/billing/quote | What a selection of markets costs, after what is owned and what the allowance covers | key |
| POST | /v1/billing/topups | Add to the balance; answers with a payment page to send the customer to | key |
| POST | /v1/billing/stripe/confirm | Settle the checkout the browser has just come back from, without waiting for the webhook | key |
| POST | /v1/billing/portal | Open the payment provider's own portal for this customer | key |
Downloads
| Method | Path | What it does | Access |
|---|---|---|---|
| POST | /v1/downloads | Buy a basket and prepare it. 402 when the balance is short, and the basket is kept | key |
| GET | /v1/downloads | Packages prepared for this account, newest first | key |
| GET | /v1/downloads/{download_id} | One package with its files and what it cost | key |
| POST | /v1/downloads/{download_id}/prepare | Prepare an expired package again. What was bought stays bought, so this is free | key |
| POST | /v1/downloads/{download_id}/archive | The package as one zip, and one link to it that lives an hour. 202 with retry_after while a big one is first written; asking again is free | key |
| GET | /d/{code} | A prepared package by its short link | key |
Security
| Method | Path | What it does | Access |
|---|---|---|---|
| GET | /v1/security/types | The catalogue of signal types: attack, watch and health, with what each one means | open |
| GET | /v1/security/cases | Cases of manipulation the lab has taken apart, by market, wallet or type, newest first | open |
| GET | /v1/security/cases/{case_id} | One case: its markets, the wallets with their roles and the transactions it rests on | open |
| GET | /v1/security/signals | Every signal overlapping a window, sorted attack, watch, health and capped, with truncated | open |
| GET | /v1/security/wallets/{address} | The cases a wallet is named in, with its role in each | open |
| GET | /v1/security/markets/{market} | One market's security status: incidents and problems in the last day, and what is open now | open |
| GET | /v1/security/markets | The security status of up to 200 markets in one answer, for a list page | open |
| POST | /v1/security/subscriptions | Push matching signals to your webhook, signed; the secret is shown once | key |
| GET | /v1/security/subscriptions | Your alert subscriptions and whether each is delivering | key |
| DELETE | /v1/security/subscriptions/{subscription_id} | Stop an alert subscription | key |
| GET | /v1/security/stream | New and changed signals as server-sent events, a few seconds after they are written | open |
Site
| Method | Path | What it does | Access |
|---|---|---|---|
| GET | /v1/marketing/banner | The banner above the header, or active: false when there is none | open |
| POST | /v1/waitlist | Join the alpha waiting list; answers the same whether the address is new | open |
/v1/data/files takes dataset, format, start and end (UTC, on the hour, at most 31 days, at most 10,000 files), with optional repeatable series and market. A market-day file of the full book is built by POST /v1/data/exports for a UTC day that has ended; the first request builds it from that market's part of each hour and later ones find it made. Gaps, markets and the manifests sign on any plan, and a free sample's stable URL needs no key at all. Admin endpoints are not part of the public contract.