# Retained history: field names, units and time semantics

Start with [Choose your dataset](data-products.md) to distinguish retained
observations from modern ticker states, candles, trades and option chains.
Machine-readable definitions: `/api/v1/changelog/data-definitions` or MCP
`get_data_definitions`. These definitions complement, not replace, this guide.

For expiry, venue, period and pagination mistakes, see
[request troubleshooting](request-troubleshooting.md).

This guide explains the retained-history routes in the
[migration mapping](legacy-history-routes.json). It does not redefine the
modern ticker, OHLCVT, order-book or fitted-surface products. The compatibility
aliases keep v1 field names and values; native history routes and MCP tools
describe the same retained data more explicitly.

**A name is not a unit contract.** In particular, `volume`, `notional`, `p`, `c`
and `index` mean different things in different families below. Check the selected
`series`, instrument and dataset before combining values.

## Common rules

- Historical row `date` is Unix **milliseconds**, interpreted in UTC, except individual
  option trades, which preserve the source `YYYY-MM-DD HH:mm:ss` UTC string. It is an observation or
  candle timestamp, not the time the server published or you received the row.
- Most history `resolution` values **sample** the observation grid. `1d` usually
  means the observation at midnight UTC, not a daily sum, average or close.
  Spot candles are an aggregation exception; strike distributions are another.
- Native `start` and `end` are explicit timezone-qualified instants, normally
  inclusive after truncation to seconds. Compatibility date-only bounds retain
  their legacy whole-day behavior. Send explicit UTC instants, page and limit.
- `null`, numeric zero, an omitted field and an absent row are different states.
  None should automatically be replaced by another. Some legacy aggregates
  return zero when a denominator or pivot is absent; that is not certified
  zero activity. An absent venue is not proof that it held no open interest.
- `meta.items` counts returned rows. Check the endpoint's pagination/count
  basis: a snapshot page counts timestamps, while one timestamp can contain
  many instruments. Liquidations count side rows separately.
- Retained history can contain published corrections and gaps. A closed clock
  interval is not an immutability or source-finality guarantee. Unavailable
  completeness metadata is not a statement that the data is complete.
- A documented unit does not repair old source errors. Recollection notices
  and source-generation caveats continue to apply after migration.

## Coinbase International derivatives consolidation

Coinbase International Exchange (INTX) consolidated into Deribit on **1 October
2026**. `COINBASE` is no longer a live derivatives selector in v1 or v2. Use
`DERIBIT` for current derivatives and select the exact contract: for example,
`BTC_USDC-PERPETUAL` is a USDC-settled linear product, not the inverse
`BTC-PERPETUAL`. Venue names and contracts are not substituted automatically.

Valid Coinbase International history remains available through **1 October 2026
08:41 UTC**, the last available minute across the 131 retained contracts.
The unchanged Coinbase values previously returned from 08:43 UTC
onward were invalid and are excluded from instrument history, funding, OI,
volume and the corresponding derivative totals. Re-download affected values
and totals obtained before this correction. These missing Coinbase values are
not zeros and are not replaced with Deribit values. Deribit history remains
under its own venue and contract names.

This change does **not** retire Coinbase spot or describe Coinbase's separate
US-regulated derivatives venue. See [Coinbase's consolidation notice](https://help.coinbase.com/en/international-exchange/deribit/what-you-need-to-know).

Daily retained funding still selects the **00:00 UTC observation**, not a daily
average. Funding conventions can differ between venues: do not splice Coinbase
and Deribit funding into a continuous series without accounting for those
differences.

The dated [data-corrections feed](https://apiv2.laevitas.ch/api/v1/changelog/data-corrections)
provides the effective dates and replay examples for this correction under
`HIST-2026-11-05-V1-COINBASE-INTX` and `HIST-2026-11-05-V2-COINBASE-INTX`.

## Current derivatives analytics

Native `/derivatives/current-analytics`; MCP `get_derivatives_current_analytics`.
These current views are distinct from all history families below. Legacy
aliases return `{date,data}` with `date` in **Unix seconds**, rounded to the
generation minute. Native `meta.generated_at` has the same unit. Neither is
the source timestamp of every field. Results may be cached for 45 seconds.

| Fields / selectors                                                                          | Meaning                                                                                                                                                                                            |
| ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `open_interest`, `volume24h`, summary `volume`                                              | USD OI or rolling 24-hour USD volume, not quantities or midnight-to-now totals.                                                                                                                    |
| `open_interest_coin`, `volume24h_coin`; summary `open_interest_notional`, `volume_notional` | Base-asset quantities. The summary's legacy `notional` suffix does **not** mean USD.                                                                                                               |
| `funding`, `next_funding` / `next_fr`                                                       | Funding in percent for the source interval. Do not assume every venue uses eight hours.                                                                                                            |
| `apy`, `yield`, `avg_apr`                                                                   | Stored annualized yield in percent, not compounded APY despite the legacy name. `avg_apr` keys are lookback days. Dated-futures yield is carry, not perpetual funding.                             |
| `oi_volume24h` / `oi_volume_24h`                                                            | USD OI divided by rolling USD volume: a dimensionless ratio, not a percentage.                                                                                                                     |
| Summary `change`                                                                            | Absolute weighted-price difference from approximately 24 hours ago, not percent. Fields explicitly ending in `percentage` or `perc` are percent.                                                   |
| `bid`, `ask`, `bid_amount`, `ask_amount`                                                    | Best snapshot quotes and displayed sizes in the legacy source quantity convention. Not daily highs/lows or traded volume.                                                                          |
| `liquidations.long`, `.short`                                                               | Rolling 24-hour USD liquidation amounts, by liquidated position side; not buys/sells.                                                                                                              |
| `market_cap`, `realized_vol`, `sectors`                                                     | Current enrichments. Realised-volatility keys are lookback days and values use the source percentage convention. Missing enrichment keys can remain omitted or use the documented legacy defaults. |
| OI `instrument_type`, `hours`, `venue_type`                                                 | Future/perpetual/all, comparison lookback hours, and centralized/decentralized legacy venue group. Legacy `option` is not an option type.                                                          |

`perpetual_markets` selects each contract's latest observation in five minutes.
`futures_markets` filters at the source-wide latest timestamp in that interval;
it does not independently choose a newer or older timestamp for each venue.
`perpetual_funding`, `futures_yield` and `futures_curve` choose the latest
matching snapshot in 62 minutes. Yield takes the maximum stored yield within
each venue/expiry; the curve's `value` is the highest legacy normalized futures
price within each venue/expiry, dated futures only. An optional `exchange`
narrows the curve to one venue.
`currency_summary` weights perpetual prices/rates by USD OI and compares with
the earliest retained observations around 24 hours earlier (a ±5-minute window).
For `price`, only finite, positive prices and OI from the same contract observation
contribute. BINANCE ETHBTC is excluded from this price average because its quote
is in BTC, not USD. Invalid or unavailable prices do not reduce the average
through their OI. If no eligible USD price is available, `price` is null.
The approximately 24-hour-old price uses the same rules, and `change` is null
if either price is unavailable. Contracts excluded from the price can still
contribute to OI, volume, rates and venue membership.

`top_funding` lists every perpetual of the venue at its latest snapshot in
62 minutes, ordered by funding rate ascending. `futures_basis` takes the highest
stored basis within each venue/expiry, dated futures only, at the latest
snapshot in 62 minutes.

`oi_breakdown` and `volume_breakdown` return per-venue maps (`all`, `future`,
`perpetual`, each with `usd` and base-asset `notional`) at the latest snapshot
in 62 minutes; `venue_type` keeps only centralized (`c`) or decentralized (`d`)
venues. `futures_summary` aggregates dated futures per expiry across venues, with
open-interest-weighted price, yield and basis. `futures_oi_change_summary`
compares the first and last observation of the past hour per expiry; as on the
legacy endpoint, its `period` is accepted but does not change that window.
`futures_currencies` lists the futures base assets currently observed.
`futures_snapshot` returns one venue's dated futures by base asset and instrument
(mark price, basis, open interest, expiry at 08:00 UTC, volume, quotes, spot and
underlyer references, and the response minute as `datetime`).
`perpetuals_snapshot` is the same for one venue's perpetuals (mark price, funding
`fr`, next funding `next_fr`, volume, quotes, spot and underlyer references, and
`datetime`).
`oi_change` lists one venue's contracts of one base asset (`instrument_type`
`future` or `perpetual`) with open interest now and its change since the lookback
start (`period`: whole hours, or `ytd`), in USD and in base-asset units. A
contract appears only if it was observed in the past five minutes and within five
minutes after the lookback start; a venue without contracts returns an empty list.
`perpetual_oi_change_summary` totals one base asset's perpetual open interest across
venues at the latest observation and its change since the first observation after the
lookback start (`period`: whole hours, or `ytd`), in USD and base-asset units, with
both changes as percentages and the venues observed at the latest observation.
`perpetuals_by_venue` returns one base asset's perpetuals grouped by venue, with
the current market capitalization, realized volatility and 24-hour liquidations;
it is an empty list when none are observed.

