Overview

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.

No API key required299 endpoints29 exchangesAPI v1
Base URLhttps://www.coinboss.com/api
Current status273 of 298 endpoints passed the last real-call checkchecked 3m agoStatus →

Quickstart

1

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.

2

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).

3

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"

View docs: /api/sd/oi · Open in Playground

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": { … 2 },
    • "by_kind": { … 2 },
    • "by_margin": { … 4 },
    • "by_contract_type": { … 2 },
    • "change": { … 2 },
    • "by_exchange": [ … 2 ],
    • "contracts": [ … 2 ],
    • "coverage": { … 5 },
    • "method": { … 5 }
    }

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 available

Coin lists, spot prices, market cap, performance, candles, movers and per-venue spot markets.

Futures

10/10 available

Derivatives tickers, screeners, volume, candles and technical series per coin.

Open Interest

5/6 available

Open interest per coin, exchange and contract, with history and explicit single / double-sided handling.

Funding Rates

12/13 available

Current, 8h-normalised, weighted, historical and accumulated funding rates across venues.

Long / Short

10/10 available

Account ratio, position ratio and taker buy/sell — kept as separate measures, never blended.

Liquidations

23/23 available

Liquidation prints, per-coin and per-exchange totals, largest orders and time series.

Liquidation Models

8/8 available

Model-based liquidation heatmaps, maps, cluster levels and max pain. Estimates, not exchange data.

Order Book

4/4 available

Depth within ±0.5 / 1 / 2 % of mid, slippage for a given order size and large resting orders.

Basis & Premium

11/11 available

Futures-spot basis, perp premium index and cross-venue price premiums.

Exchanges

20/21 available

Exchange rankings, per-exchange markets, volume share, on-chain balances and reserves.

ETF

9/12 available

Spot and futures ETF flows, AUM, holdings, fund profiles and trust premiums.

Options

13/13 available

Options open interest, volume, put/call ratio, max pain and implied volatility.

CME & CFTC

2/3 available

CME futures data and CFTC Commitments of Traders positioning.

Hyperliquid

25/25 available

Markets, whale and tier positioning, vaults, address state and HYPE burn.

Stocks & RWA

18/20 available

Stock perps, tokenized stocks, pre-IPO contracts and TradFi-perp liquidations.

Categories

4/4 available

Coin categories / sectors with their member coins, and token unlocks.

Indices & Indicators

25/26 available

Fear & Greed, altcoin season, cycle and valuation indicators, macro and sentiment series.

On-chain

18/33 available

BTC on-chain metrics, rich lists, treasuries and chain lookups.

Market Aggregates

17/17 available

Market-wide totals: volume, open interest, liquidations, dominance, market cap and stablecoins.

Meta & Utilities

15/15 available

API catalog, status, data quality, changelog, OpenAPI document, health, icons and FX rates.

WebSocket

1/1 available

Real-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 familyContainsCollectionFresh windowExchanges fresh now
Futures tickerslast price, 24h volume and price change per contractevery minute (REST)5m23 / 25
Open interestopen interest per contract in USD notionalevery 5 minutes; core contracts every minute; hourly snapshot to history15m22 / 23
Funding ratecurrent / predicted funding rate, interval and next settlement timeevery 5 minutes; hourly snapshot to history15m24 / 24
Funding settlementsrealised funding rate at each settlementafter each settlement9h6 / 16
Liquidationsliquidation orders (exchange WebSocket / REST feeds)real time (WebSocket) or short-interval polling, per exchange30m11 / 11
Long/short ratioaccount, top-trader and taker long/short ratiosevery 5 minutes; hourly snapshot to history1.5h1 / 7
Spot volumespot 24h volume per coin and exchangeevery 10 minutes30m13 / 13
Coin-margined / USDC / delivery contractscontracts outside the USDT-perpetual set (price, OI, volume, funding)every 2 minutes6m0 / 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 rest5m2 / 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 rest5m1 / 15
Basis (mark / index)Mark and index prices of perpetual and delivery contracts, used for basis.60 s3m16 / 21
OptionsOption contracts: open interest, volume, mark IV and greeks.10 min25m5 / 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.

Newest stored data point is inside the fresh window for this data family. Some contracts or rows are outside the fresh window, or a required field is missing. No row inside the fresh window. Past the usable window the values are excluded from aggregates. The upstream endpoint keeps failing, or most rows fail sanity checks. The exchange has no public endpoint for this data, or it is not collected. Shown as — and never as 0.
ExchangeFutures tickersOpen interestFunding rateFunding settlementsLiquidationsLong/short ratioSpot volumeCoin-margined / USDC / delivery contractsOrder book (perpetual)Order book (spot)Basis (mark / index)Options
asterFRESHFRESHFRESHSTALEFRESH———PARTIAL—FRESH—
backpackFRESHFRESHFRESH—————FRESHPARTIALFRESH—
binanceFRESHFRESHFRESHFRESHFRESHFRESHFRESHSTALEPARTIALPARTIALFRESHFRESH
bingxFRESHPARTIALFRESHSTALE———STALEPARTIALPARTIALPARTIAL—
bitfinexFRESHFRESHFRESH—FRESH—FRESH—FRESHFRESHFRESH—
bitgetFRESHFRESHFRESHFRESHFRESHPARTIALFRESHSTALEPARTIALPARTIALFRESH—
bitstamp——————FRESH—————
bitunixFRESH—FRESH—————PARTIAL—PARTIAL—
bybitFRESHFRESHFRESHFRESHFRESHPARTIALFRESHSTALEPARTIALPARTIALFRESHFRESH
cme—FRESH——————————
coinbaseSTALE—————FRESH——PARTIAL——
coincall———————————FRESH
cryptocomFRESHFRESHFRESHSTALE——FRESH—PARTIALPARTIALPARTIAL—
deribitFRESHFRESHFRESHSTALEFRESH——STALEPARTIAL—PARTIALPARTIAL
dydxPARTIALFRESHFRESHSTALE————PARTIAL———
edgexFRESHFRESHFRESH—————PARTIAL———
gateFRESHFRESHFRESHFRESHFRESHPARTIALFRESHSTALEPARTIALPARTIALFRESHFRESH
gemini——————FRESH—————
htxFRESHFRESHFRESHFRESHFRESHPARTIALFRESHSTALEPARTIALPARTIALPARTIAL—
hyperliquidFRESHFRESHFRESHSTALEFRESH———PARTIAL—FRESH—
krakenFRESHFRESHFRESHSTALE—PARTIALFRESHSTALEPARTIALPARTIALFRESH—
kucoinFRESHFRESHFRESHSTALE———STALEPARTIALPARTIALFRESH—
lbankFRESH—FRESH—————PARTIAL—FRESH—
lighterFRESHFRESHFRESH—FRESH———PARTIAL—FRESH—
mexcFRESHFRESHFRESHSTALE——FRESHSTALESTALEPARTIALFRESH—
okxFRESHFRESHFRESHFRESHFRESHPARTIALFRESHSTALEPARTIALPARTIALFRESHFRESH
paradexFRESHFRESHFRESH—————PARTIAL—FRESH—
tradexyzFRESHFRESHFRESH—————————
whitebitFRESHFRESHFRESHSTALE————PARTIALPARTIALFRESH—

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

Next steps

Unavailable documented for completeness; no lawful public source yet, the endpoint returns nulls or is not served