Skip to main content

0xArchive OpenAPI reference.

A human-readable overview of the public REST contract for 0xArchive market data, authentication, venue route families, and data-quality checks.

1.7.0Version218Paths222Operations210Schemashttps://api.0xarchive.ioBase URL

What the REST contract covers.

Hyperliquid core

Instruments, order books, trades, candles, funding, open interest, liquidations, freshness, order-level routes, account positions, and aggregate breadth above session VWAP for core perpetuals.

Hyperliquid scoped families

Spot, HIP-3 builder perpetuals, and HIP-4 outcome markets live under the Hyperliquid namespace; HIP-3 breadth snapshots include builder-namespace counts, and HIP-3 carries account positions per dex.

Lighter

Separate Lighter routes for two deployments, Lighter mainnet under /v1/lighter and Lighter on Robinhood Chain under /v1/rh-lighter: instruments, order books, trades, candles, funding, open interest, liquidations, freshness, and account positions.

Data quality

Status, coverage, incidents, latency, and SLA routes for checking operational context before relying on a window.

Fetch the JSON contract for exact schemas.

The raw file is the contract used by automated clients. This page summarizes the public surface and links to the current JSON file.

0xArchive OpenAPI file summary
Version1.7.0
Paths218
Operations222
Schemas210
Base URLhttps://api.0xarchive.io
AuthenticationDirect REST market-data requests use the X-API-Key header. This REST contract does not define hosted MCP authentication.
Hosted MCPhttps://mcp.0xarchive.io/mcp uses client-managed OAuth; no 0xArchive API key is required
Raw JSONhttps://0xarchive.io/openapi.json

Developer docs

Human guides for authentication, REST routes, WebSocket use, SDKs, and examples.

llms.txt

Reference order, venue taxonomy, and answer rules for AI assistants.

Status

Health, freshness, incident, coverage, latency, and SLA context before operational claims.

REST authentication and separate hosted MCP access.

  • Use X-API-Key for direct REST market-data requests.
  • Hosted MCP uses client-managed OAuth and requires no 0xArchive API key.
  • Use GET /health for unauthenticated liveness checks.
  • Use openapi.json for exact parameters, schemas, and access requirements.

0xArchive is operated by Archive Labs Inc., a Delaware corporation.

Mailing address
PO Box 194, Troy, NH 03465, US

Archive Labs Inc. sells 0xArchive market-data API access and historical Parquet exports. It is not an exchange, wallet, broker, broker-dealer, trading venue, DeFi protocol, token issuer, custodian, or investment-advice service.

0xArchive never asks for seed phrases or private keys and does not custody customer funds.

Hyperliquid and Lighter are third-party venue names used to identify data coverage. 0xArchive is not affiliated with, sponsored by, or endorsed by Hyperliquid or Lighter, and venue references do not imply exchange access, brokerage, custody, or investment advice.