`oi_gainers` and `price_gainers` compare each contract of one venue and
instrument type at two instants: the venue's first and last observation since
the lookback start (minus two minutes). `period=ytd` starts at the calendar year
boundary as the legacy endpoint computes it. A contract missing at one instant
gives a null or zero-based change exactly as on v1; percentages are null for a
zero earlier value. `price_change` is an absolute difference, not percent.

`market_oi_changes` uses the corrected v1 **venue totals across matching
contracts**, resolving retained replacements before summation. It compares
the earliest and latest matching global timestamps within the selected lookback
plus its two-minute buffer. It can therefore differ from subtracting
`currency_summary` totals, which use a different comparison window. A missing
boundary total is null, not zero; percentages are also null for a zero earlier
total. These are current rankings, not immutable historical results.

Missing, zero, omitted and empty remain distinct. Summary venue-array order
is unspecified. These current snapshots have no historical `start`/`end`,
pagination or as-originally-published contract.

## Current options analytics

Native `/options/current-analytics`; MCP `get_options_current_analytics`.
These views preserve the legacy `{date,data}` aliases; `date` (and native
`meta.generated_at`) is response-generation time in Unix **seconds**, not the
source/publication time of every item. Results can be cached for 45 seconds.

`oi_change_summary` combines one currency across venues by expiry and settlement
product, excluding CME. Use `currency` and `hours` (1, 4, 24, 168, or 720 for one
calendar month), without an exchange or maturity filter. Its legacy equivalent is
`/analytics/options/open_interest_change_summary/{currency}/{period}`.
`open_interest` and `open_interest_change_usd` are USD equivalents rounded to two
decimals; the two `notional` fields are quantities in the corresponding contract
units, rounded to three decimals—not USD. Changes use instruments present at the
latest observation and the exact earlier timestamp. A missing earlier value
contributes zero to the earlier total. Venue-list order is unspecified. The
legacy alias treats unrecognized periods as 24 hours; lowercase `ytd` is not
supported.

