# Markets

The Markets group provides cross-market snapshots and dashboard data — price movers, symbol leaderboard, exchange distribution, and sentiment histograms. It also exposes per-symbol detail endpoints (timeseries, exchange breakdown, aggregated stats) and per-exchange detail endpoints.

## Freshness

Market snapshot endpoints expose fields with different refresh cadences. Price fields such as `price_usd` and `price_24h_change_pct`, plus current funding fields such as `funding_current_bps`, `top_funding_bps`, and `top_funding_exchange`, generally refresh about once per minute. Rolling aggregate fields such as 24h volume, OI, 24h liquidations, and funding averages can refresh on the slower aggregate cadence, typically about 10 minutes.

The response `timestamp` reflects the latest materialized market snapshot, not that every field was recomputed from source at that exact second.

---

## Endpoints

| Method | Path | Tier | Summary |
|--------|------|------|---------|
| GET | [/markets/movers](/docs/api/markets/movers) | Dev | Top symbols by 24h volume or OI change. |
| GET | [/markets/liquidation-movers](/docs/api/markets/liquidation-movers) | Dev | Symbols with the largest 24h liquidation USD change. |
| GET | [/markets/funding-leaders](/docs/api/markets/funding-leaders) | Dev | Top 10 highest or lowest funding rate symbol×exchange pairs. |
| GET | [/markets/distribution](/docs/api/markets/distribution) | Dev | Symbol distribution by OI or volume — pie-chart data. |
| GET | [/markets/price-buckets](/docs/api/markets/price-buckets) | Dev | Histogram of symbols bucketed by 24h price change. |
| GET | [/markets/price-movers](/docs/api/markets/price-movers) | Dev | Top price gainers and losers by 24h percentage change. |
| GET | [/markets/exchange-distribution](/docs/api/markets/exchange-distribution) | Dev | Per-exchange rollup: symbol count, volume, OI, liquidations, and OI/vol ratio. |
| GET | [/markets/exchanges](/docs/api/markets/exchanges) | Dev | Exchange list with stats and 7d volume sparkline. |
| GET | [/markets/exchanges/all](/docs/api/markets/exchanges-all) | Pro | Bulk symbol×exchange map — every symbol's per-exchange rows in one response. |
| GET | [/markets/exchanges/{exchange}/symbols](/docs/api/markets/exchange-symbols) | Dev | Full symbol rows from one exchange's snapshot, sorted by volume. |
| GET | [/markets/exchanges/{exchange}/stats](/docs/api/markets/exchange-stats) | Dev | Aggregated totals for one exchange: volume, OI, and derived ratios. |
| GET | [/markets/exchanges/{exchange}/timeseries](/docs/api/markets/exchange-timeseries) | Dev | Volume and OI timeseries for one exchange over a configurable range. |
| GET | [/markets/symbols](/docs/api/markets/symbols) | Dev | Global symbol leaderboard with price, volume, OI, funding, and liquidations. |
| GET | [/markets/{symbol}/timeseries](/docs/api/markets/symbol-timeseries) | Dev | Volume and OI timeseries for one symbol with per-exchange breakdown. |
| GET | [/markets/{symbol}/distribution](/docs/api/markets/symbol-distribution) | Dev | Per-exchange OI or volume share for one symbol. |
| GET | [/markets/{symbol}/exchanges](/docs/api/markets/symbol-exchanges) | Free | Full per-exchange market rows for one symbol. |
| GET | [/markets/{symbol}/stats](/docs/api/markets/symbol-stats) | Free | Aggregated price, volume, OI, and funding across exchanges for one symbol. |
