Order books

Hyperliquid HIP-4 historical order book data

Hyperliquid HIP-4 order books as one Parquet file per UTC hour, in 2 channels: book_10 and quotes.

Recorded since December 5, 2026

What is recorded

The order books PredBooks holds from Hyperliquid HIP-4, and the dates they cover.

  • Order books, top 20 levels
    December 5, 2026 → today

book_10

The top ten levels on each side, at most once a second. One file per UTC hour.

Top-10 books on Schemas
ColumnTypeDescription
bid_px_0 … bid_px_9decimal(18,8)Best ten bid prices, best first
bid_sz_0 … bid_sz_9decimal(24,8)Sizes at those prices
ask_px_0 … ask_px_9decimal(18,8)Best ten ask prices, best first
ask_sz_0 … ask_sz_9decimal(24,8)Sizes at those prices
is_snapshotboolThe book before its first change in the hour, or a book seen for the first time
Plus the 8 shared columns: venue, market_id, event_id, outcome, instrument_id, exch_ts, recv_ts, seq

quotes

Every change of the best bid or ask. One file per UTC hour.

Quotes on Schemas
ColumnTypeDescription
bid_pxdecimal(18,8)Best bid
bid_szdecimal(24,8)Size at the best bid
ask_pxdecimal(18,8)Best ask
ask_szdecimal(24,8)Size at the best ask
is_snapshotboolThe book before its first change in the hour, or a book seen for the first time
Plus the 8 shared columns: venue, market_id, event_id, outcome, instrument_id, exch_ts, recv_ts, seq

Load Hyperliquid HIP-4 order books

One call per channel and day, here book_10 for December 5, 2026, hour 14 UTC.

pb := predbooks.New(predbooks.WithAPIKey("pb_..."))
table, err := pb.Load(ctx, "hyperliquid", "book_10", "2026-12-05", &predbooks.LoadOptions{Hours: []int{14}})
from predbooks import Client

pb = Client("pb_...")  # or set PREDBOOKS_API_KEY
df = pb.load("hyperliquid", "book_10", "2026-12-05", hours=[14])
use predbooks::{Client, LoadOptions};

let pb = Client::builder().api_key("pb_...").build()?;
let batches = pb.load("hyperliquid", "book_10", "2026-12-05", LoadOptions::new().hours([14]))?;
import { Client } from "@predbooks/sdk";

const pb = new Client("pb_..."); // or set PREDBOOKS_API_KEY
const table = await pb.load("hyperliquid", "book_10", "2026-12-05", { hours: [14] });

Every option of load is in the quickstart and the references for the Go SDK, Python SDK, Rust SDK and TypeScript SDK. Any other language can use the API.

Related data

Load Hyperliquid HIP-4 order books

Pick a plan, create an API key and load your first day of data with an SDK (Go, Python, Rust or TypeScript) or the API.