| Series / fields                                                                                                                                                      | Meaning                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `atm_term_structure`                                                                                                                                                 | ATM IV at Friday expiries, compared at the latest source instant and exactly 24/48/168/336/504/720 hours earlier. Missing comparison instants are not filled from nearby observations.                                                                                                                                                                                                                                                                                                                                      |
| `gamma_by_strike`: `gex`                                                                                                                                             | Signed sum of gamma × OI: calls positive, puts negative. Not USD GEX per 1% price move.                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| OI `c`, `p`, `open_interest`                                                                                                                                         | Source option quantities, without an added contract multiplier. Not trade counts or dollar values.                                                                                                                                                                                                                                                                                                                                                                                                                          |
| OI `notional_c`, `notional_p`, `notional`                                                                                                                            | Quantity × underlying reference, in USD-equivalent units.                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| OI `premium_c`, `premium_p`, `premium`; breakdown `open_value`                                                                                                       | USD premium valuation, distinct from underlying notional. Missing valuation inputs can leave totals null.                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `instrument_oi_change`: `open_interest`                                                                                                                              | Change in quantity, not the outstanding total. `hours=720` uses one calendar month under the legacy rule.                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `atm_iv_by_expiry`: `iv`                                                                                                                                             | Call implied volatility at the listed strike nearest the underlying reference, per venue, currency and unexpired expiry, from observations in the last two minutes. `exchange=aggregate` covers every venue. Percentage points.                                                                                                                                                                                                                                                                                             |
| `expiry_skew`: `delta`, `iv`                                                                                                                                         | Per venue, currency and strike of one expiry: the call's 1 − delta and implied volatility at its latest observation in the last two minutes. `exchange=aggregate` covers every venue for one currency; a venue without `currency` covers its currencies. Percentage points.                                                                                                                                                                                                                                                 |
| `expiry_oi_change`: `symbol`, `open_interest`, `open_interest_change_usd`                                                                                            | Per expiry of one venue and currency: open interest at the latest observation and its change since the observation `hours` earlier (1, 4, 24, 168, or 720 for one calendar month), in USD and underlying units. The legacy route reads other `period` values as 24 hours.                                                                                                                                                                                                                                                   |
| `strategy_trade_summary`: `tot_p_usd`, `net_premium`, `trades`                                                                                                       | Deribit strategy trades of one currency over the last `hours` (1, 2, 4, 8, 12, 18 or 24), by strategy type: total premium in USD and coin, quantity, notional, net open-interest change, greeks, the net premium as display text (paid `db.` or received `cr.`) and the trades with their legs. An empty object when none traded.                                                                                                                                                                                           |
| `top_strategies`: `strategy`, `contracts`, `net_premium`                                                                                                             | Deribit strategy types of one currency over the last `lookback_hours` (up to 168), ranked by traded quantity: notional, premium in coin and USD, net premium as display text (paid `db.` or received `cr.`), net open-interest change and greeks. Multi-leg strategies only unless `single_trade` is true.                                                                                                                                                                                                                  |
| `strike_iv_by_expiry`: `date`, `iv`                                                                                                                                  | One venue's strike across expiries: `date` is the listed expiry label, `iv` the average implied volatility of the strike's calls and puts at the venue's latest observation in the last ten minutes. Percentage points.                                                                                                                                                                                                                                                                                                     |
| `volume_by_expiry`: `C`, `P`, `USDVC`, `USDVP`, `open_value_c`, `open_value_p`                                                                                       | Previous-24-hour option volume per expiry: quantities, USD notional and USD premium, calls and puts.                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `top_traded`: `volume`, `volume_usd`, `premium`                                                                                                                      | The ten instruments with the most 24-hour volume per currency at the latest observation.                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `greeks_by_strike`: `delta`, `gamma`, `theta`, `vega`                                                                                                                | Latest greeks per strike for one expiry and option type; an unavailable greek is reported as 0, as on v1.                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Model charts: `forward_curve`, `atm_term_structure_model`, `atm_term_structure_time_lapse`, `term_structure_model`, `skew_model`, `skew_model_time_lapse`, `vol_run` | Deribit volatility-model curves, as published: forward curve by tenor, ATM term structure (now and at earlier comparison points), term structure and smile by strike or delta (`basis`), the smile today and at earlier comparison points (`skew_model_time_lapse`), and the per-expiry volatility run. The response `date` is the chart's last update, floored to the minute, not the response time. An unknown currency or expiry returns an empty list; the volatility run returns `{"error": "No data found"}` instead. |
| `eth_btc_atm_spread`                                                                                                                                                 | Deribit ETH ATM implied volatility minus BTC ATM implied volatility for each Friday expiry, in percentage points, keyed by comparison point (`Today`, `Yesterday`, `2 Days Ago`, `1 Week Ago` … `1 Month Ago`). Each comparison point uses the latest observation at or before that time; when ETH and BTC share an equally close strike from two option families, either may be used, so a value can move by about 0.01 between requests, as on v1.                                                                        |
| `options_summary`                                                                                                                                                    | One row per listed expiry of a currency across venues: averaged underlying reference, OI and 24-hour volume in quantity and USD (valued at the spot index), basis, ATM IV, 25-delta risk reversal and butterfly, and the listing venues.                                                                                                                                                                                                                                                                                    |
| `expiry_summary`                                                                                                                                                     | One row per currency and expiry on a venue: averaged index and underlying references, OI and 24-hour volume in quantity and USD (valued at the spot index), basis, ATM IV and 25-delta risk reversal and butterfly. `margin` is `coin` or `usd` settlement.                                                                                                                                                                                                                                                                 |
| `oi_change_by_strike`: `c`, `p`                                                                                                                                      | Change in call and put open interest per strike between the latest observation and the latest observation at or before `hours` clock hours earlier (searched within ten minutes); `_notional` and `_premium` are the USD changes. A strike listed at only one of the two instants contributes its full quantity.                                                                                                                                                                                                            |
| `volume_by_strike`: `index`, `c`, `p`                                                                                                                                | Latest 24-hour traded option quantity per strike (`index` is the strike), calls and puts; `notional_*` and `premium_*` are the USD valuations.                                                                                                                                                                                                                                                                                                                                                                              |
| `volume_buy_sell`: `c_buy`, `c_sell`, `p_buy`, `p_sell`                                                                                                              | Option trade quantities by type and direction; `_notional` and `_premium` are separate USD valuations. Not liquidations.                                                                                                                                                                                                                                                                                                                                                                                                    |
| IV fields including `mark_iv`, `bid_iv`, `ask_iv`                                                                                                                    | Percentage points: 50 means 50%, not 0.50. IV-table risk reversals are call minus put; butterflies are wing mean minus ATM, in volatility points.                                                                                                                                                                                                                                                                                                                                                                           |
| `skew_by_strike`                                                                                                                                                     | Legacy strike curve and delta coordinate, not fixed-tenor normalized risk reversal.                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| Snapshot `underlyer_spot`, `forward_price`                                                                                                                           | Retained spot index versus option-pricing/forward reference. They are not interchangeable.                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| Snapshot `best_bid_price` / `best_ask_price`, `best_bid_amount` / `best_ask_amount`                                                                                  | Premium quotes and displayed source quantities, respectively. No full depth or executable-liquidity guarantee.                                                                                                                                                                                                                                                                                                                                                                                                              |

Inverse and linear premium currencies remain distinct. Paradex premiums are
USD-quoted with USDC settlement; Deribit inverse BTC/ETH and USDC products have
separate selectors. Snapshot `expiration_date` retains the legacy 08:00 UTC
format and is not an exchange-native expiry-time certificate for every venue.

Binance retained quantities have different units: OI is in underlying units,
while volume is in contracts and quoted premiums are per contract. One DOGE
contract represents 1000 DOGE and one XRP contract represents 100 XRP. Premium
valuation converts OI to contracts; notional valuation converts volume to base
quantity. Public quantity fields themselves are not rescaled. These rules concern
retained options snapshots, not a redefinition of modern trade or candle fields.

## Legacy market discovery

Native `/market/legacy-discovery`; MCP `get_legacy_market_discovery`.
`option_maturities`, `option_instruments` and `derivative_instruments` list
current observations, not all historically traded instruments. A missing item
does not establish missing historical coverage. `spot_pairs` preserves exact
source pair names, including punctuation and casing.

Native `meta.date_basis=source_last_update` for `option_settlements` and
`spot_pairs`: `generated_at` then carries source update time in Unix seconds,
not response generation time. Compatibility `date` retains minute precision.
Settlement fields `mark_price` and `mark_price_usd` are per-unit option expiry
prices in settlement currency and USD respectively; `position` is source
quantity, `Strike` the exercise price and `Date` the listed expiry label.
Filter settlement catalogues by a concrete maturity for manageable MCP output.

Refreshed native settlement rows optionally include `provenance.source`:
`exchange_delivery_event` means an exchange-reported delivery;
`delivery_price_reconstruction` means contractual intrinsic payout per base unit,
computed from retained instrument metadata and that date's official delivery
index. This is not a recovered exchange event, trade or position snapshot.
An unavailable `position` remains null, not zero. Older rows without provenance
are unclassified retained rows, not certified direct exchange events.

