Skip to main content
Make a few choices before you open the endpoint reference: the venue and market type, the data type and depth, the time window, how the data reaches you, and the checks the result must pass. Each concept below settles one of those choices.

Concepts and what they decide

Choose the venue before the endpoint

Choose the venue and market type before the endpoint. Hyperliquid includes core perpetuals, Spot, HIP-3, and HIP-4. Lighter uses its own API namespace. Do not route a Spot pair through a core perpetual endpoint, strip a HIP-3 builder prefix, or treat HIP-4 probability-like prices as ordinary dollar prices. Then choose the data type: order book, trades, candles, funding, open interest, liquidations, orders, L3, L4, replay, or data quality. Check whether the exact market and time window are covered. Size the request against account capacity and request-window limits separately.

From concepts to a first request

1

Pick the venue and market type

Choose Hyperliquid or Lighter, then the market type that matches the market identity.
2

Confirm availability

Use instrument, coverage, or freshness routes before widening to long windows or many symbols.
3

Choose the interface

Use the REST API for request and response jobs, WebSocket for real-time channels or channel-specific replay, the SDKs for application code, the CLI for shell jobs, the MCP server for MCP-capable hosts, and the Agent skill for reusable agent workflows.
4

Save trace fields

Store the route, parameters, time window, data-quality result, and any request ID the route returns with every output that another system will trust.
Write these down before broad work starts: the depth and state model the job needs, its capacity rule (request rate, concurrency, credits, standard replay speed, request-window limits, and stop conditions), and the trace fields it keeps (route, parameters, quality decision, cursor, and request ID). When you move to code, the REST API, Endpoint reference, OpenAPI, and WebSocket pages hold the exact contracts.

Next step

Pick the namespace and symbol format for your market in Venues and market types.
Last modified on October 6, 2026