Open interest— Volume 24h— Liquidated 24h— Buy / sell 24h—

API

The same data that powers this site, as JSON. No key needed.

How it works

Every request is a GET to one address with an r parameter naming the dataset. Responses are JSON. Errors come back with an error message and an HTTP status of 400, 404 or 503.

https://coinlytica.com/api.php?r=market

Please keep to about one request every few seconds per dataset. Data is cached on our side, so asking more often returns the same answer.

Market snapshot

Every tracked coin with price, 24h change, funding rate, volume, open interest, OI change, liquidations, long/short ratio and a per-exchange breakdown, plus market-wide totals. Refreshed every 10 seconds.

https://coinlytica.com/api.php?r=market

Coin history

Candles, open interest, funding rate, long/short ratio and liquidation history for one coin. interval is 15m, 1h, 4h or 1d.

https://coinlytica.com/api.php?r=coin&s=BTC&interval=1h

Live liquidations

The most recent liquidation orders, per-minute totals for the last 30 minutes and the largest orders of the last 24 hours.

https://coinlytica.com/api.php?r=liqlive

Liquidations by exchange

Long and short liquidations for one coin on each exchange over 1h, 4h, 12h and 24h.

https://coinlytica.com/api.php?r=liqex&s=BTC

Premium index

Futures mark price, spot index price and the premium between them for each coin.

https://coinlytica.com/api.php?r=premium

Options

Options open interest, volume, put/call split, max pain by expiry and open interest by strike. s is BTC or ETH.

https://coinlytica.com/api.php?r=options&s=BTC

RSI

14-period RSI for the largest markets. interval is 15m, 1h, 4h, 1d or 1w.

https://coinlytica.com/api.php?r=rsi&interval=4h

Fear & Greed history

Daily Fear & Greed Index values for the last two years.

https://coinlytica.com/api.php?r=fng

Bitcoin returns

Bitcoin monthly returns by year, in percent.

https://coinlytica.com/api.php?r=returns

Stablecoins

Market cap, price and volume of the largest stablecoins.

https://coinlytica.com/api.php?r=stables

Field notes

Money values are US dollars. Percentages are already multiplied by 100, so a funding rate of 0.01 means 0.01%. Timestamps are Unix seconds (UTC). In the market snapshot, liq is an array of eight numbers: long and short liquidations for 1h, 4h, 12h and 24h.