Optional `meta.settlement_catalogue` reports `source_checked_at` separately from
`latest_expiry`, which is the latest retained expiry for the selected currency
before filtering by maturity. It also reports known missing delivery-price
counts and returned-row provenance counts. `completeness_certified` is false:
the recovery inventory is retained instrument metadata, not every contract the
exchange ever listed. Legacy aliases keep the original seven settlement fields
and do not expose these extra native fields.

Only `expired_futures` reads a requested retained source window. Row `date` is
the latest observed timestamp in that window in Unix **milliseconds**, not
expiry or settlement time. Rows count instruments. `price` and `index` are
retained price references, `volume` is rolling USD-equivalent volume and
`open_interest` USD-equivalent outstanding exposure; they are not totals over
the request window. Optional `fields` selects named columns only.

## Options instrument observations

Native `/options/instrument-history`; MCP `get_options_instrument_history`.
The `projection` only selects fields; it does not change their meaning.

| Fields                                 | Meaning and units                                                                                                                                                                                            |
| -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `mark_price`, `bid_price`, `ask_price` | Option premiums per source quantity unit, in the instrument premium currency. Inverse BTC/ETH prices and linear stablecoin prices must not be added without conversion. Bid/ask are prices, not sizes or IV. |
| `mark_iv`, `bid_iv`, `ask_iv`          | Implied volatility in percentage points: `50` means 50%, not 0.50. Mark IV is not necessarily the midpoint of bid and ask IV.                                                                                |
| `index_price`                          | Retained spot-index reference price.                                                                                                                                                                         |
| `underlying_price`                     | Retained option-pricing reference, potentially an expiry-specific forward. Not interchangeable with spot index.                                                                                              |
| `open_interest`                        | Outstanding option quantity in retained source units, not USD premium or notional. No additional contract multiplier is applied by this reader.                                                              |
| `volume`                               | Venue-reported volume observation in source quantity units and reporting window, not trades summed over the requested resolution.                                                                            |
| `delta`, `gamma`, `theta`, `vega`      | Instrument Greeks under the retained venue conventions. They are not cross-venue normalized or aggregate GEX/VEX. Theta's time scale and vega's volatility scale must be checked before combining venues.    |
| `daystogo`                             | Remaining maturity in days, not an expiry timestamp.                                                                                                                                                         |

Missing/unavailable quote values are not executable prices. The migrated
reader preserves retained values rather than silently converting quote units
or treating a forward reference as a spot price.

## Derivative instrument observations

Native `/perpetuals/instrument-history` and `/futures/instrument-history`;
MCP `get_derivatives_instrument_history`.

| Fields                              | Meaning and units                                                                                                                                                  |
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `price`, `index`                    | Retained normalized contract price and reference-index price. `index` is a price, not an identifier or row number.                                                 |
| `open_interest`, `volume`           | USD-equivalent outstanding exposure and rolling trading volume. Volume is not an interval sum.                                                                     |
| `open_interest_coin`, `volume_coin` | Corresponding base-asset quantities.                                                                                                                               |
| `oi_volume24h`                      | Dimensionless `open_interest / volume`, rounded to four decimals. Not a change in OI.                                                                              |
| `bid`, `ask`                        | Retained best bid/ask prices.                                                                                                                                      |
| `bid_amount`, `ask_amount`          | Displayed quantities at those prices in source units, not full book depth or guaranteed fills.                                                                     |
| `basis`                             | Retained basis under the source convention. Its unit (price difference, fraction or percentage) is **not specified**; check before combining it with modern basis. |
| `yield`                             | Annualized carry in percentage points; futures yield is annualized basis, perpetual yield is annualized funding. Not compounded APY.                               |
| `funding`, `next_funding`           | Current retained funding-rate observation and next-rate estimate, not funding timestamps or payment amounts. See rate conventions below.                           |
| `long_short_ratio`                  | Venue-defined ratio; its population is source-specific, not liquidation totals.                                                                                    |
| `expiry`                            | Legacy `DD/MM/YY` date only. It does not encode the exchange-native expiry hour.                                                                                   |

Row `date` is the retained legacy observation label at whole-second precision,
in ascending order. It is not a modern interval-start bucket, and no one-minute
shift is applied. `native` and `1m` return **identical rows**: both select every
stored observation. Coarser resolutions keep only observations stored on the
UTC grid point (`1h` minute 0, `1d` 00:00); they never aggregate, deduplicate
or fill gaps. `limit` and `total` count rows. Accepted venues (16 perpetual,
8 futures) do not establish that a venue, symbol or window has retained rows.

## Funding, basis and realized volatility

Native `/derivatives/funding-history`; MCP `get_derivatives_funding_history`.

`funding` and `next_fr` use percentage points: `0.01` means **0.01%** (one
basis point), not 1%. Modern perpetual carry and ticker funding fields are
decimals (`0.0001` means 0.01%), so the same rate is **100 times larger** in
retained history; convert before combining the two. The same convention applies
to derivative instrument-history `funding` and `next_funding`. Retained sources
normally express funding on an 8-hour-equivalent basis; historical
normalization remains as stored. Sampling
at `1h` does not make it an hourly payment rate. `next_fr` is an estimate,
not the next payment timestamp. `yield` and `apr` are annualized percentage
points: `10.95` means 10.95% per year, not a compounded return. Do not
re-annualize an already annualized field.

| Name                                            | Interpretation                                                                                                                                                                                                                         |
| ----------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `perpetual_funding`, `perpetual_yield`          | Each date contains `data` entries keyed by contract `symbol`. The selected series supplies either `funding` or `yield`.                                                                                                                |
| `perpetual_funding_exchange`                    | Entries contain `market`, `symbol`, `funding`, `yield`, `next_fr`. Request `option=C/D` is the retained centralized/decentralized venue taxonomy, not call/put.                                                                        |
| `oi_weighted_funding`                           | Rates and `price` weighted by USD open interest at that timestamp.                                                                                                                                                                     |
| `oi_weighted_volume_funding`                    | Despite its name, weighted by **USD rolling volume**, not open interest.                                                                                                                                                               |
| `_c` / `_u` suffixes                            | Coin-margined / USD-margined subsets, respectively. Not calls and puts. Unsuffixed fields combine eligible subsets.                                                                                                                    |
| `oi_weighted_basis`, `futures_annualized_basis` | Annualized dated-futures basis in percentage points. Weight is open interest divided by `0.001 + abs(days_to_go - target_days)` within the tenor eligibility band. These are not perpetual funding payments or exact-expiry contracts. |
| Basis keys `7`, `30`, …                         | Target maturity in days. The per-market series instead uses venue keys and the request's `days` selector.                                                                                                                              |
| `realized_volatility` keys `3`, `7`, `30`, …    | Lookback days for annualized aggregate-spot realized volatility in percentage points. These are **lookbacks**, not option expiries; the legacy futures route name does not make this futures-price volatility.                         |

