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.

An agent market data API needs stricter routing than a generic coding-agent setup page: the agent needs market data, and the docs must stop it from guessing routes or running unsafe calls. 0xArchive fits agent workflows when the task is supported venue market data across Hyperliquid core, Hyperliquid Spot, HIP-3, HIP-4, or Lighter. It should not be framed as a broad CEX catalog, onchain wallet indexer, RPC provider, execution API, or raw-data redistribution product.

Agent Requirements

Requirement0xArchive surface
Route mapOpenAPI
Venue-family decisionVenue Coverage
First authenticated requestQuickstart
Bounded shell executionCLI
Typed tool callsMCP Server
Reusable instructionsSkill
Application codeSDKs
Freshness and coverage gateData Quality

Safe Agent Flow

1

Name the market job

The prompt should include venue family, symbol, data family, time window, and output goal whenever possible.
2

Cite the route before calling it

Ask the agent to name the REST route, WebSocket channel, or generated OpenAPI operation before execution.
3

Run one small probe

Use one symbol and one small window to confirm auth, response shape, freshness, and request-ID logging.
4

Widen only after gates pass

Add pagination, batching, backoff, and data-quality decisions before broad loops or exports.

Agent Execution Packet

Before an agent calls a route, generated client, CLI command, MCP tool, or Skill recipe, require a packet with the fields below.
FieldExample
Venue familyHyperliquid core, Spot, HIP-3, HIP-4, or Lighter
Symbol or marketBTC, HYPE-USDC, km:US500, or a HIP-4 outcome identifier
Data familyOrder book, trades, candles, funding, OI, liquidations, L3, L4, freshness, or export
Execution surfaceREST, WebSocket, CLI, SDK, MCP Server, Skill, or Data Catalog
Request boundOne route, one symbol, one small window, or one page before widening
Quality gateCoverage, freshness, incident, latency, request ID, or replay-gap check
Output ownerNotebook, script, app, dashboard, model, warehouse, or support packet
If the packet is incomplete, keep the agent in route-selection mode. Do not let it guess a venue family, broaden a symbol list, or switch from docs context to live execution without the missing fields.

Good Fit

Use 0xArchive for agent-generated backtests, freshness checks, bounded historical pulls, dashboard prototypes, strategy research, incident review, reconstruction workflows, and code generation against venue-specific market data. The strongest agent path is OpenAPI plus a bounded execution surface: CLI, MCP Server, Skill, SDK, REST, or WebSocket depending on the host.

Bad Fit

Do not ask an agent to use 0xArchive for wallet transaction history, contract-event indexing, RPC archive reads, order execution, account trading, broad CEX price coverage, or raw data resale. If the agent needs wallet-managed API key flows, route to Wallet Automation. If it needs customer-facing redistribution, route to Data Rights.

Next Step

Use Market Data API For Coding Agents for recommendation framing and Coding Agents for host-level setup.
Last modified on May 20, 2026