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 l4 orderbook history

    Get Hyperliquid L4 orderbook checkpoints. Returns periodic full order-level orderbook snapshots over a time range for reconstruction.

  • Get lighter accounts

    Resolve a Lighter mainnet L1 wallet address to the Lighter account indexes it owns, with account_type, first_seen and total_accounts. Use an account_index with the positions tools (venue lighter). Lighter mainnet only: Robinhood Chain account indexes cannot be resolved from an L1 address here. Paging: limit defaults to 100 (max 1000). While nextCursor is present, repeat the call with cursor=nextCursor and every other argument unchanged (the cursor is bound to them); a short or empty page can still carry nextCursor, so stop only when it is absent. A 409 snapshot_advanced error means the snapshot was replaced: restart without a cursor. Billed as one lookup per call, whatever the page size.

  • Get lighter candles

    Get Lighter OHLCV candle data for a coin. Intervals: 1m to 1w (default 1h). Returns open, high, low, close, volume.

  • Get lighter freshness

    Get data freshness for a Lighter coin across all data types (orderbook, trades, funding, OI). Shows when each data type was last updated and current lag.

  • Get lighter funding

    Get Lighter funding rate history for a coin over a time range. Returns timestamped funding rates. Supports cursor pagination and aggregation intervals (1m, 5m, 15m, 30m, 1h, 4h, 1d).

  • Get lighter funding current

    Get the current Lighter funding rate for a coin. Returns the latest funding rate and timestamp. For a continuous feed, subscribe to the `lighter_funding` WebSocket channel on wss://api.0xarchive.io/ws (not stream.0xarchive.io); it carries the same message as `lighter_open_interest`, with funding and premium as fractions alongside open interest and mark, oracle and mid prices.

  • Get lighter instrument

    Get details for a single Lighter instrument by coin symbol. Returns market ID, fees, size/price decimals, and active status.

  • Get lighter instruments

    List all available Lighter mainnet instruments with market IDs, fees, size/price decimals, and active status. Use this to discover valid Lighter symbols. Optional query/limit/cursor support bounded current-catalog discovery; follow nextCursor when present. Membership may change between calls.

  • Get lighter l3 orderbook

    Get Lighter L3 order-level orderbook. Returns an envelope with individual orders carrying order_index and owner_account_index (Lighter account indexes, not wallet addresses), prices, and sizes, plus mid/spread and side counts.

  • Get lighter l3 orderbook history

    Get historical Lighter L3 orderbook snapshots. Returns order-level snapshots with order_index and owner_account_index (Lighter account indexes, not wallet addresses), prices, and sizes over a time range. Depth selects orders per side; counts, totals and capture truncation describe the stored checkpoint.

  • Get lighter liquidations

    Get Lighter liquidation history for a coin over a time range. Native Lighter shape: liquidation_type, usd_amount, ask_account (insurance-fund side) and bid_account, order ids, and margin/fee fields. Each row carries timestamp (RFC 3339 UTC) and timestamp_ms (Unix milliseconds). Live-only capture since 2026-06-10. Supports cursor pagination.

  • Get lighter liquidation volume

    Get aggregated Lighter liquidation volume for a coin 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 June 2026 (Build and above; Free covers the most recent rolling 30 days).

  • Get lighter open interest

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

  • Get lighter open interest history

    Get Lighter open interest history for a coin over a time range. Returns timestamped OI snapshots.

  • Get lighter orderbook

    Get the current Lighter orderbook snapshot for a coin. Returns bids, asks, mid price, and spread. Optionally specify depth. Full depth available on every tier. For a continuous feed, subscribe to the `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 lighter orderbook history

    Get historical Lighter orderbook snapshots. Returns L2 snapshots with bids/asks over a time range. Supports granularity levels: checkpoint (default), 30s, 10s, 1s, tick.

  • Get lighter price history

    Get mark/oracle price history for a Lighter coin over a time range. Returns mark_price, oracle_price and index_price at each timestamp. Supports aggregation intervals.

  • Get lighter summary

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

  • Get lighter trades

    Get Lighter trade history for a coin over a time range. Returns price, size, side, and timestamps. Supports cursor pagination.

  • Get lighter trades recent

    Get most recent Lighter trades for a coin. Returns the latest trades without needing a time range. For a continuous feed, subscribe to the `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_lighter_trades returns the reconciled record.

PreviousPage 6 / 10Next