Weighted funding preserves the legacy zero result when the selected weight
denominator is nonpositive. RV pivots can likewise retain zero defaults for a
missing tenor. Do not read those defaults as a certification of zero volatility
or a zero funding payment.

## Open interest, volume and positioning

Native `/market/positioning-history`; MCP `get_market_positioning_history`.

For retained futures OI/volume totals, Kraken contract names differing only in
letter case contribute once. If retained copies disagree, the affected USD or
base-asset total is `null`, not zero or a partial sum. The other measure can
remain available. Conflicting product/margin classifications make both measures
unavailable in each affected category. Other venues are not case-normalized.
This rule does not provide original-publication provenance or certify completeness.

For option put/call ratio series:

| Fields                     | Meaning                                                                                                                                                                       |
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `p`, `c`                   | Put/call OI quantities, or volume quantities for the volume series; not IV here. Rounded to four decimals.                                                                    |
| `pc`                       | Put/call quantity ratio `p / c`, rounded to three decimals.                                                                                                                   |
| `p_p`, `c_p`               | USD-equivalent **premium valuation** of put/call quantity, rounded to four decimals. The second `p` means premium. A volume-based valuation is not historical traded premium. |
| `pc_p`                     | Premium-valuation ratio `p_p / c_p`, rounded to two decimals. Not `pc`.                                                                                                       |
| `p_notional`, `c_notional` | Quantity times underlying reference price, summed at the observation timestamp in USD-equivalent units. Not premium valuation.                                                |

In `options_oi_total`, `oi` is total quantity, `notional` is quantity times
underlying reference price, and `premium` is the USD-equivalent option premium
valuation. A positive quantity with an unavailable reference price makes notional
null, including when only part of the aggregate has unavailable inputs. Zero
quantity retains zero. Premium availability is checked independently.

In `options_volume_total`, `volume` is the sum of the retained **volume state** at
that source timestamp: the volume value stored on each snapshot row, in source
quantity units, not unique trades during the requested interval. `notional`
values the base-equivalent quantity at the underlying reference price, and `premium` values it
at the option quotes (inverse or linear denomination, as for OI). Premium is not
realized traded premium. Do not sum successive timestamps to infer turnover.
Request `exchange` (including `aggregate`, which spans every venue) and `currency`;
`BTC_USDC`/`ETH_USDC` on Deribit select the USDC-settled products, while the
aggregate market applies no product filter. Any unavailable required input makes
the corresponding `notional` or `premium` null instead of a partial total.

`options_oi_by_currency` and `options_volume_by_currency` take **only** `currency`
(no `exchange`): they total every retained venue for the base currency, including
venues that no longer publish. Product rules: `BTC`/`ETH` keep other venues' rows
and only Deribit's inverse `BTC-`/`ETH-` contracts; `BTC_USDC`/`ETH_USDC` are
Deribit USDC-settled contracts only; any other currency has no product filter.
`n` is base-equivalent quantity (open interest, or retained volume state) times underlying
reference price in USD-equivalent units, and `ov` is the USD-equivalent premium
valuation of that quantity (null if any contributing valuation is unavailable).
Both are rounded to two decimals; neither is trade volume or realized premium.
Currency is case-insensitive on the compatibility route; product selectors are
normalized before applying their instrument filter.

Daily (`1d`) pages for `options_oi_by_currency` and `options_volume_by_currency`
accept up to **1,440 rows**. Their default remains **2 rows**, so omitting
`limit` does not change existing pagination. For a longer daily page, set
`limit=500` or another value up to 1,440 and restart at `page=1`.

Daily `options_volume_total` with `exchange=aggregate` still has a maximum and
default of **2 rows**. Explicit larger limits on that series return HTTP 400
`POSITIONING_DAILY_PAGE_TOO_LARGE`, with `max_limit`, `requested_limit` and
`retryable: false`. Set `limit=2`, restart at `page=1`, and follow the returned
`total_pages` for the same `start`/`end` range. No rows are silently dropped.
Changing page size requires restarting pagination to avoid overlaps or skips.
This applies equally to REST, the legacy v1 endpoints served by this API, and
MCP. Daily legacy responses calculate `total_pages` using the default of 2 even
when `limit` is omitted. Other resolutions and series keep their existing
defaults and limits. These page limits do not change data coverage, sampling,
field meanings or totals, and do not guarantee response times.

Very large selections, typically multi-year daily windows, are read in smaller
parts automatically. If a single row would still need more data than one read
allows, the request returns HTTP 400 `HISTORY_SELECTION_TOO_LARGE` (or
`POSITIONING_SELECTION_TOO_LARGE` for options positioning) with
`retryable: false` and guidance to narrow `start`/`end`, lower `limit` or use a
coarser resolution. Retrying the same request unchanged does not help.

`options_oi_maturity`, `options_volume_maturity` and `options_oi_volume_maturity`
take `exchange` (one of deribit, okx, binance, bybit, gate, bullish, derive or
paradex; `aggregate` is not accepted), `currency` and `maturity`: an expiry label
such as `2OCT26` or `02OCT26` (case-insensitive; a single-digit day matches the
zero-padded label) or `ALL` for every expiry listed at the observation time. On
the compatibility routes the path literal `all` selects every expiry and
`ALL`/`All` are rejected, as on v1. On Deribit, `BTC`/`ETH` select the inverse
contracts and `BTC_USDC`/`ETH_USDC` the USDC-settled products; other venues use
the base currency only. Each row carries eleven fields per quantity: the total
(`oi` or `volume`), its `_usd` and `_premium` valuations, the put/call split
(`oi_p`/`oi_c`, `v_p`/`v_c`) with their own `_usd` and `_premium` valuations, and
the `_pc_ratio`/`_pc_premium_ratio` pair. Volume fields use the `v_` prefix
(`v_usd`, `v_premium`, `v_p`, `v_pc_ratio`); the combined series lists the volume
block before the open-interest block. Quantities are in contract quantity units,
rounded to two decimals; as on v1 they are null only when a contributing venue
quantity is not a finite number. `_usd` is quantity times the underlying
reference price and `_premium` the USD-equivalent premium valuation at the
observation quotes; both are rounded to two decimals and are null when any
contributing positive quantity lacks a valid input. Ratios are rounded to two
decimals, capped at 5 and null when the call side is zero. `volume` is retained
venue-reported volume state at the sampled time, not unique trades in the
interval; do not sum successive timestamps. Wide `ALL` pages on busy venues can
reach the shared capacity limit; use a smaller `limit`.

