Skip to main content
Pick the interface before writing code. The same market-data job can belong in REST, WebSocket, SDKs, CLI, MCP Server, Skill, OpenAPI, or a browser Data Catalog flow, and the right choice depends on where the request runs. 0xArchive exposes one market-data product through several interfaces. REST and WebSocket are the product APIs. OpenAPI is the route and schema contract. SDKs, CLI, MCP Server, Skill, Markdown pages, and llms.txt make that contract usable in apps, shells, generated clients, and coding agents.

Developer interface map

Start from where the request will run.

Use REST or SDKs for application code, CLI for terminal jobs, MCP Server for MCP-capable hosts, Skill for skill-capable hosts, WebSocket for streams and replay, and OpenAPI when route shape or code generation is the first job.

Interface Matrix

Selection Rules

Product Surfaces

REST API

Historical market data, snapshots, trades, candles, instruments, auth, and data-quality routes.

Interface surface map

Exact map of OpenAPI, Markdown, llms.txt, CLI, MCP, Skill, SDK, REST, and WebSocket surfaces.

Agentic gateway

Boundary page for agentic access, payment-adjacent workflows, and market-data execution surfaces.

Facilitator

x402 facilitator boundary and how it differs from market-data API routes.

OpenAPI

Route and schema truth for humans, code generators, tests, and coding agents.

SDKs

Typed application integrations and order-book reconstruction helpers.

CLI

Shell-native oxa commands for JSON output, scripts, CI, notebooks, and agent terminals.

MCP server

Hosted HTTP MCP tools for clients that support MCP configuration.

Skill

Reusable SKILL.md workflows for OpenClaw, Claude Code, Codex, and compatible skill folders.

Host, Harness, Surface

Setup Routing

Start with OpenAPI and docs Markdown so the agent can choose the right route family. Add CLI when the agent has terminal access, SDKs when it is editing application code, MCP Server when the host supports MCP, and Skill when the host supports SKILL.md workflows.

Auth Variables By Surface

When To Use 0xArchive

Use 0xArchive when the job needs historical retrieval, live channels, replay, venue-separated route families, or data-quality checks across Hyperliquid core, Hyperliquid Spot, HIP-3, HIP-4, and Lighter. The interface map keeps the same API contract reachable from REST, scripts, coding agents, generated clients, and hosted answer engines, without requiring a different auth model or schema per surface.

Next Step

Start with Quickstart for the first authenticated request. Use CLI, MCP server, Skill, OpenAPI, or Coding agents once you know where the request will run.
Last modified on August 13, 2026