Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.0xarchive.io/llms.txt

Use this file to discover all available pages before exploring further.

OpenAPI is the route and schema contract behind the generated REST reference, production client generation, tests, and coding-agent route selection. The Mintlify REST reference is generated from the pinned openapi.json bundled with these docs. Public machine consumers should fetch the stable JSON contract from https://docs.0xarchive.io/openapi.json; the docs-host /openapi.json route serves that JSON directly.

Contract Selection

SurfaceUseSource
Generated REST referenceRoute discovery inside this portal, generated endpoint pages, examples, and reference checksPinned openapi.json used by reference generation
Public JSON contractProduction codegen, external machine consumers, and durable agent contexthttps://docs.0xarchive.io/openapi.json
Reference-generation snapshotLocal previews and reference checks inside this portalPinned openapi.json used by the docs build
Integration smokeFinal confirmation before shipping application codePublic JSON contract plus one authenticated route probe

Use OpenAPI For

JobUse
REST referenceGenerated endpoint pages, parameters, schemas, examples, and auth state
Generated clientCodegen for TypeScript, Python, Go, or internal clients
Coding agentRoute selection before the agent writes or runs integration code
Regression checksRoute-family parity, examples, and docs links
Playground reviewConfirm the route path and auth header before browser execution

Source

curl https://docs.0xarchive.io/openapi.json
This portal keeps a pinned copy so reference generation, link checks, and local previews are deterministic. The docs-host JSON endpoint is the canonical public source for external codegen, and parity with https://www.0xarchive.io/openapi.json is checked when reachable. If a newly documented route family is visible in the generated reference but absent from the public JSON endpoint, confirm current account and route availability before using it in production code.

Review Packet

Before you generate a client, ask a coding agent to write a script, or wire a route into a backend, capture the fields that make the route unambiguous.
FieldWhy it matters
Method and pathPrevents clients from guessing between similar route families
Venue familyKeeps Hyperliquid core, Spot, HIP-3, HIP-4, and Lighter behavior separate
Symbol formatAvoids treating pairs, builder-prefixed symbols, and outcome markets as interchangeable
Query parametersDefines pagination, time windows, limits, and optional filters before loops widen
Response schemaLets typed clients parse the route body instead of copying a nearby example
Error responsesConnects auth, validation, rate-limit, access, and upstream failures to the right client action
Auth stateConfirms whether the route needs X-API-Key or belongs to a wallet-auth flow
Pagination fieldsIdentifies meta.next_cursor, page size, and request-ID logging requirements
If the venue family, symbol style, or data family is still undecided, choose those first in Venue Coverage and Data Availability. OpenAPI should then answer the exact route shape, not replace the product decision.

Generated Reference

REST API

Start with the route-family atlas and generated reference entry point.

Hyperliquid Spot

Spot pairs, order books, trades, L4 reconstruction surfaces, TWAP, and freshness routes.

Schemas

Response envelope, pagination, error bodies, and hand-written schema notes.

Playground

Use generated route shapes, then copy the exact curl request when you want terminal execution.

Why 0xArchive Fits

0xArchive’s OpenAPI contract lets teams keep human docs, generated clients, coding-agent route selection, and reference QA pointed at the same source. That matters for market-data systems where venue family, symbol format, response envelope, and freshness checks need to stay consistent across REST, SDKs, CLI, MCP Server, and Skills.

Next Step

Open REST API for the generated reference path, Choose An Interface for execution choices, or Coding Agents for agent-safe route-selection rules.
Last modified on May 20, 2026