In `options_oi_by_market`, `n` is market-wide USD-equivalent underlying notional,
and `ov` is USD-equivalent option premium valuation across all retained currencies.
Neither is trade volume. The request takes `exchange` and no currency filter.
Any unavailable required input makes the corresponding `n` or `ov` total null;
one field can be available while the other is unavailable. For unchanged
observations, totals are exactly reproducible between requests.

`options_volume_by_market` takes one `exchange` and includes every option
currency and settlement product there. It accepts no `currency`, `maturity` or
`option` filter. The equivalent legacy path is
`/historical/options/total/volume_by_market/{market}`.
Here `n` is USD-equivalent notional volume and `ov` is the USD-equivalent premium
valuation of that volume. These are the venue-reported volume values at each
timestamp, **not trades during the requested interval**. Do not sum successive
snapshots into turnover. Missing required valuations remain null, independently
for each field; zero remains zero. Resolution samples the UTC grid without
averaging or filling gaps. The default page contains 10 rows, with a maximum of
1440, including at daily resolution.

Strike distributions group the selected hour by `strike`: `c`/`p` sum retained
call/put observations over that hour; `notional_c`/`notional_p` sum quantity
times reference price. Repeated observations within the hour contribute:
these are **not a single-instant OI snapshot or unique interval trade volume**.
Max-pain rows instead carry `maturity`, `max_pain` (a strike-price level) and
`index_price`; multiple maturities can share one date.

For futures/perpetual positioning, `perpetual` and `future` are separate venue
maps. A key such as `DERIBIT` is USD-equivalent OI/volume, while
**`DERIBIT_notional` is base-asset quantity**, despite that legacy suffix.
The volume series samples rolling volume; it does not sum the requested hour/day.

For margin breakdowns (`futures_oi_by_margin` and `futures_volume_by_margin`),
read the name left to right:

| Part                       | Meaning                              |
| -------------------------- | ------------------------------------ |
| `f` / `p`                  | Dated futures / perpetuals           |
| `u` / `c`                  | USD-margined / coin-margined         |
| no final `_n` / final `_n` | USD-equivalent / base-asset quantity |

Example: `p_c_n` is **perpetual, coin-margined OI in base units** (or, for
`futures_volume_by_margin`, sampled rolling 24-hour volume in base units).
Do not interpret `p` and `c` here as put and call.

## Retained summaries and option trades

Native `/market/summary-history`; MCP `get_market_summary_history`.
Both `derivatives_summary` and `futures_alt_summary` use retained perpetual
observations under their legacy calculations. `open_interest` is USD notional;
`volume` is source rolling-24h USD volume, not requested-window turnover.
`price`, `funding`, `next_fr` and `yield` preserve their legacy OI weighting and
fallbacks. Funding remains in the source interval convention; `yield` is the
source annualized rate, not a compounded return. `liquidations_long` and
`liquidations_short` are rolling-24h USD liquidations by liquidated position side,
rounded to dollars. `market_cap` is the source hourly USD enrichment.

The venue series take `exchange` instead of `currency`. `futures_exchange_activity`
(legacy `aggregate_exchange_data/{market}`) sums one venue's dated futures and
perpetuals per observation: `open_interest` and `volume` in USD and an
OI-weighted `funding` (0 without open interest). `futures_global_activity`
(legacy `global_activity_futures/{market}`) covers the venue's dated futures
only, with `is_centralized`, the stored `market` name, OI-weighted `yield` and
rolling-24h `liquidations_long`/`liquidations_short` in whole dollars. As on v1,
those liquidation sums are attached at whole hours for `1h` sampling and
otherwise at five-minute marks; other observations report 0. Observations where
the venue has no rows are not returned, so `meta.total` counts observed
timestamps, not calendar slots. The venue must be one of the legacy futures
venues (BINANCE, BULLISH, BYBIT, DERIBIT, HYPERLIQUID, KRAKEN, NADO, OKX,
BITFINEX, BITGET, COINBASE, DYDX, HUOBI, PARADEX); any other value is rejected.
The derivatives series truncates **only** `oi_volume24h = open_interest / volume`
to three decimals and adds `rv` (aggregate spot realized volatility, percentage
points, keys in lookback days). An absent RV observation leaves an empty object.

Native `/options/trade-history`; MCP `get_options_trade_history`.
Select an exchange, currency and UTC calendar `date`, then page individual trade
rows. This is not the strategy-grouped trades route described next. `direction=0`
means buy and `1` sell. `amount` is retained venue/product quantity, while `price` and
`mark_price` are option premiums in source units (coin for inverse products,
USD/stablecoin for linear products). No extra multiplier is applied.
`index_price` is the stored trade reference; `implied_vol` is percentage points.
Trade and block IDs are opaque: preserve numeric/string/null representation.
`tick_direction`, `liquidation` and `trade_seq` are venue-specific source fields;
unavailable values remain null, not zero. Ordinary venues order by source time;
order among equal timestamps is not guaranteed. The compatible response has no
`meta.total_pages`; calculate it from `meta.total` and your explicit limit.

Native `/options/trade-history/strategy-groups`; MCP `get_options_trade_group_history`;
compatible with `/historical/options/v2/trades/{market}/{currency}`. Select an
exchange (deribit, okx, binance, bybit, gate, bullish, derive or paradex), a
currency and a UTC calendar `date`, then page strategy groups: one row per
second, venue, currency, strategy and block trade id. `date` on the row is Unix
seconds; each entry of `trades` carries the 39 v1 trade fields, including
`contracts` (the same value as `amount`), `date` as UTC `YYYY-MM-DD HH:mm:ss.SSS`,
`timestamp` in Unix milliseconds and the trade's `delta`, `gamma`, `vega` and
`theta`. Here `direction` is the string `buy` or `sell`, unlike the individual
route's `0`/`1`. `summary.tot_p` sums premium with sells positive and buys
negative; `tot_amnt` and `tot_not` are the amount and USD notional totals, and
the summary Greeks are those of one trade of the group, not sums. `iv` is in
percentage points; quantities, premiums, nulls and identifiers are source-native,
and an empty identifier string is distinct from null. `meta.total` counts
second/venue/currency/strategy combinations without the block trade id, so the
group rows of all pages can exceed it and `total_pages` derives from that count.
`sortBy` accepts `date`, `notional`, `amount`, `premium`, `delta`, `gamma`,
`vega`, `theta`, `blockTradeId` (which also drops groups without a block trade
id) and `strategy`; `order` applies only together with `sortBy`. Trade order
inside a group is not guaranteed. The compatible route also accepts an ISO
instant or epoch `date` selecting from the UTC start of that day up to the
instant, omits `meta.page` when `page` was not supplied and reports
`total_pages` equal to `total` when `limit` was not supplied, as on v1.

## Volatility surfaces, skew and bands

Native `/options/volatility-history`; MCP `get_options_volatility_history`.

