History API
Test it on what really happened.
Not financial advice.
Crypto market history for your own code and research: funding rates back to 2019, open interest every 5 minutes for BTC, ETH and SOL back to 2020, and every liquidation order from seven exchanges. One key, JSON or CSV.
JSON or CSVOne keyUpdated dailyCancel anytime
Funding back to September 2019: 2,495 markets on Binance, Bybit, Hyperliquid and OKX.
liquidation orders, one row each, from seven exchanges.
Hyperliquid's liquidations name the wallet liquidated and the wallet on the other side.
What you can do with it
- Backtest a carry trade on seven years of real funding, not a sample.
- Replay any cascade order by order: when it started, which side broke and how big it got.
- Find the wallets that keep getting liquidated, and the ones that keep catching them.
$249 a month
Every series below, every exchange, as far back as we hold it. Or $2,690 a year, 10% off. Cancel anytime.
We keep recording: every new day of liquidations, funding and open interest goes in, so the history gets longer every month you have it.
What others charge a month, from their own pricing pages on October 22, 2026: CoinGlass Standard API $299, Hydromancer $300, Tardis from $350.
What's in it
| Exchange | Markets | From | To | Rows |
|---|---|---|---|---|
| Funding rates | ||||
| Binance | 890 | 2019-09-10 | 2026-11-17 | 2,871,424 |
| Bybit | 858 | 2025-01-01 | 2026-11-17 | 1,868,896 |
| Hyperliquid | 200 | 2023-05-12 | 2026-11-17 | 3,624,680 |
| OKX | 547 | 2025-01-01 | 2026-11-17 | 581,253 |
| Open interest, every 5 minutes | ||||
| Binance | 3 | 2020-09-01 | 2026-11-16 | 1,695,964 |
| Liquidations, every order | ||||
| Binance | all | 2026-10-10 | 2026-11-16 | 1,649,932 |
| Bitget | all | 2026-10-16 | 2026-11-16 | 173,036 |
| Bybit | all | 2026-10-10 | 2026-11-16 | 707,841 |
| Gate | all | 2026-10-13 | 2026-11-16 | 340,445 |
| HTX | all | 2026-07-24 | 2026-11-16 | 113,955 |
| Hyperliquid | all | 2025-10-01 | 2026-01-31 | 2,098,594 |
| OKX | all | 2026-10-08 | 2026-11-16 | 462,972 |
| Liquidations, per minute | ||||
| Binance | all | 2026-10-10 | 2026-11-16 | 808,917 |
| Bitget | all | 2026-10-16 | 2026-11-16 | 114,883 |
| Bybit | all | 2026-10-10 | 2026-11-16 | 252,779 |
| Gate | all | 2026-10-13 | 2026-11-16 | 137,917 |
| HTX | all | 2026-07-24 | 2026-11-16 | 55,279 |
| Hyperliquid | all | 2025-10-01 | 2026-01-31 | 94,850 |
| OKX | all | 2026-10-08 | 2026-11-16 | 197,680 |
| DVOL (Deribit's volatility index), daily | ||||
| Deribit | 2 | 2021-03-24 | 2026-11-16 | 4,128 |
No rows in the source on these days: Liquidations, every order, Hyperliquid: 2026-01-04 to 2026-01-18; Liquidations, every order, OKX: 2026-10-28 to 2026-11-03; Liquidations, per minute, Hyperliquid: 2026-01-04 to 2026-01-18; Liquidations, per minute, OKX: 2026-10-28 to 2026-11-03.
Updated every day from each exchange's own public data. Hyperliquid's liquidations from October 2025 to January 2026 come from An Open Book: Level 4 Order Book Data from the Hyperliquid Exchange (Zenodo, doi:10.5281/zenodo.18184441, CC-BY-4.0).
How to call it
Send your key in a header, never in the address:
curl -H "Authorization: Bearer YOUR_KEY" "https://pay.hexatape.com/api/v1/history/funding?exchange=binance&symbol=BTCUSDT&from=2024-01-01"
curl -H "Authorization: Bearer YOUR_KEY" "https://pay.hexatape.com/api/v1/history/liquidations?exchange=okx&from=2026-10-20&to=2026-10-21&format=csv"
GET /api/v1/historylists every series, exchange and market, each with its first and last time./api/v1/history/fundingexchange(binance, bybit, okx, hyperliquid) andsymbol. Hyperliquid's are hourly and carry the premium./api/v1/history/open-interestsymbol: Binance, every 5 minutes, with the top traders' long and short ratios./api/v1/history/liquidationsexchange, andsymbolif you want one market: every liquidation order./api/v1/history/liquidations-1m: each minute's long and short dollars and counts./api/v1/history/dvolsymbol(BTC or ETH): Deribit's volatility index, daily.
Every call takes from and to (UTC, like 2026-10-01 or 2026-10-01T00:00:00Z; to is not included), limit (up to 50,000 rows, 10,000 if you leave it out) and format (json or csv). When there are more rows, the answer's next is the from of the next page. Liquidations come 31 days at most per call.
A missing or wrong key gets 401, a key without the History API 403, too many calls 429 (wait the seconds in its Retry-After header).