0xArchive Hyperliquid Spot API

Hyperliquid Spot pair, order book, trade, reconstruction, TWAP, and freshness routes.

Operations 12

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/hyperliquid/spot/pairs List Hyperliquid Spot pairs · List Hyperliquid Spot pairs #
Ask an LLM
“Which Hyperliquid Spot pairs have archived data?”
“Where can I find every spot pair symbol like HYPE-USDC?”
Tell an agent
List all Hyperliquid Spot pairs.
Show me every spot pair that is archived.
GET /v1/hyperliquid/spot/pairs/{symbol} Get metadata for one Spot pair · Get Hyperliquid Spot pair metadata #
Ask an LLM
“What metadata is available for a single spot pair?”
“Can I look up one Hyperliquid Spot pair by symbol?”
Tell an agent
Get metadata for spot pair {symbol}.
Show the details of the {symbol} spot pair.
GET /v1/hyperliquid/spot/orderbook/{symbol} Get a Spot pair's L2 order book snapshot · Get Hyperliquid Spot order book #
Ask an LLM
“What does the spot order book for a pair look like right now?”
“Can I get a spot book snapshot at a past timestamp?”
Tell an agent
Get the aggregated L2 spot order book for {symbol}.
Get the {symbol} spot book at {timestamp} with depth {depth}.
GET /v1/hyperliquid/spot/trades/{symbol} Get historical trades for a Spot pair · Get Hyperliquid Spot trades #
Ask an LLM
“Can I pull spot fills for a pair over a bounded time range?”
“Is spot trade history paginated with a cursor?”
Tell an agent
Get spot trades for {symbol} from {start} to {end}.
Page historical spot fills for {symbol} with cursor {cursor}.
GET /v1/hyperliquid/spot/trades/{symbol}/recent Get the latest trades for a Spot pair · Get recent Hyperliquid spot trades #
Ask an LLM
“What were the last few trades on a spot pair?”
“Can I get the newest spot fills without giving a time range?”
Tell an agent
Get the most recent spot trades for {symbol}.
Show the last {limit} trades on spot pair {symbol}.
GET /v1/hyperliquid/spot/orderbook/{symbol}/l4 Get an order-level L4 book for a Spot pair · Get Hyperliquid Spot L4 order book #
Ask an LLM
“Can I see individual resting orders on a spot pair's book?”
“Are spot L4 orders at each level sorted by queue priority?”
Tell an agent
Get the order-by-order L4 reconstruction for spot pair {symbol}.
Reconstruct the {symbol} spot order-level book at {timestamp}.
GET /v1/hyperliquid/spot/orderbook/{symbol}/l4/diffs Get per-order L4 diffs for a Spot pair · Get Hyperliquid Spot L4 order book diffs #
Ask an LLM
“How do I replay every order change on a spot pair's L4 book?”
“What does insert_before mean on spot L4 diffs?”
Tell an agent
Get spot L4 diffs for {symbol} from {start} to {end}.
Page per-order spot book events for {symbol} with cursor {cursor}.
GET /v1/hyperliquid/spot/orderbook/{symbol}/l4/history Get Spot L4 book reconstruction history · Get Hyperliquid Spot L4 order book history #
Ask an LLM
“Which historical L4 reconstruction windows exist for a spot pair?”
“Can I list past spot L4 checkpoints to start a replay?”
Tell an agent
Get spot L4 history for {symbol} from {start} to {end}.
List the spot L4 checkpoints for {symbol}.
GET /v1/hyperliquid/spot/orders/{symbol}/history Get order events for a Spot pair · Get Hyperliquid Spot order history #
Ask an LLM
“Can I see historical order events on a spot pair?”
“Where do I find spot order placements and cancels over time?”
Tell an agent
Get spot order history for {symbol} from {start} to {end}.
Show the order events on spot pair {symbol}.
GET /v1/hyperliquid/spot/twap/{symbol} Get TWAP data for a Spot pair · Get Hyperliquid Spot TWAP #
Ask an LLM
“What TWAP activity has run on a spot pair?”
“Can I get time-weighted average price orders for one pair?”
Tell an agent
Get TWAP data for spot pair {symbol}.
Show TWAP activity on {symbol} from {start} to {end}.
GET /v1/hyperliquid/spot/twap/user/{user} Get Spot TWAP data for a wallet · Get Hyperliquid Spot user TWAP #
Ask an LLM
“Which spot TWAPs has a specific wallet run?”
“Can I scope spot TWAP data to one user address?”
Tell an agent
Get spot TWAP data for user {user}.
Show TWAPs by {user} between {start} and {end}.
GET /v1/hyperliquid/spot/freshness/{symbol} Check how fresh a Spot pair's data is · Get Hyperliquid Spot freshness #
Ask an LLM
“When was spot order book, trade and TWAP data last updated for a pair?”
“Is the archive for a spot pair up to date?”
Tell an agent
Check spot data freshness for {symbol}.
Show when each spot data type last updated for {symbol}.

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/0xarchive:0xarchive-hyperliquid-spot-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

0xarchive-hyperliquid-spot-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 0xArchive Hyperliquid Spot API
  description: REST API for current and historical market data from Hyperliquid and Lighter. Hyperliquid coverage includes core perpetuals, Spot, HIP-3 builder perpetuals, and HIP-4 outcome markets. Coverage and access requirements vary by route. See https://docs.0xarchive.io/ for authentication, limits, and examples.
  version: 1.6.1
  termsOfService: https://0xarchive.io/terms
  contact:
    name: 0xArchive Support
    url: https://0xarchive.io
    email: support@0xarchive.io
  license:
    name: Proprietary
    url: https://0xarchive.io/terms
servers:
- url: https://api.0xarchive.io
  description: Production API
security:
- ApiKeyAuth: []
tags:


# --- truncated at 32 KB (40 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/0xarchive/refs/heads/main/openapi/0xarchive-hyperliquid-spot-api-openapi.yml