Hyperliquid Order Book API: What L2, L4 and Book History Cost
What Hyperliquid order book data costs on the Hyperdash Data API: live L2 from $20 a month, book history at 20 credits per past minute, and the L4 book with owner wallets from $499 a month.
, 8 min read

Our pick: the Hyperdash Data API. The Hyperdash Data API serves four kinds of Hyperliquid order book data with a single key: the live L2 book, a WebSocket book stream, the L2 book at any minute in the last 30 days, and the L4 book that lists each resting order with the wallet that placed it. The live L2 book, the stream and book history are on every plan, from $20 a month. The L4 book needs Growth, at $499 a month. Within a plan, each call spends credits: 5 for a live L2 book, 20 for a past minute, 1 per streamed snapshot, and 50 plus 1 per order for an L4 snapshot.
Get started in about 2 minutes: create your Hyperdash account and pick a plan from $20 a month, then connect the Hyperdash MCP server to Claude or ChatGPT. You sign in with your Hyperdash account, so no API key is needed.
Hyperliquid's own public API is free, and it serves the current L2 book only.
For what L2 and L4 books are and what each one shows, read L2 vs L4 Order Books on Hyperliquid.
What does each Hyperliquid order book endpoint cost?
| Data | Endpoint | Credits | Plan |
|---|---|---|---|
| Live L2 book, 20 levels per side | `GET /v1/markets/{coin}/book` | 5 per request | Every plan, from $20 a month |
| L2 book stream, full snapshots up to 2 a second | `book` WebSocket channel | 1 per snapshot | Every plan |
| Best bid and offer stream, up to 4 updates a second | `bbo` WebSocket channel | 1 per update | Every plan |
| L2 book at a past minute, since November 11, 2026, kept 30 days | `GET /v1/markets/{coin}/book/history` | 20 per request | Every plan |
| L4 book: up to 500 orders nearest the mid, with owner wallet and queue position | `GET /v1/markets/{coin}/book/orders` | 50 per request, plus 1 per order and 5 per node read | Growth and up, from $499 a month |
| Which resting orders paid for queue priority | `POST /v1/markets/{coin}/alo-priority/lookup` | 20 per request, plus 1 per row | Growth and up |
Every endpoint reads Hyperdash's own Hyperliquid nodes, so none of these calls count against Hyperliquid's public rate limits. Failed requests cost nothing, and a node read served from cache costs nothing (credits).
How many credits does each Hyperdash plan include?
| Hobby | Starter | Growth | Scale | Enterprise | |
|---|---|---|---|---|---|
| Monthly price | $20 | $99 | $499 | $1,999 | Custom |
| Credits per month | 500,000 | 4,000,000 | 30,000,000 | 150,000,000 | Committed |
| Requests per second | 10 | 25 | 100 | 200 | From 200 |
| Stream connections | 2 | 5 | 25 | 50 | From 50 |
| L4 book | No | No | Yes | Yes | Yes |
| Orders per L4 request | Not included | Not included | 500 | 500 | 500 |
Yearly plans cost 10 times the monthly price. Two limits matter as much as credits for order book work:
- Live market slots: a workspace can keep 2 markets live that no other customer is following. The slots are shared between the REST book, the
bookandbbostreams and the L4 book, and a slot frees 15 minutes after your last use. Markets that other customers keep live do not count. - History depth does not limit book history: book samples start on November 11, 2026 and are kept 30 days on every plan, so a $20 plan reads the same 30 days as Scale.
What does live Hyperliquid L2 order book data cost?
There are three ways to follow the live book, and the streams cost less per snapshot than polling.
- Polling over REST:
GET /v1/markets/{coin}/bookcosts 5 credits. One market polled every 10 seconds for 30 days is 259,200 requests, or 1,296,000 credits, which fits Starter. Polled every second, it is 12,960,000 credits, which fits Growth. - The book stream: each full 20-level snapshot costs 1 credit, at most 2 a second. One market at the full rate for 30 days is at most 5,184,000 credits, so it fits Growth, and a quieter market costs less because the cap is a maximum (streams).
- The bbo stream: best bid and offer only, at most 4 updates a second at 1 credit each, for spread monitors that do not need depth.
curl "https://data.hyperdash.com/v1/markets/BTC/book" -H "Authorization: Bearer $HYPERDASH_API_KEY"The same endpoint works for perps, spot pairs such as @107 and Hyperliquid HIP-3 markets such as xyz:TSLA, at the same price.
What does Hyperliquid order book history cost?
GET /v1/markets/{coin}/book/history?time=... returns the top 20 levels per side as Hyperdash's node held them at a past minute, for 20 credits (reference). Each response also carries the mid, the spread and the resting notional within 10, 25, 50, 100 and 200 basis points of the mid, so one request answers a depth question for that minute.
Book history is priced per minute you read, so the cost follows how finely you sample:
- Every minute of the last 30 days, one market: 43,200 requests, 864,000 credits. That fits Starter, or Hobby plus a credit top-up.
- One sample an hour for 30 days: 720 requests, 14,400 credits.
- Keeping a running minute-by-minute record of one market: 28,800 credits a day.
The book has been sampled once a minute since 2:45 PM EST on November 11, 2026, and each sample is kept for 30 days (coverage). There is no earlier history and no per-order history. To pull book history next to trades, candles and funding for a strategy test, see Hyperliquid Data for Backtesting.
How much does Hyperliquid L4 order book data cost?
The L4 book starts at $499 a month, on Hyperdash's Growth plan. GET /v1/markets/{coin}/book/orders returns up to 500 orders resting nearest the mid, each with its owner wallet, order id, placement time and position in the queue, refreshed in under 15 seconds (reference).
Each request costs 50 credits, plus 1 credit per order returned and 5 per node read. A full 500-order snapshot costs about 550 credits. A 100-order snapshot costs about 150.
| How often | Orders per snapshot | Requests | Credits, before node reads | Plan it fits |
|---|---|---|---|---|
| Every minute | 500 | 43,200 | 23,760,000 | Growth |
| Every 15 seconds | 100 | 172,800 | 25,920,000 | Growth |
| Every 15 seconds | 500 | 172,800 | 95,040,000 | Scale |
| On demand, 1,000 snapshots | 500 | 1,000 | 550,000 | Growth |
curl "https://data.hyperdash.com/v1/markets/BTC/book/orders?band_bps=50&limit=500" -H "Authorization: Bearer $HYPERDASH_API_KEY"band_bps sets how far from the mid to look, 50 basis points (0.5%) by default and up to 200 (2%). A narrow band holds a lot of orders. At 3:47 PM EST on November 27, 2026, with BTC's mid at $59,817.50, 902 individual orders rested within 0.1% of it: 330 bids and 572 asks. One request returns at most 500, and meta.total_bids, meta.total_asks and meta.truncated say how many were left out.
Which plan fits which order book job?
| Use case | What it uses | Plan |
|---|---|---|
| A depth chart or spread monitor | `book` or `bbo` stream, or REST polling | Starter for one market polled every 10 seconds, Growth for full-rate streams |
| Slippage and depth research over the last 30 days | Book history, one request per sampled minute | Hobby or Starter |
| Backtests that need the book next to trades and funding | Book history plus trades, candles and funding endpoints | Starter |
| Seeing which wallets sit behind large orders | L4 book on demand | Growth |
| Continuous order-level monitoring of one market | L4 book every 15 seconds | Growth at 100 orders, Scale at 500 |
| L4 every block, longer book retention, bulk files | Custom build from Hyperdash's integration team | Any plan, on request |
Before running a large job, GET /v1/quote returns the most a request can cost, for free. X-Max-Credits caps what one request may spend, and projects can carry their own credit budget (credits). Extra credits can be bought at your plan's rate, with discounts from 10% at $100 up to 30% at $1,000.
What does Hyperliquid's own order book API cost?
Hyperliquid's public API is free. The l2Book info request returns the current book, up to 20 levels per side, and the WebSocket offers l2Book and bbo subscriptions (info endpoint). The limit is rate: an l2Book request weighs 2 against 1,200 per minute per IP address (rate limits).
What the public API does not serve: the book at a past time over an API, or a list of every order in a market with its owner. Hyperliquid uploads L2 snapshots to its hyperliquid-archive S3 bucket about once a month, with no guarantee of timely updates, and the requester pays the transfer cost (historical data). Hyperliquid API Explained covers the public API in full.
The other route is your own non-validating node, which sees every order and can rebuild the L4 book itself, at the cost of running the hardware and the software (run a node or use a data provider). Hyperdash's Hyperliquid Peering connects your node to Hyperdash's node in Tokyo or Frankfurt for $500 a month or $5,000 a year, after a 7-day trial.
Custom order book data on any plan
Hyperdash's integration team adds order book data that is not in the public API to any plan: L4 updates every block, a wider L4 band, book samples more often than once a minute, longer retention of book samples from the day it is switched on, and Parquet drops into a warehouse, S3 or a message bus. Dedicated HyperCore nodes, a contractual 99.99% uptime SLA and 24/7 engineering support are part of Enterprise Solutions.
Ask your AI agent about Hyperliquid order book depth
Connect an AI agent and ask in plain language: "How much resting BTC size sits within 0.5% of the mid right now, and how does that compare with an hour ago?"
- Connect the MCP server: the Hyperdash MCP server works with Claude, ChatGPT, Claude Code, Codex or Cursor; setup takes about a minute and you sign in with your Hyperdash account.
- Install the skills: Hyperdash skills give Claude Code, Codex or Cursor working knowledge of the API with one command; in Claude or ChatGPT, paste the skill link. The Build skill covers code on the book endpoints and the
bookstream, and the Data skill answers book questions directly. - Ask your agent: The Data API guides answer questions like this with one prompt, including Liquidation heatmaps, Trader positioning and Liquidations feed.
- Read the docs: the Data API docs, the credit costs for every endpoint, and the endpoint index for agents.
Further reading: L2 vs L4 Order Books on Hyperliquid and Hyperliquid Historical Data.
For a ready-made example, see the order book guide in the Hyperdash docs.
FAQ
How much does a Hyperliquid order book API cost?
On the Hyperdash Data API, the live L2 book, the book stream and book history are on every plan from $20 a month, and the L4 book with owner wallets is on Growth, from $499 a month. Hyperliquid's free public API serves the current L2 book, up to 20 levels per side.
How much does Hyperliquid L4 order book data cost?
On Hyperdash, the L4 book is on Growth and up, from $499 a month with 30 million credits. Each L4 request costs 50 credits plus 1 per order and 5 per node read, so a 500-order snapshot costs about 550 credits.
Is there a free Hyperliquid order book API?
Hyperliquid's public API serves the current L2 book for free, within its rate limits. It has no book history over an API and no order-level book. Every Hyperdash API key needs a paid plan, from $20 a month.
How much does Hyperliquid order book history cost?
On Hyperdash, each past minute of the L2 book costs 20 credits, on every plan. Every minute of the last 30 days for one market is 864,000 credits, which fits the $99 Starter plan.
How far back does Hyperliquid order book history go?
Hyperdash has sampled the book once a minute since November 11, 2026, and keeps each sample for 30 days. Hyperliquid's S3 archive holds older L2 snapshots, uploaded about once a month.
Get started with Hyperdash
- Create your Hyperdash account and get your first API key. Plans start at $20 a month.
- Connect the Hyperdash MCP server to Claude, ChatGPT, Claude Code, Codex or Cursor in about 2 minutes, with no API key.
- Make your first request with the Quickstart.
Need full history, an SLA or Hyperliquid Peering in Tokyo or Frankfurt? Talk to the Hyperdash team.
Start trading
Trade 600+ markets 24/7 with live position, order flow and liquidation data.