Skip to main content
Decide whether an API can return the record one market-data job needs, and keep the route and evidence so anyone can repeat the decision. The example evaluates one hour of Hyperliquid core BTC trades, a window every plan’s history reaches, including Free’s most recent 30 days.

Before you start

  • Name the record and grain: snapshot, trade, candle, funding, open interest, liquidation, order event, replay, or export.
  • Name one venue and market type, symbol, and bounded time window.
  • Define the required response fields, freshness tolerance, and downstream use before comparing providers.
  • Separate market-data retrieval from account state and execution. Those account and execution behaviors are outside 0xArchive’s market-data scope.

Inputs

Steps

1

State the required result

Write the venue and market type, symbol, data family, window, required fields, freshness tolerance, and intended use in one short record.
2

Inspect the exact contract

Use OpenAPI and the matching endpoint page to check the route, authentication, parameter types, response shape, pagination, errors, and request-ID location.
3

Run one bounded request

4

Check quality and capacity

Compare the response with the symbol’s coverage and freshness on Data quality. Check your plan’s limits on Rate limits before turning one call into a recurring or wider job.

What a complete record holds

The record contains a route-backed answer: the response has the required row shape, the requested window is represented by the returned data or an explicit empty result, the request ID is saved, and the quality decision is named. A route that exists in OpenAPI is not evidence of every symbol, date, or schema window.

Score the API on the job

Score the API on the exact job, not on a product inventory: Check Data rights for the use-permission decision. Internal research and Parquet exports are permitted. Materially transformed derived products and ordinary customer-facing use are permitted when they do not expose or allow reconstruction of original records. Benchmarks, indices, financial products, standalone or substitute market-data products, raw redistribution, and white-label or OEM delivery require prior written permission.

If something fails

  • 400: fix the named parameter or time window before another call.
  • 401: repair the key source or header.
  • 403: read the exact error for that endpoint, account, and key; the status alone does not mean a route or schema is unavailable.
  • 404: recheck the market type, symbol, and route namespace.
  • 429: honor Retry-After when present, otherwise use capped exponential backoff with jitter and reduce concurrency.
  • Missing coverage or stale data: hold the decision, narrow the job, or mark the output. Do not replace missing rows with synthetic data.

Saved run metadata

The zero UUID is a shape placeholder only. Replace it with the returned UUID and keep the API key out of the record. When the result feeds a backtest, Prepare data for a reproducible backtest adds the replay and manifest steps.

Next step

Implement the selected pull with Pull historical market data.
Last modified on October 6, 2026