The Rise of On-Chain Perpetual Futures
Hyperliquid has emerged as the leading on-chain perpetual futures exchange, processing billions in daily volume with sub-second execution and zero gas fees. For data-driven traders, it offers something no centralized exchange can: complete transparency.
Every trade, every position, every order book update on Hyperliquid is verifiable on-chain. This transparency creates a unique data advantage — you can see institutional positioning, whale movements, and market microstructure in real time, without relying on self-reported exchange data that may be inflated or delayed.
Crypto Data API wraps Hyperliquid’s raw data into clean, normalized REST endpoints covering prices, funding rates, open interest, OHLCV candles, and L2 order book snapshots across 200+ perpetual futures markets.
Seven Endpoints Covering the Full Perps Stack
The Hyperliquid data suite is organized into focused endpoints, each designed for a specific trading use case:
| Endpoint | Data | Params |
|---|---|---|
/api/v1/hyperliquid/meta | Exchange metadata, asset specs, max leverage | — |
/api/v1/hyperliquid/prices | Mid prices for all 200+ assets | — |
/api/v1/hyperliquid/funding-rates | Current + historical funding rates | coin, limit |
/api/v1/hyperliquid/open-interest | OI, mark/oracle price, volume for all assets | — |
/api/v1/hyperliquid/candles | OHLCV candles (1m to 1w intervals) | coin, interval, limit |
/api/v1/hyperliquid/l2-book | L2 order book snapshot (bids & asks) | coin |
/api/v1/hyperliquid/summary | All-in-one: price, funding, OI, volume | coin |
The /summary endpoint is particularly useful for trading bots that need a complete picture of a single asset without making multiple API calls.
Funding Rate Arbitrage and Sentiment Signals
Funding rates on Hyperliquid update every 8 hours and reflect the balance between long and short demand. They are one of the most actionable data points in crypto:
curl -H "X-API-Key: YOUR_KEY" \
"https://cryptodataapi.com/api/v1/hyperliquid/funding-rates?coin=BTC&limit=10"
{
"coin": "BTC",
"current_rate": 0.00015,
"history": [
{
"coin": "BTC",
"funding_rate": 0.00015,
"premium": 0.0005,
"time": 1708732800
}
]
}How to Read Funding Rates
- Positive funding (> 0.01%) — Longs pay shorts; market is net long and bullish sentiment dominates
- Highly positive (> 0.05%) — Overcrowded long trade; potential for a long squeeze and sharp correction
- Negative funding — Shorts pay longs; bearish sentiment dominates, contrarian long opportunity
- Near zero — Balanced market, no strong directional bias from derivatives traders
Funding rate arbitrage — going long on an exchange with negative funding while shorting on one with positive funding — is a market-neutral strategy that can generate consistent returns. Crypto Data API provides funding data from both Hyperliquid and Binance, making cross-exchange comparisons straightforward.
Open Interest: Measuring Conviction Behind Price Moves
Open interest tells you how much capital is committed to futures positions. Rising OI with rising price confirms a genuine trend; rising OI with falling price signals aggressive shorting that could fuel a squeeze.
curl -H "X-API-Key: YOUR_KEY" \
https://cryptodataapi.com/api/v1/hyperliquid/open-interest
{
"assets": [
{
"coin": "BTC",
"open_interest": 58500.0,
"mark_price": 96200.0,
"oracle_price": 96180.0,
"funding_rate": 0.00015,
"day_volume": 485000000.0
},
{
"coin": "ETH",
"open_interest": 142000.0,
"mark_price": 3250.0,
"funding_rate": 0.00012
}
],
"total_oi": 6200000.0
}The OI endpoint returns data for all 200+ assets on Hyperliquid, including mark and oracle prices, current funding rates, and 24h volume. Sort by day_volume to find the most actively traded markets, or monitor total_oi for a macro-level view of leverage in the system.
L2 Order Book: Reading Market Microstructure
The L2 order book endpoint gives you a snapshot of resting limit orders, revealing support and resistance levels that chart patterns alone cannot show:
curl -H "X-API-Key: YOUR_KEY" \
"https://cryptodataapi.com/api/v1/hyperliquid/l2-book?coin=BTC"
{
"coin": "BTC",
"bids": [
{ "price": 96100.0, "size": 2.8, "count": 5 },
{ "price": 96050.0, "size": 4.2, "count": 8 }
],
"asks": [
{ "price": 96150.0, "size": 1.9, "count": 3 },
{ "price": 96200.0, "size": 5.1, "count": 12 }
]
}Because Hyperliquid is fully on-chain, this order book data is verifiable — unlike CEX order books where spoofing and fake liquidity are common. When you see a large bid wall on Hyperliquid, that capital is actually committed.
Use the L2 book to:
- Identify significant support/resistance levels from clustered orders
- Detect thin liquidity zones where price may move rapidly
- Measure bid/ask imbalances for short-term directional bias
- Track large order placements from institutional participants
Trade on Hyperliquid — the fastest on-chain perpetuals exchange with zero gas fees and deep liquidity. Join via our referral to get started.
Putting It Together: A Perps Data Pipeline
Here’s how to build a comprehensive Hyperliquid data pipeline that feeds your trading bot with all the data it needs:
import httpx
BASE = "https://cryptodataapi.com/api/v1/hyperliquid"
async def get_perp_context(api_key: str, coin: str) -> dict:
"""Fetch complete perps context for a single asset."""
headers = {"X-API-Key": api_key}
async with httpx.AsyncClient() as client:
summary, book = await asyncio.gather(
client.get(
f"{BASE}/summary?coin={coin}",
headers=headers,
),
client.get(
f"{BASE}/l2-book?coin={coin}",
headers=headers,
),
)
s = summary.json()
b = book.json()
# Calculate bid/ask imbalance
bid_depth = sum(l["size"] for l in b["bids"][:10])
ask_depth = sum(l["size"] for l in b["asks"][:10])
imbalance = (bid_depth - ask_depth) / (bid_depth + ask_depth)
return {
"coin": coin,
"price": s.get("mark_price"),
"funding_rate": s.get("funding_rate"),
"open_interest": s.get("open_interest"),
"volume_24h": s.get("day_volume"),
"book_imbalance": round(imbalance, 4),
"bid_depth_10": bid_depth,
"ask_depth_10": ask_depth,
}This single function gives your trading bot price, funding, OI, volume, and order book imbalance — all the context needed to make informed perps trading decisions.
On-Chain Perps Data, Off-the-Shelf
Hyperliquid’s transparency is a goldmine for quantitative traders, but its raw API uses a single POST endpoint with different request body types — not exactly REST-friendly for quick integration.
Crypto Data API normalizes all of this into clean GET endpoints with intuitive parameters, consistent response formats, and built-in caching. You get the data advantage of on-chain perps without the integration headache.
Whether you’re building a funding rate arbitrage bot, monitoring open interest for squeeze setups, or reading order book microstructure for execution optimization — the data is one API call away.



