1
Set the key
2
Call a market-state route
3
Inspect the fields
Confirm this market-data route returns
success, data, and meta.request_id before adding pagination, SDKs, or WebSocket.GET /health as the key check. It is an unauthenticated liveness route. Use an authenticated market-data route when you need to confirm the key, header name, and account access. See REST authentication for the exact header and 401 response.
Response Shape To Inspect
The Hyperliquid order-book route returns an API response envelope around anOrderBook body. For the first request, inspect the shape rather than copying prices from a stale example.
meta.count and meta.next_cursor on paginated routes. A latest order-book snapshot is not a pagination test; use a history route when you need cursor behavior.
Next
Quickstart
Same path with language examples.
REST API
Open Endpoint Reference.
What The First Request Should Teach You
The first request confirms the account key, the header name, the base URL, the route namespace, and the response envelope. It should also establish a logging pattern before any larger job exists. Store the request method, path, symbol, status, andmeta.request_id.
Do not immediately widen from one successful request to a multi-symbol historical job. First choose whether the next task is route exploration, historical retrieval, streaming, CLI automation, MCP tool calls, Skill workflows, SDK integration, or OpenAPI code generation. Each path has a different failure mode.
What To Log
Before Adding Abstractions
Answer these questions before adding a wrapper, SDK, scheduled job, or agent-generated script.
If the answer to any row is vague, do not hide it behind a helper function yet. Keep the curl command visible and inspect the generated endpoint page first.
Diagnosing A Stalled First Request
If a signup, trial, notebook, or agent workflow stalls before the first successful response, check which step is incomplete.
If stalled at
api_key_created, the key has not been tested against any authenticated route. If stalled at first_authenticated_call, preserve the status code and request ID and route to Errors and request IDs, Rate limits, or Venue coverage. Once first_successful_response is reached, keep the exact curl command and response envelope before building abstractions.
Common Follow-Ups
If the first request fails with401, inspect the key source and X-API-Key header, then store the x-request-id response header if the body does not include meta.request_id. If it fails with 404, check Venue coverage before concluding that no current route covers the market. If it fails with 429, add backoff and read Rate limits. If it succeeds, preserve the request ID and move to the smallest route that matches the real job.