Skip to main content

Alchemy vs 0xArchive for Hyperliquid market data

Alchemy streams live HyperCore books and fills in beta and plans historical APIs. 0xArchive stores the history: books from April 2023, L4 with wallets from March 2026, Lighter, replay and Parquet from $49 a month.

8 min read

Key findings

  1. Alchemy and 0xArchive side by side
  2. Does Alchemy offer Hyperliquid historical data?
  3. Add history to your Alchemy stream
  4. What about live data? Streams side by side
  5. Which provider stores order-level Hyperliquid books?
  6. Where is Alchemy the right pick?

0xArchive comparison · Alchemy

0xArchive stores the Hyperliquid history behind a live stream: order books from 15 April 2023, wallet-attributed L4 from 11 March 2026, and Lighter, by REST, WebSocket replay and Parquet. Alchemy streams live HyperCore data in beta and lists historical APIs as planned. Free covers 30 days and Build opens the full archive for $49 a month.

  • Books: Hyperliquid core books start on 15 April 2023.
  • Order-level book: L4 with order ID and wallet starts on 11 March 2026.
  • Live and history in one key: live WebSocket, replay and Parquet exports on one key.
  • Plans: Free covers the latest 30 days and Build opens the full retained archive for $49 a month.

Alchemy and 0xArchive side by side

You needAlchemy0xArchive
Live HyperCore feedWebSocket streaming in beta from Alchemy-operated nodes: allFills, userFills, builderFills, liquidationFills, l2Book, l2BookDiff, bbo, allMids and l4BookUpdates. Access is enabled per team on requestLive WebSocket on every plan, Free included: order books, trades, full-depth L2, L4 diffs and order events, Lighter channels. Self-serve key at signup
Historical dataThe historical data page describes stream replay as a short reconnect window and not a historical query mechanism; indexed historical APIs are plannedStored and queryable now: books from 15 Apr 2023, trades from Apr 2023, every fill from 22 Mar 2025, funding and open interest from 20 May 2023, liquidation events from 22 Dec 2025, candles from 22 Mar 2025
Replay after a disconnectFill streams take fromBlock; recent blocks are held for about 60 seconds (replay and recovery). Book streams have no replay; you resubscribe to a fresh snapshotHistorical replay over the same WebSocket from each dataset's first date: the last 30 days on Free, the full archive on Build, at 10x on Free and 50x on Build
Order-level book with walletsl4BookUpdates: a live snapshot, then order diffs. Stored order-level history: none listedL4 (every resting order with order ID and wallet) from 11 Mar 2026 on core and HIP-3, Spot from 5 May 2026, HIP-4 from 2 May 2026: by timestamp over REST, live and replayed over WebSocket, exported as Parquet
The book at a past timestampNone listed; book streams start from the current snapshotNative book (up to 20 levels a side) from 15 Apr 2023; full-depth L2 from 11 Mar 2026 for core and HIP-3
Backfilling a missed rangeThe backfill guide says HyperCore REST and historical data are not part of the beta and points to Hyperliquid's userFillsByTimeOne REST window per market with cursor paging, or WebSocket replay of the same range
Funding and open interestNot among the beta streamsFunding and open interest from 20 May 2023
LighterNone listed on the HyperCore pagesTrades from 17 Jan 2025, funding and open interest from 25 Aug 2025, L2 book from 29 Jan 2026, L3 order-level book from 5 Mar 2026
RPC and node infrastructureHyperEVM JSON-RPC, Trace and Debug APIs, HyperCore node peering and block-level gRPC and JSON-RPC in preview, on the same accountNot offered: 0xArchive is market data for Hyperliquid and Lighter, not an RPC provider
PlansHyperCore beta access by request; no HyperCore price is listed in the HyperCore documentationFree $0 (latest 30 days, 50,000 credits a month, 15 requests a second); Build $49 a month ($39 billed annually) opens the full archive with 80M credits

Provider facts from each provider's own documentation and pricing, 6 November 2026.

Alchemy sources: HyperCore Data API overview, WebSocket streaming, historical data and migrating from the Hyperliquid API.

Does Alchemy offer Hyperliquid historical data?

Not yet as an indexed query product. Alchemy's HyperCore Data API overview says the beta covers WebSocket streaming and that gRPC, REST and historical data are planned. Its historical data page adds that stream replay is a short reconnect window and that planned indexed historical APIs are a separate product surface.

0xArchive is that stored layer today. The Hyperliquid order book (up to 20 levels per side) starts on 15 April 2023, trades in April 2023 (every fill from 22 March 2025), funding and open interest on 20 May 2023, liquidation events on 22 December 2025 and the wallet-attributed L4 book on 11 March 2026. Venue coverage lists each start per market.

Add history to your Alchemy stream

Keep Alchemy's HyperCore WebSocket as your live source and use 0xArchive for everything behind it. Alchemy's own guidance for a missed fill range is to record the gap message, keep processing live data and fill the range from a historical source, deduplicating on trade ID plus user.

  1. Keep your allFills subscription. When Alchemy sends a gap message, or you were offline longer than the replay window, note the block times on either side.
  2. Request that window from 0xArchive for the market, with start and end in UTC.
  3. Follow meta.next_cursor until meta.has_more is false.
  4. Merge on trade ID plus wallet. Both sides of a trade share one trade ID, and each 0xArchive row carries its own user_address, so the same key works. Filter rows to your wallets on user_address if you track a set of addresses.

A two-row request for BTC fills from the start of 30 October 2026 (run on 6 November 2026, rows trimmed to the main fields):

curl -H "X-API-Key: $OXARCHIVE_API_KEY" \
  "https://api.0xarchive.io/v1/hyperliquid/trades/BTC?start=2026-10-30T00:00:00Z&end=2026-10-30T00:05:00Z&limit=2"

