CoinBoss Public API
A free, public REST and WebSocket API for crypto derivatives data: open interest, funding rates, liquidations, long/short ratios, order-book depth, ETF flows and more. CoinBoss collects the data directly from exchange APIs, stores the raw records and computes every aggregate with a published formula.
https://www.coinboss.com/apiQuickstart
Send a request
Every endpoint is a plain HTTPS GET that returns JSON. There is no signup and no key: copy the command and run it.
Read the envelope
success tells you whether the call worked. Data-layer endpoints also return coverage (which exchanges are included and which are not, with the reason), method (the formula behind each aggregate) and meta (timestamps, freshness, cache lifetime).
Handle nulls and errors
A missing value is null, never 0. A failed call returns success: false with a machine-readable code and a request_id that you can quote when reporting a problem.
curl -s "https://www.coinboss.com/api/sd/oi?coin=BTC"Real response, captured 2026-12-06 10:14 UTC
- "success"true
- "coin""BTC"
- "now"1796552041519
- "total_usd"33031659065.67
- "n_exchanges"22
- "n_contracts"26
- "asof"1796552036000
- "total_usd_single_adjusted"29863716724.505005
- "double_sided"
- "by_kind"
- "by_margin"
- "by_contract_type"
- "change"
- "by_exchange"
- "contracts"
- "coverage"
- "method"
What the API covers
Cross-exchange aggregates
Open interest, funding, liquidations, long/short ratio and volume per coin, aggregated across exchanges with the per-exchange breakdown in the same response.
Contract-level detail
USDT, USDC and coin-margined perpetuals plus dated futures, each row carrying its exchange, contract and data timestamp.
History for charts
Time series for open interest, funding settlements, liquidation buckets, volume and K-lines, with explicit windows and bucket sizes.
Real-time stream
A WebSocket pushes liquidation orders and price ticks as they arrive. HTTP endpoints cover backfill after a reconnect.
Market context
Spot ETF flows and holdings, options open interest and max pain, CME positioning, indices and exchange reserves.
Quality as data
Every exchange and data family is graded FRESH, PARTIAL, STALE, BROKEN or UNAVAILABLE from data timestamps. The grade is an endpoint too.
Data categories
Each category links to its endpoints. The counter shows how many endpoints passed the latest real-call check.
Markets & Spot
23/23 availableCoin lists, spot prices, market cap, performance, candles, movers and per-venue spot markets.
Futures
10/10 availableDerivatives tickers, screeners, volume, candles and technical series per coin.
Open Interest
5/6 availableOpen interest per coin, exchange and contract, with history and explicit single / double-sided handling.
Funding Rates
12/13 availableCurrent, 8h-normalised, weighted, historical and accumulated funding rates across venues.
Long / Short
10/10 availableAccount ratio, position ratio and taker buy/sell — kept as separate measures, never blended.
Liquidations
23/23 availableLiquidation prints, per-coin and per-exchange totals, largest orders and time series.
Liquidation Models
8/8 availableModel-based liquidation heatmaps, maps, cluster levels and max pain. Estimates, not exchange data.
Order Book
4/4 availableDepth within ±0.5 / 1 / 2 % of mid, slippage for a given order size and large resting orders.
Basis & Premium
11/11 availableFutures-spot basis, perp premium index and cross-venue price premiums.
Exchanges
20/21 availableExchange rankings, per-exchange markets, volume share, on-chain balances and reserves.
ETF
9/12 availableSpot and futures ETF flows, AUM, holdings, fund profiles and trust premiums.
Options
13/13 availableOptions open interest, volume, put/call ratio, max pain and implied volatility.
CME & CFTC
2/3 availableCME futures data and CFTC Commitments of Traders positioning.
Hyperliquid
25/25 availableMarkets, whale and tier positioning, vaults, address state and HYPE burn.
Stocks & RWA
18/20 availableStock perps, tokenized stocks, pre-IPO contracts and TradFi-perp liquidations.
Categories
4/4 availableCoin categories / sectors with their member coins, and token unlocks.
Indices & Indicators
25/26 availableFear & Greed, altcoin season, cycle and valuation indicators, macro and sentiment series.
On-chain
18/33 availableBTC on-chain metrics, rich lists, treasuries and chain lookups.
Market Aggregates
17/17 availableMarket-wide totals: volume, open interest, liquidations, dominance, market cap and stablecoins.
Meta & Utilities
15/15 availableAPI catalog, status, data quality, changelog, OpenAPI document, health, icons and FX rates.
WebSocket
1/1 availableReal-time liquidation and price stream.
How fresh the data is
Freshness is measured from the timestamp of the newest stored record, per exchange and data family. A family counts as FRESH while that record is younger than its fresh window.
| Data family | Contains | Collection | Fresh window | Exchanges fresh now |
|---|---|---|---|---|
| Futures tickers | last price, 24h volume and price change per contract | every minute (REST) | 5m | 23 / 25 |
| Open interest | open interest per contract in USD notional | every 5 minutes; core contracts every minute; hourly snapshot to history | 15m | 22 / 23 |
| Funding rate | current / predicted funding rate, interval and next settlement time | every 5 minutes; hourly snapshot to history | 15m | 24 / 24 |
| Funding settlements | realised funding rate at each settlement | after each settlement | 9h | 6 / 16 |
| Liquidations | liquidation orders (exchange WebSocket / REST feeds) | real time (WebSocket) or short-interval polling, per exchange | 30m | 11 / 11 |
| Long/short ratio | account, top-trader and taker long/short ratios | every 5 minutes; hourly snapshot to history | 1.5h | 1 / 7 |
| Spot volume | spot 24h volume per coin and exchange | every 10 minutes | 30m | 13 / 13 |
| Coin-margined / USDC / delivery contracts | contracts outside the USDT-perpetual set (price, OI, volume, funding) | every 2 minutes | 6m | 0 / 11 |
| Order book (perpetual) | Depth within ±0.5 / 1 / 2 % of mid and market-order slippage, from order-book snapshots. | every 2 to 5 minutes for the most traded coins, every 10 to 20 minutes for the rest | 5m | 2 / 23 |
| Order book (spot) | Depth within ±0.5 / 1 / 2 % of mid and market-order slippage, from order-book snapshots. | every 2 to 5 minutes for the most traded coins, every 10 to 20 minutes for the rest | 5m | 1 / 15 |
| Basis (mark / index) | Mark and index prices of perpetual and delivery contracts, used for basis. | 60 s | 3m | 16 / 21 |
| Options | Option contracts: open interest, volume, mark IV and greeks. | 10 min | 25m | 5 / 6 |
Exchange coverage
29 exchanges across 12 data families. A dash means the exchange has no public endpoint for that data or CoinBoss does not collect it; the data quality page lists the reason for each cell.
| Exchange | Futures tickers | Open interest | Funding rate | Funding settlements | Liquidations | Long/short ratio | Spot volume | Coin-margined / USDC / delivery contracts | Order book (perpetual) | Order book (spot) | Basis (mark / index) | Options |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| aster | FRESH | FRESH | FRESH | STALE | FRESH | — | — | — | PARTIAL | — | FRESH | — |
| backpack | FRESH | FRESH | FRESH | — | — | — | — | — | FRESH | PARTIAL | FRESH | — |
| binance | FRESH | FRESH | FRESH | FRESH | FRESH | FRESH | FRESH | STALE | PARTIAL | PARTIAL | FRESH | FRESH |
| bingx | FRESH | PARTIAL | FRESH | STALE | — | — | — | STALE | PARTIAL | PARTIAL | PARTIAL | — |
| bitfinex | FRESH | FRESH | FRESH | — | FRESH | — | FRESH | — | FRESH | FRESH | FRESH | — |
| bitget | FRESH | FRESH | FRESH | FRESH | FRESH | PARTIAL | FRESH | STALE | PARTIAL | PARTIAL | FRESH | — |
| bitstamp | — | — | — | — | — | — | FRESH | — | — | — | — | — |
| bitunix | FRESH | — | FRESH | — | — | — | — | — | PARTIAL | — | PARTIAL | — |
| bybit | FRESH | FRESH | FRESH | FRESH | FRESH | PARTIAL | FRESH | STALE | PARTIAL | PARTIAL | FRESH | FRESH |
| cme | — | FRESH | — | — | — | — | — | — | — | — | — | — |
| coinbase | STALE | — | — | — | — | — | FRESH | — | — | PARTIAL | — | — |
| coincall | — | — | — | — | — | — | — | — | — | — | — | FRESH |
| cryptocom | FRESH | FRESH | FRESH | STALE | — | — | FRESH | — | PARTIAL | PARTIAL | PARTIAL | — |
| deribit | FRESH | FRESH | FRESH | STALE | FRESH | — | — | STALE | PARTIAL | — | PARTIAL | PARTIAL |
| dydx | PARTIAL | FRESH | FRESH | STALE | — | — | — | — | PARTIAL | — | — | — |
| edgex | FRESH | FRESH | FRESH | — | — | — | — | — | PARTIAL | — | — | — |
| gate | FRESH | FRESH | FRESH | FRESH | FRESH | PARTIAL | FRESH | STALE | PARTIAL | PARTIAL | FRESH | FRESH |
| gemini | — | — | — | — | — | — | FRESH | — | — | — | — | — |
| htx | FRESH | FRESH | FRESH | FRESH | FRESH | PARTIAL | FRESH | STALE | PARTIAL | PARTIAL | PARTIAL | — |
| hyperliquid | FRESH | FRESH | FRESH | STALE | FRESH | — | — | — | PARTIAL | — | FRESH | — |
| kraken | FRESH | FRESH | FRESH | STALE | — | PARTIAL | FRESH | STALE | PARTIAL | PARTIAL | FRESH | — |
| kucoin | FRESH | FRESH | FRESH | STALE | — | — | — | STALE | PARTIAL | PARTIAL | FRESH | — |
| lbank | FRESH | — | FRESH | — | — | — | — | — | PARTIAL | — | FRESH | — |
| lighter | FRESH | FRESH | FRESH | — | FRESH | — | — | — | PARTIAL | — | FRESH | — |
| mexc | FRESH | FRESH | FRESH | STALE | — | — | FRESH | STALE | STALE | PARTIAL | FRESH | — |
| okx | FRESH | FRESH | FRESH | FRESH | FRESH | PARTIAL | FRESH | STALE | PARTIAL | PARTIAL | FRESH | FRESH |
| paradex | FRESH | FRESH | FRESH | — | — | — | — | — | PARTIAL | — | FRESH | — |
| tradexyz | FRESH | FRESH | FRESH | — | — | — | — | — | — | — | — | — |
| whitebit | FRESH | FRESH | FRESH | STALE | — | — | — | — | PARTIAL | PARTIAL | FRESH | — |
Evaluated 2026-12-06 10:18 UTC · Open the full data quality matrix →
Data quality principles
Collected by CoinBoss
Derivatives metrics come from exchange REST and WebSocket APIs, collected and stored by CoinBoss. A few market-context endpoints use other public sources; every reference page names the source of its data.
Null is not zero
If an exchange offers no public endpoint for a metric, or a value has gone stale, the field is null and coverage.unavailable states why. Gaps are never filled with 0 or interpolated values.
Published formulas
Aggregates state their method: unit, window, how multiplier contracts are merged, funding normalised to an 8-hour interval, and which rows were excluded.
Three timestamps
observed_at is the exchange's own time, received_at is when the collector stored the record and fetched_at is when the response was assembled, so you can measure the lag yourself.
Differences have reasons
Figures can differ from other data sites because of capture time, exchange coverage, contract types, units and window definitions. Compare those before treating a difference as an error.
Common workflows
Funding-rate monitor
Poll the funding endpoint for a coin once a minute, read the 8-hour normalised average and the per-exchange rows, and use settlement history for realised rates.
Liquidation feed
Subscribe to the WebSocket for live liquidation orders, backfill the gap after a reconnect from the feed endpoint, and use the aggregate endpoint for window totals.
Open-interest dashboard
Read the aggregate and per-exchange open interest for a coin, then pair it with the history endpoint to chart changes over time.
Gate your pipeline on quality
Before trusting a number, read the quality matrix for the exchange and data family you depend on, and check the service status endpoint in your health checks.
Next steps
Unavailable documented for completeness; no lawful public source yet, the endpoint returns nulls or is not served