SELECT wallet_address,
count() AS fills
FROM raw_node_fills_by_block
PREWHERE utc_fill_dt = '2026-09-01'
GROUP BY wallet_address
Perpetual fills → Typed tables → Your research
Start with the trade.
Investigate perpetual fills, wallets and execution context in ClickHouse without building your own fill warehouse. Query raw fill history from 27 July 2025.
Trade flow and wallets
Research trade activity, build wallet screens and compare realized PnL across a bounded historical window.
Execution context
Inspect liquidation and TWAP context, maker/taker activity and builder attribution alongside the fill.
Raw fills and derived surfaces answer different questions and have different history rules. For the current book, explore the separate Hyperliquid Orderbook streaming product.
Research fills with SQL.
Use a ClickHouse client such as DBeaver or the Python client. This example ranks BTC wallets by traded notional within one UTC day.
research.sql / illustrative
SELECT
wallet_address,
count() AS fills,
sum(price * size) AS notional_usd
FROM hyperliquid.raw_node_fills_by_block
PREWHERE utc_fill_dt = '2026-09-01'
WHERE coin = 'BTC'
GROUP BY wallet_address
ORDER BY notional_usd DESC
LIMIT 20
Illustrative SQL. Results and query runtime depend on your workload.
Filter the partition first
utc_fill_dt is the raw fill partition key. Put your date bound in PREWHERE; filter coin for market-specific work.
Set the date filter to your study window. LIMIT controls how many rows are returned; the date filter bounds the data scanned.
closed_pnl and fee are already USD Float64 values. Do not divide them by token base units.
The SQL warehouse contains fills and derived views. To study the book around an event, request the separate order-level archive for your markets and date range.
Query-ready fill warehouse
Connect to ClickHouse and query tables. Use it for trade flow, wallet activity, liquidation context and builder attribution.
Raw order-book archive
MessagePack ABCI checkpoints plus hourly zstd streams for book diffs, order statuses and fills. Archive access is provisioned separately; confirm scope and terms with the team.
1 / Checkpoint
Load the newest snapshot at or before the target time, including asset encoding and precision.
2 / Diffs
Read hourly diff files covering the interval after the checkpoint.
3 / Replay
Apply insert, amend and remove events in order, keyed by order ID.
4 / Aggregate
Build price levels, then sample spread, midpoint and depth for the study.
Use the raw archive to reconstruct order-book history from checkpoints and ordered diffs. Read the archive workflow →
Price & access.
Hyperliquid
Historical Indexer
Separate subscription
Historical perpetual-market data through SQL.
History since 27 July 2025
Fills, liquidations and TWAP context
Order-level book archive and custom REST: scope confirmed separately
$300
/ month
Free trial up to 24h on request; our team confirms availability and setup. Monthly, prepaid in crypto.
Monthly, prepaid. Crypto-only billing: USDC, SOL, ETH or USDT. Confirm capacity and workload fit before subscribing. Separate archive access and any custom integration need an agreed scope.
The ClickHouse database covers fill activity and derived views. The order-level book archive is a separately provisioned surface with checkpoints and diffs. Agree markets, date coverage and terms with the team.
Is the 90-day window the limit for all history?
The 90-day retention applies to agg_fulfilled_order. Raw fill history starts 27 July 2025. Wallet views compute aggregates, while the latest-position view shows the latest state per wallet and market.
Can you provide a custom REST integration?
A custom REST endpoint around a specific query can be discussed on request. Agree its scope and price separately.
How do I confirm trial access?
Request a trial through the portal. Our team confirms availability and setup for up to 24 hours.
Where are the complete schemas and connection examples?