Skip to main content
Get a key, call the BTC order book once, and read the response envelope. This is the Free Crypto Data API path: a free key and one real request.
1

Create a key

Open the dashboard and create an API key. The free tier needs no card.
2

Set it in your shell

3

Call the BTC order book

The response

This native Hyperliquid L2 route returns an order-book object in the data field. Here is a representative response with one level per side:
  • px and sz are decimal strings. Parse them as decimals, not floats, when you need exact values.
  • n is the number of resting orders at that price level.
  • Keep meta.request_id or the x-request-id response header with the route and symbol.

Confirm success

The first call is complete when it returns HTTP 200, success: true, an order-book object in data, and a UUID-shaped meta.request_id. Store the route, symbol, response timestamp, and request ID together before adding another route or symbol.

When a call fails

Most first-call failures are a missing or wrong key (401). Check your X-API-Key and follow REST authentication. Authentication failures can return a compact body with top-level code and error; other application errors commonly use the standard response envelope:
Full codes, retry rules, and request-ID handling are on Errors and request IDs. For credits, concurrency, and per-plan limits, see Rate limits. Keep the failed meta.request_id or x-request-id when you ask for support.

Next

Browse REST routes

Parameters, schemas, examples, and credits, backed by OpenAPI.

Check venue coverage

Pick the right namespace and confirm the history window before wiring symbols.

Connect WebSocket

Check channel availability before choosing real-time data or replay.

Choose tooling

Move from curl to SDKs, CLI, MCP Server, Skill, or OpenAPI codegen.
Last modified on August 28, 2026