- Numeric surface keys such as `7` and `30` mean target tenor days. IV levels
  use percentage points; risk reversal and butterfly use volatility-point
  differences. Model versus market series are distinct publications.
- In `atm_iv_model`, `type=YIELD` is a signed annualized yield in percent, and
  `SLOPE` is the retained surface slope—not an IV level. Delta selectors such
  as `25C`/`25P` identify the call/put model point, not 25-day expiry.
- In actual-volatility rows, `atm`, `c`, `p` are the served ATM/call/put IV
  operands. For `actual_skew_model`, `d = round((p - c) / atm * 100, 2)` using
  four-decimal served operands and binary floating-point arithmetic. For actual
  RR/butterfly, `d` is the retained model RR/butterfly result in volatility
  points, **not** that normalized skew ratio. Near rounding ties, operation
  order and binary representation matter.
- `iv_rv` keys `iv_30` and `rv_30`, for example, mean 30-day model-IV tenor and
  30-day realized-volatility lookback. The RV side is aggregate spot, not an
  exchange-specific options measurement.
- `iv_bid_ask` contains tenor maps `{b,a,m}`: bid, ask, mark IV in percentage
  points. Mark is independently calculated, not `(bid + ask)/2`.
- `dvol` is Deribit's volatility index; `index` alongside it is the asset
  reference price. The legacy `vix` estimator is different and supplies
  15/30/90/180-day values, not a 60-day field.
- `gex` is the signed sum of `gamma * underlying_price * open_interest`
  (puts negative, calls positive), without another price or 1%-move multiplier.
  `vex` is the legacy vanna-style term, not ordinary option vega. Per instrument
  it is `-0.01 * (d2 / sigma) * phi(d1) * underlying_price * open_interest * sign / 1000`,
  where `sigma = mark_iv / 100`, `t = daystogo / 365`,
  `d1 = (ln(underlying_price / strike) + sigma²*t/2)/(sigma*sqrt(t))`,
  `d2 = d1 - sigma*sqrt(t)` and `phi` is the standard-normal density.
  `gex_plus = gex + vex`. These legacy scales are not interchangeable with
  modern exposure endpoints.

Gamma bands are **price levels**, not IV or GEX. Their `vwap` is a legacy name
for `(first open + last open + highest high + lowest low) / 4` from the
preceding six-hour spot block; **it is not volume-weighted**. `price` is the
option-input reference used for scaling. Let
`daily_move = price * ATM_IV / (sqrt(365)*100)` and
`skew_shift = price * (25-delta-call-IV - 75-delta-call-IV)/(sqrt(365)*100)`.
Upper bands add `daily_move + skew_shift` to the anchor at multipliers
¼, ½, 1 and 2; lower bands subtract `daily_move - skew_shift` at those
multipliers. The observation timestamp is not the spot-anchor timestamp.
Unavailable observations are omitted, not filled with zero bands; rows are
newest first, and daily requests are limited to 31 inclusive UTC dates.

`skew_spread` (legacy `/historical/options/spread/type/skew/{market}/{type}`)
is the market skew of ETH minus BTC on one venue at the selected delta
(`10D` or `25D`), keyed by tenor in days and rounded to two decimals. It takes
`exchange` and `type` only; an observation and tenor is returned only when
both currencies published it. Venues follow the legacy option venue list; a
venue without surface points returns no rows.

`expiry_atm_iv` (legacy `/historical/options/maturity/atm_iv_h/{market}/{currency}/{maturity}`)
is the ATM implied volatility of one listed expiry: at each observation, `iv` is
the implied volatility of the option of that expiry whose strike is nearest the
underlying price (the index price when the underlying price is absent), in
percentage points rounded to four decimals. Options without an implied
volatility are skipped; when a call and a put share the nearest strike, the call
is used. `maturity` is `DMMMYY` or `DDMMMYY` (`2OCT26` and `02OCT26` are the same
expiry). The currency selects every settlement of that currency on the venue,
except on Deribit, where `BTC` and `BTC_USDC` (and `ETH`, `ETH_USDC`) are
distinct. Venues follow the legacy option venue list; as on v1, `AGGREGATE` and
the expiry `all` return no rows. The compatibility route also keeps v1's minute
and hour steps, such as `granularity=10m`.

## Settlement funding rates

Native `/derivatives/settlement-funding-history`; MCP `get_derivatives_settlement_funding_history`.

One perpetual (`instrument_name`, e.g. `BTCUSDT` on Binance) on one venue: `funding_rate`
is the rate the venue settled at each funding time `date`, as a fraction per funding
interval, not annualized and not the continuously quoted rate. Rows are ordered by time; a
settlement time can appear more than once where the venue record repeats it. Huobi settlement
funding ended at `2026-12-02T08:00:00Z` (8-hour schedule; the `16:00:00Z` settlement is not
written) and Aevo settlement funding ended at `2026-12-02T11:00:00Z`; retained Huobi
settlement funding history remains readable on this endpoint (Aevo is not a selectable
exchange on this v2 endpoint).

## Option instrument volume

Native `/options/instrument-volume-history`; MCP `get_options_instrument_volume_history`.

One option instrument (`instrument_name`, e.g. `BTC-25DEC26-100000-C`) on one venue:
`volume` is the traded quantity per UTC bucket and taker `direction` (`buy`, `sell`,
or `unknown` where the venue reports none), in the instrument quantity unit, not USD.
`date` is the bucket start. The bucket follows the window length: up to 14 calendar
days 1 hour, up to 31 days 2 hours, up to 180 days 4 hours, up to 365 days 12 hours,
otherwise 1 day. Rows are ordered by bucket, then direction; a page counts
bucket/direction rows, not trades.

## Market snapshots

Native `/market/snapshot-history`; MCP `get_market_snapshot_history`.

These retain **generation-dependent** schemas and conventions. Option premium,
IV, strike, right (`claim_type`) and displayed best-price/size fields follow
the distinctions above. `underlyer` is a label such as `BTC_USD`, not a
settlement-currency guarantee. `exercise` and `settlement` are legacy labels;
the 08:00 UTC formatted expiry is not an exchange-native expiry-time certificate
for every venue.

Important differences:

- Options `underlyer_spot` is the spot index and `forward_price` the underlying
  price the venue published for that expiry, in every period. Until 2025-11-25,
  snapshots from 2025-02-24 00:00 to 2025-08-19 23:59 UTC returned the two the
  other way round and spelled expiry days with a leading zero
  (`BTC-07MAR25-96000-P`); they now use the venue's names (`BTC-7MAR25-96000-P`).
  See the data-corrections feed.
- `forward_price` can equal `underlyer_spot`. Deribit at times publishes the
  index as the underlying price of short-dated expiries, for example the 4, 5
  and 6 April 2026 BTC expiries from 2 April 2026 12:00 UTC. The snapshot keeps
  what the venue published; no separate forward exists for those times.