Response:

{
  "success": true,
  "data": [
    {
      "coin": "BTC",
      "side": "B",
      "price": "77948",
      "size": "0.00457",
      "timestamp": "2026-10-30T00:00:00.070Z",
      "trade_id": 578550472504908,
      "order_id": 590112439380,
      "crossed": true,
      "fee": "0.142488",
      "fee_token": "USDC",
      "direction": "Open Long",
      "user_address": "0x8a544ab75107efd541c9072a0efebb87cc4292f3"
    },
    {
      "coin": "BTC",
      "side": "A",
      "price": "77948",
      "size": "0.00457",
      "timestamp": "2026-10-30T00:00:00.070Z",
      "trade_id": 578550472504908,
      "order_id": 590112429978,
      "crossed": false,
      "fee": "-0.010686",
      "fee_token": "USDC",
      "direction": "Close Long",
      "user_address": "0xbb160cb61e694570f9d570f9fcde7c61dd2143ad"
    }
  ],
  "meta": {
    "count": 2,
    "next_cursor": "1793318400070_578550472504908",
    "has_more": true,
    "symbol": "BTC",
    "venue": "hyperliquid"
  }
}

The Free plan reaches the latest 30 days. A range older than that needs Build, which opens each dataset's full retained archive. For books, the same key serves the market back to April 2023 in one request:

curl -H "X-API-Key: $OXARCHIVE_API_KEY" \
  "https://api.0xarchive.io/v1/hyperliquid/orderbook/BTC/history?start=2023-04-15T00:00:00Z&end=2023-04-15T00:10:00Z&limit=1"

That call returns the Hyperliquid BTC book stamped 15 April 2023, 00:00:07 UTC. Alchemy's book streams hold no replay, so a book you did not record live is not recoverable from them.

What about live data? Streams side by side

Alchemy's HyperCore streams use the same stream names as Hyperliquid's public WebSocket, add a per-subscription sequence number and block number on every message, and send a market's book whenever it changes. 0xArchive also streams live Hyperliquid and Lighter data, and its Stream runs alongside 0xArchive's own Hyperliquid node in Tokyo.

In the seven days to 3 November 2026, measured from AWS Tokyo on BTC, ETH, SOL and HYPE trades, 0xArchive Stream delivered the same trade before Hyperliquid's official WebSocket on 99.79% of 7,566,617 matched trades, with a median lead of 122.5 ms. The latency page carries the method and the raw JSON; your own result depends on the path from your servers.

The two are not exclusive: a team that already holds an Alchemy key for HyperEVM RPC can keep it for the chain and add 0xArchive for stored books, L4, Lighter and Parquet.

Which provider stores order-level Hyperliquid books?

0xArchive stores L4, the order-level book, from 11 March 2026: every resting order with its order ID and wallet address, in queue order within each price level. REST returns the book at a timestamp, WebSocket replays it and streams it live, and the Data Catalog exports it as Parquet. Alchemy's l4BookUpdates stream gives a live snapshot and order diffs, and lists no stored order-level history.

Where is Alchemy the right pick?

For RPC and node work. Alchemy provides HyperEVM JSON-RPC, Trace and Debug APIs, node peering, smart wallets and APIs across many other chains. 0xArchive does not offer RPC or nodes; it holds Hyperliquid and Lighter market data. A team that needs both can use Alchemy for the chain and 0xArchive for the market.

Does 0xArchive cover Lighter as well as Hyperliquid?

Yes, under the same key, SDKs (Python, TypeScript, Rust), CLI and hosted MCP server. Lighter trades start on 17 January 2025, funding and open interest on 25 August 2025, the L2 book on 29 January 2026 and the L3 individual-order book on 5 March 2026. Lighter L3 is history and replay, not live.

Downloads are for your own use; redistribution, mirrors and bulk dumps are outside the Data License.

Frequently asked questions

Does Alchemy have Hyperliquid historical data?

Alchemy's HyperCore Data API streams live order books and fills over WebSocket in beta, and its overview says gRPC, REST and historical data are planned. For stored history, 0xArchive serves the Hyperliquid book from 15 April 2023, trades from April 2023 (every fill from 22 March 2025) and wallet-attributed L4 from 11 March 2026. The full archive opens on Build at $49 a month.

Can I use Alchemy for the live stream and 0xArchive for history?

Yes. Keep the Alchemy HyperCore WebSocket for live data and request any missed or older range from 0xArchive by market and UTC window, then merge on trade ID plus wallet. 0xArchive also streams live and replays history over WebSocket, so one key can serve both.

How far back can I replay Hyperliquid fills after a disconnect?

Alchemy holds recent blocks for replay for about 60 seconds, and its book streams have no replay. 0xArchive replays stored history over WebSocket from each dataset's first date: the latest 30 days on Free and the full archive on Build.

Does Alchemy provide Hyperliquid L4 order book history?

Alchemy's l4BookUpdates stream is live: a snapshot followed by order diffs. 0xArchive stores the L4 book from 11 March 2026, with order ID and wallet on every resting order, and serves it by timestamp over REST, live and replay over WebSocket, and as Parquet.

Does 0xArchive replace Alchemy for RPC?

No. 0xArchive is market data for Hyperliquid and Lighter. Alchemy is the pick for HyperEVM RPC, node infrastructure and other chains.

What does Hyperliquid historical data cost on 0xArchive?

Free costs $0 and covers the latest 30 days of every dataset with live WebSocket and replay, 50,000 credits a month and 15 requests a second. Build, at $49 a month ($39 billed annually), opens the full retained archive with 80 million credits and $50 in export credits each month.