> This page is for Datasets.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.immix.xyz/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.immix.xyz/_mcp/server.

# HTTP API changelog

Consumer-facing changes to the Datasets API document, newest first. Each heading is the
document's version, and the document's `info.version` always equals the newest heading. Within a
major version, changes are additive only, except before 1.0, where a breaking change takes a
minor bump and a `BREAKING` entry.

## 0.2.0 — 2026-11-17 — The catalogue, the files and usage

The API's first routes. Everything in 0.1.0 holds: the key, the refusals, the error envelope.

* **Coverage.** `GET /coverage` lists each exchange with its families, its first closed day and
  the day it is published through. `GET /coverage/{exchange}` is that exchange in full: each
  closed day with its status, and for each family and symbol the first and last day with a
  file, how many days have one and their bytes. Coverage can be behind the day manifests, never
  ahead of them: a day's manifest is the authority on its day. An exchange whose coverage the
  service cannot serve right now is left out of the list until it can, while its days are still
  served.
* **Manifests.** `GET /manifests/{exchange}/{day}` is a closed day: every file with its key,
  family, symbol, rows, bytes and SHA-256, the day's instruments file, and the gaps and failed
  hours the day does not cover.
* **Files.** `GET /files/{family}/{exchange}/{day}/{symbol}.{ext}` answers `302` to a signed
  storage link for one file, valid for at least 10 minutes. `{symbol}` is the symbol with `/`
  written `-` and `:` written `_` (`BTC-USDT`). `GET /files/instruments/{exchange}/{day}.csv`
  does the same for the day's instruments file. Both take `GET` alone: any other method, `HEAD`
  and `OPTIONS` among them, is `405` with `Allow: GET`, and counts nothing.
* **Usage and plans.** A data file's redirect counts the file's stored bytes against your plan's
  bytes for the calendar month (UTC), and states the month's total in `X-Immix-Month-Bytes-Used`
  beside the plan in `X-Immix-Month-Bytes-Limit`. Coverage, manifests, instruments files and
  `GET /usage` are never counted. `GET /usage` is your plan and the month's bytes and files, in
  total and by key, exchange and family.
* **The resources' words.** Members are snake_case, as the dataset's own manifests spell them.
  Days are `yyyy-MM-dd` strings in UTC. Sizes, row counts and nanosecond instants are JSON
  integers of up to 64 bits. The error envelope is unchanged, `requestId` in camelCase included.
* **New error codes.**
  * `404 DAY_NOT_PUBLISHED`: nothing is published for the exchange on that day.
  * `404 FILE_NOT_FOUND`: the day is published and holds no such file. The symbol had no rows
    of that family that day, or a gap covers it.
  * `404 NOT_FOUND`: the path names nothing the dataset can hold, an exchange the dataset does
    not hold among them, on every route that names one.
  * `400 MALFORMED_REQUEST`: the day is not a `yyyy-MM-dd` date.
  * `429 BUDGET_EXHAUSTED`: the file would take you past your plan for the month. `retryable`
    is `false` and `Retry-After` is the month's end, absent for a file larger than the whole
    plan, which no month fits.
  * `429 RATE_LIMITED`: too many requests from one key. Wait `Retry-After` seconds.
  * `503 DAY_UNDER_REPAIR`: the day is being repaired. Wait `Retry-After` seconds and ask again.
  * None of these counts anything.
* **What changed for a 0.1.0 client.** A request with a valid key to one of the paths above is
  now served, where it was `404 ROUTE_NOT_FOUND`. Any other path still is.

## 0.1.0 — 2026-11-17 — Authentication and the error envelope

The first version of the document. It states the two things every later operation shares, and
carries no operation yet.

* **Authentication.** Every request presents a Datasets API key: `Authorization: Bearer
  immixds_<keyId>_<secret>`. A key is the product's own. A trading API key (`immix_…`) or a
  login token is refused, with a message that says which it was.
* **Refusals.** `401 UNAUTHENTICATED` for a request without a key, and for a key that does not
  exist, was deleted, or carries the wrong secret (the three read alike). `403
  FORBIDDEN_PRINCIPAL` for a key that is disabled. `403 CUSTOMER_NOT_ACTIVE` for a key whose
  customer is disabled. `503 SERVICE_UNAVAILABLE`, retryable, when the service cannot check a
  key right now.
* **The error envelope.** Every non-2xx response is
  `{"error": {"code", "message", "retryable", "requestId"}}`, the envelope the Immix API uses,
  with the request's id also in the `X-Request-Id` header.
* **Until the routes arrive.** A request with a valid key is admitted and then answered `404
  ROUTE_NOT_FOUND`: no path is served yet.