- Option instrument names are the venue's. To match the same contract across
  periods, use `expiration_date`, `strike` and `claim_type`.
- Archived options can retain numeric strings and omitted fields. A field's
  absence is not automatically numeric zero.
- Ordinary options `volume` is retained venue volume; dynamic-volume snapshots
  instead calculate rolling trade quantity for the requested resolution.
  `underlying_index` can be a synthetic `SYN.` label, not a tradable contract.
- `futures_dynamic_volume` and `perpetuals_dynamic_volume` are futures and
  perpetual snapshots from stored minute rows whose `volume` (base asset) and
  `volume_usd` are trade-derived over the requested resolution ending at that
  minute, not the venue's rolling 24-hour volume. As with dynamic-volume
  options, a page is one elapsed resolution slot from the request start (`limit`
  1); `total` counts observed timestamps, so a page can be empty.
- Derivative snapshot `volume` is **base-asset volume** and `volume_usd` is
  USD-equivalent volume. This differs from derivative _instrument-history_
  `volume`, which is USD-equivalent.
- Futures, perpetuals and ordinary options before 20 August 2025 are read from
  archived snapshots (dynamic-volume options always use stored minute rows). There, `date` is the **requested grid slot**: the request start
  truncated to the minute plus a multiple of the resolution, not aligned to UTC
  hours or days. The stored observation time, where present, is the `datetime`
  text, which can lack a timezone suffix; in option snapshots it appears mainly
  in March 2024 and is typically 12–13 seconds before `date`. Futures/perpetual
  archives split into two generations at 1 November 2024; options archives at
  24 February 2025.
- Ordinary options from 20 August 2025 use the UTC grid of the resolution
  (whole hours for `1h`); `date` is that grid minute. In no period is `date`
  the venue's own event or publication time. Snapshot values are served as
  recorded and are not recomputed; any correction is published in the
  data-corrections feed.
- Every page of an ordinary options window holds the requested time: page _k_
  is the _k_-th grid time of the window (start and end inclusive). When no chain
  is available for that time, the page is empty, and native pages list the time
  in `missing_object_timestamps`; a later time is never returned instead. About 205
  hours of 2022-10 to 2025-08 have no stored snapshot; most have one a minute
  earlier, which `1m` returns.
- Archived numbers in the older generations and in post-November-2024
  futures/perpetual rows are coerced: a stored null or empty value is returned
  as **0**, while an absent field is returned as null. A zero there is not
  proof of a zero observation. Futures/perpetual `mark_price` 0 is returned as
  null, except in post-November-2024 perpetual rows, where 0 is kept.
- Archived perpetual `fr`/`next_fr` and derivative `open_interest` keep the
  archived source convention. The percentage-point funding and USD-equivalent
  open-interest conventions documented for instrument history are not verified
  for these archives.
- Compatibility archive aliases read snapshots only when both `page` and `limit`
  are sent, omit `total_pages`, and repeat the generation-boundary slot in both
  generations. Native pages place each slot in exactly one generation.
- Compatibility `meta` for options: windows ending before 2025-08-20 return
  `{total, items, page, limit}`; windows reaching 2025-08-20 or later return
  `{total, items, page, total_pages}`. In both, `total` counts the requested
  times of the window, and a window crossing 2025-08-20 pages through each time
  once, in order.
- Pages select timestamps, not a fixed number of instrument rows. Use
  `count_basis`, `selected_snapshots`, `returned_snapshots`,
  `missing_object_timestamps` and `empty_snapshot_timestamps` to distinguish
  missing archive slots from present snapshots with no matching instruments.

## Spot volume by venue

Use `/spot/volume-by-exchange-history`, MCP
`get_spot_volume_by_exchange_history`, or the compatible
`/historical/spot/volume_by_exchange/{period}` URL when present in the deployed
route mapping. Select `1m`, `5m`, `15m`, `30m`, `1h` or `1d`. Each result has a
UTC `date` in milliseconds and one numeric field for each reported venue.
There is no currency or pair filter. Absent venues are omitted, not zero-filled.

Amounts sum quote-currency volume across the venue's pairs. These can mix
different quote currencies and must not be treated as uniformly USD volume.
Before 1 January 2024, the requested-period volumes are used; from that date,
the interval totals use minute volumes only, without an hourly or daily
fallback. This differs from the retained single-pair candle behaviour below.
The first and last intervals include only activity within the requested bounds;
an inclusive midnight end adds that instant, not the rest of the day.

Pages count intervals, not venues, with a default of 10 and a maximum of 1440.
No missing interval is invented. Five-minute intervals are supported; the
older compatible route could fail for that period after 1 January 2024.
Availability and speed remain subject to verification for the requested dates.

## Spot candles and liquidations

Native `/spot/candle-history` and `/derivatives/liquidation-history`; MCP
`get_spot_candle_history` and `get_derivatives_liquidation_history`.
Use these only when present in the deployed route mapping.

Spot `open/high/low/close` are quote currency per base unit. `volume_base` and
`volume_quote` are in base and quote units: BTC-USDT quote volume is
USDT, not certified USD. Older quote volume is not universally an executed
notional: Coinbase, Kraken and Hyperliquid candles can carry base volume ×
that candle's close. When combining minute candles, their estimates are added.
Other generations can preserve a venue-reported quote volume or zero when
unavailable; the response does not label that calculation per row. Do not
infer VWAP from the ratio of the two volumes. See the
[worked spot comparison](data-products.md#compare-the-two-spot-candle-products).
`date` is UTC candle start for buckets from 1 January
2024; earlier rows keep their stored candle timestamp. Before 1 January 2024 the
reader selects stored requested-period candles; thereafter minute candles take
priority; only `1h` and `1d` fall back to stored same-period rows, and only for
a bucket without minute rows (`5m`, `15m`, `30m` use minute rows only; there is
no `4h`). This retained source is separate from modern `/spot/ohlcvt` and has
no VWAP, trade counts or buy/sell split. It filters source timestamps
by the request **before** constructing candles: an edge bucket may be partial,
its start may precede `start`, and moving a bound inside it can change its
values or fallback choice. Page size does not change that source selection.
Request complete periods when comparing complete candles. No missing candles
are invented.

Liquidation `usd_amount` sums retained contributions at **one source timestamp
and liquidated-position side**, in USD, after replacement of retained copies.
`side=long` means long positions liquidated, not buyer-initiated trades;
`short` means short positions. `resolution=1d` selects midnight—it does **not**
sum that day's liquidations. `aggregated` includes retained markets, not only
currently active venues. Missing side rows are not zeros; null preserves an
unclassified side. Pages count side rows and may split one timestamp. No finite
finalization delay is certified, so first-read values should not be assumed
immutable merely because the clock bucket has ended.
