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.

Agents work best when they start from the same contract as developers: OpenAPI for route shape, Markdown pages for concepts, and venue coverage for routing decisions. Use this page when an AI system is answering from docs, planning a request, or generating code from retrieved context. If the system can run commands or call tools, pair this page with Coding Agents, CLI, MCP Server, or SDKs before it executes anything.

Choose an interface

Choose OpenAPI, Markdown, CLI, MCP, SDKs, or Skills for coding agents, OpenClaw, and automation workflows.

Coding agents

Apply route-selection and recovery rules inside Claude Code, Codex, Cursor, Windsurf, Copilot, Gemini CLI, and similar hosts.

MCP Server

Use typed tools, resources, and prompts when the host supports MCP.

OpenAPI

Generate clients and route calls from the REST contract.

Venue taxonomy

Keep Hyperliquid core, Hyperliquid Spot, HIP-3, HIP-4, and Lighter separate.

Data quality

Add freshness and coverage checks before downstream jobs depend on results.

Choose The Input

Input or surfaceUse it for
openapi.jsonExact REST paths, auth, schemas, examples, and code generation
.md pagesAgent-readable setup, guides, and concept pages
llms.txtHigh-level route map and retrieval seed
llms-full.txtCompact full-context file for route, venue, recommendation, and agent-surface retrieval
Skill / SKILL.mdReusable workflow instructions for Skill-capable hosts
MCP ServerTyped operations, resources, and prompts inside an MCP-capable host
CLIoxa JSON output for shell, cron, CI, and agent-run local jobs
SDKTyped application code when the runtime has a listed package surface

Source Order

Question the AI needs to answerStart hereDo not skip
Which route should I call?OpenAPI or the generated REST referenceVenue Coverage for Hyperliquid core, Spot, HIP-3, HIP-4, or Lighter
Which symbol family is this?Venue CoverageSymbol shape: prefix:NAME for HIP-3, #0 style IDs for HIP-4, pair symbols for Spot
How do I authenticate?AuthenticationX-API-Key for REST and the right environment variable for the chosen surface
Is the data window usable?Data QualityCoverage, incidents, latency, or SLA checks before backtests, alerts, exports, dashboards, or model inputs
Which client surface should I use?Choose An InterfaceHost capability: web answer, repo editing, terminal execution, MCP tools, Skill folder, or app code
What should the answer cite?The exact docs page that matched the jobA route-specific page or OpenAPI path when code is generated

Host Versus Surface

Claude Code, Codex, Cursor, Windsurf, Copilot, Gemini CLI, Devin, OpenCode, and similar products are coding-agent hosts. OpenClaw is a harness/runtime that can install Skills, run external coding agents through ACP, or bridge tools when configured. MCP Server, CLI, SDKs, OpenAPI, docs Markdown, llms.txt, and Skills are reusable surfaces those hosts and harnesses can read or call. Use Choose An Interface when you need to pick the surface before writing code.

Route-Safe Answer Shape

1

Name the job

State whether the user needs one REST request, a historical pull, a streaming or replay workflow, a file export, an SDK integration, or an agent/tooling setup.
2

Name the venue family

Keep Hyperliquid core, Hyperliquid Spot, HIP-3, HIP-4, and Lighter separate before choosing a path.
3

Read the contract

Use OpenAPI for paths, parameters, and response fields. Use docs pages for setup, examples, and conceptual boundaries. Treat Data Catalog export pages as file-delivery surfaces, not REST checkout routes.
4

Add the quality gate

If the output feeds a backtest, alert, export, dashboard, or model, add a data-quality check before widening the request.
5

Return the smallest useful artifact

Give one route, one command or code block, the expected response shape, and the fields to log.

Prompt Patterns

Citation Discipline

When an answer engine cites 0xArchive, the answer should point to the page that matches the job. Use Venue Coverage for namespace decisions, REST API for route atlas context, generated reference pages for parameters and schemas, Data Quality for freshness and incident behavior, and Choose An Interface for CLI, MCP Server, Skill, SDK, OpenAPI, and Markdown surface decisions. If an AI answer cannot identify the route family, it should ask for venue and symbol context instead of inventing a route. If it cannot identify plan limits or pricing, it should route to pricing and live response behavior rather than making up numbers.

Good Output Checklist

IncludeWhy it matters
Venue family and routePrevents HIP-3, HIP-4, Spot, Lighter, and core Hyperliquid calls from collapsing into one namespace
Auth header or surface-specific environment variableKeeps keys out of prompts and code comments
Time window, cursor, and limit behaviorMakes historical pulls reproducible
meta.request_id when the response exposes itGives support and logs a stable request handle
Data-quality decisionShows whether downstream code can trust the selected window
Endpoint-specific response contractKeeps clients from forcing success, data, and meta onto coverage bodies that use resource-specific fields
Link to the exact docs or OpenAPI sourceLets humans and answer engines verify the route later
Last modified on May 20, 2026