Developer Tools · Data & Analytics

0xArchive MCP

0xArchive MCP lets agents query historical and live crypto market data for Hyperliquid, HIP-3, HIP-4, spot and Lighter markets, check data quality, and manage 0xArchive webhooks.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Get rh lighter instrument

    Get details for a single Lighter on Robinhood Chain instrument by symbol (e.g. 'BTC' or 'AAPL-USDG'). Returns market ID, market type, fees, size/price decimals, and active status.

  • Get rh lighter instruments

    List all Lighter on Robinhood Chain instruments with market IDs, market type, fees, size/price decimals, and active status. Lighter has two deployments, mainnet (get_lighter_* tools) and Robinhood Chain (get_rh_lighter_* tools, USDG-quoted); their markets are separate even when a ticker matches. Perps are uppercase (e.g. 'BTC'); spot pairs are dashed (e.g. 'AAPL-USDG'). Use this to discover valid Robinhood Chain symbols. Optional query/limit/cursor support bounded current-catalog discovery; follow nextCursor when present. Membership may change between calls.

  • Get rh lighter liquidations

    Get Lighter on Robinhood Chain liquidation history for a market over a time range. Native Lighter shape: liquidation_type, usd_amount, ask_account and bid_account (Lighter account indexes), order ids, and margin/fee fields. Coverage begins 2026-06-26 20:10:26 UTC (venue launch), the same floor as trades; a range before the first liquidation (2026-06-27 23:14 UTC) returns no rows. Each row carries timestamp (RFC 3339 UTC) and timestamp_ms (Unix milliseconds). Rows from before live capture (2026-08-22) were backfilled from the venue's finalized export and carry source 'bucket' and an empty raw_json; live-captured rows carry source 'ws' and the venue's raw JSON in raw_json. Supports cursor pagination.

  • Get rh lighter liquidation volume

    Get aggregated Lighter on Robinhood Chain liquidation volume for a market in time-bucketed intervals. Returns per-bucket USD volume and counts; each bucket carries timestamp (its open time, RFC 3339 UTC) and timestamp_ms (Unix milliseconds). Archive from 2026-06-26 20:10:26 UTC (venue launch), the same floor as trades (Build and above; Free covers the most recent rolling 30 days).

  • Get rh lighter open interest

    Get the current Lighter on Robinhood Chain open interest for a perp market. Returns OI, mark price, and oracle price. For a continuous feed, subscribe to the `rh_lighter_open_interest` WebSocket channel on wss://api.0xarchive.io/ws (not stream.0xarchive.io); it carries the same message as `rh_lighter_funding`.

  • Get rh lighter open interest history

    Get Lighter on Robinhood Chain open interest history for a perp market over a time range. Returns timestamped OI snapshots. History begins 2026-08-22 18:43 UTC.

  • Get rh lighter orderbook

    Get the current Lighter on Robinhood Chain orderbook snapshot for a market. Returns bids, asks, mid price, and spread. Optionally specify depth. Order book data begins 2026-08-22 18:43 UTC. For a continuous feed, subscribe to the `rh_lighter_orderbook` WebSocket channel on wss://api.0xarchive.io/ws (not stream.0xarchive.io): each message is a full book of up to 20 levels per side, sent at most once per second by default; set interval_ms between 100 and 5000 to change the rate.

  • Get rh lighter orderbook history

    Get historical Lighter on Robinhood Chain orderbook snapshots. Returns L2 snapshots with bids/asks over a time range. Supports granularity levels: checkpoint (default), 30s, 10s, 1s, tick. Order book history begins 2026-08-22 18:43 UTC; no earlier book state exists for this deployment. No L3 (order-level) data is captured on Robinhood Chain.

  • Get rh lighter price history

    Get mark/oracle price history for a Lighter on Robinhood Chain market over a time range. Returns mark_price, oracle_price and index_price at each timestamp. Supports aggregation intervals. History begins 2026-08-22 18:43 UTC.

  • Get rh lighter summary

    Get combined Lighter on Robinhood Chain market summary for a market in a single call. Returns mark price, oracle price, funding rate, and open interest. For a continuous feed of these values, subscribe to the `rh_lighter_open_interest` or `rh_lighter_funding` WebSocket channel (same message) on wss://api.0xarchive.io/ws (not stream.0xarchive.io).

  • Get rh lighter trades

    Get Lighter on Robinhood Chain trade history for a market over a time range. Returns price, size, side, and timestamps. Coverage begins 2026-06-26 20:10:26 UTC (venue launch). Rows are the reconciled record up to a finalization boundary about a day behind: meta.finalized_through reports it, and an end past it is clamped (meta.clamped_to). Use get_rh_lighter_trades_recent for newer, preliminary trades. Supports cursor pagination.

  • Get rh lighter trades recent

    Get most recent Lighter on Robinhood Chain trades for a market. Returns the latest trades without needing a time range. This is the preliminary tier: meta.preliminary_row_count says how many rows in the page are newer than meta.finalized_through and not yet reconciled. For a continuous feed, subscribe to the `rh_lighter_trades` WebSocket channel on wss://api.0xarchive.io/ws (not stream.0xarchive.io). Live trades are preliminary and arrive as two fills per trade, one per side with the same tid, so count trades by distinct tid; fee, fee_token, closed_pnl and dir are null there. get_rh_lighter_trades returns the reconciled record.

  • Get spot candles

    Get Hyperliquid Spot OHLCV candles for a pair. Symbols are dashed canonical (e.g. 'HYPE-USDC'). Intervals: 1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w (default 1h). Each candle carries timestamp (its open time, UTC), open, high, low, close, volume (base asset), quote_volume (quote asset) and trade_count. Built from archived spot trades, so coverage matches spot trade history from 2025-03-22. A page holds limit candles (default 100, max 1,000); follow nextCursor with the same pair, interval, start and end.

  • Get spot freshness

    Get per-pair data freshness for Hyperliquid Spot across all data types (orderbook, trades, L4, TWAP). Symbols are dashed canonical (e.g. 'HYPE-USDC'). Shows when each data type was last updated and current lag.

  • Get spot l4 diffs

    Get Hyperliquid Spot L4 orderbook diffs. Symbols are dashed canonical (e.g. 'HYPE-USDC'). Returns raw order-level changes (new orders, modifications, cancellations, fills) over a time range. Live from 2026-03-10. New-order diff records may include an optional insert_before field (an order ID, or null): for ALO orders granted queue priority, it names the resting order this one is inserted ahead of within its price level; null or absent means tail append (populated from 2026-07-21 onward).

  • Get spot l4 orderbook

    Get Hyperliquid Spot L4 orderbook reconstruction at a specific timestamp. Symbols are dashed canonical (e.g. 'HYPE-USDC'). Returns the full order-level orderbook with individual order IDs, user addresses, prices, and sizes. Live from 2026-03-11. Each resting order carries its queue time as timestamp (RFC 3339 UTC, null when unknown) and timestampMs (Unix milliseconds, 0 when unknown).

  • Get spot l4 orderbook history

    Get Hyperliquid Spot L4 orderbook checkpoints. Symbols are dashed canonical (e.g. 'HYPE-USDC'). Returns periodic full order-level orderbook snapshots over a time range for reconstruction. Live from 2026-03-11.

  • Get spot orderbook

    Get the current Hyperliquid Spot L2 orderbook snapshot for a pair. Symbols are dashed canonical (e.g. 'HYPE-USDC'). Returns bids, asks, mid price, and spread. Optionally specify depth (price levels per side). Live from 2026-05-05. Full depth available on every tier.

  • Get spot orderbook history

    Get historical Hyperliquid Spot L2 orderbook snapshots over a time range. Symbols are dashed canonical (e.g. 'HYPE-USDC'). Returns L2 snapshots with bids/asks. Live coverage from 2026-05-05 (no historical backfill before that date because Hyperliquid does not publish historical spot orderbook data). Full depth available on every tier.

  • Get spot order history

    Get Hyperliquid Spot order lifecycle events with user attribution. Symbols are dashed canonical (e.g. 'HYPE-USDC'). Returns placements, fills, cancellations, and modifications with user addresses. Live from 2026-03-10. Filters by time window only (the spot backend does not implement user/status/type filters).

PreviousPage 8 / 10Next