Envelope Structure
The
pagination field is optional and only appears on list endpoints.Fields
success
A boolean indicating whether the request was processed successfully.
data
The response payload. Its type depends on the endpoint; it can be a single object or an array.
message
A human-readable status message. Typically null on success. On errors, this contains a description of what went wrong.
info
Metadata about the request execution. Present on most successful responses.
pagination
Included on list endpoints that support cursor-based pagination.
Pagination
List endpoints return paginated results. To iterate through all pages, pass thepagination_key from the previous response as a query parameter in your next request. Some endpoints also accept an offset parameter for deep-linkable server-rendered pages.
Pulse and Trending use a zero-based page and limit. Their snapshots return an ordered array of pool records in data, with optional inline price_points. An empty result returns data: []. See request options.
See Pagination for the full walkthrough and when to use each strategy.
Long and short field names
Every onchain REST and WebSocket payload is available with long (full) or short (abbreviated) field names. The example panel on the right has Response (Long) and Response (Short) so you can compare the same payload in both modes.short and long are accepted across these surfaces. The HTTP
/token/market/candlestick endpoint also accepts fields=array (or
x-field-names: array), returning [time, open, high, low, close, volume] rows
with millisecond timestamps and retained null slots. Other HTTP endpoints and
WebSocket connections reject array. See token candlesticks. Successful HTTP responses echo the chosen mode in the x-field-names response header. On WebSocket the mode is fixed per connection and every room honours it: each room’s update payloads arrive in the connection’s mode, whichever rooms you join.
Use long when you want readable names such as market_cap_usd and token_address. Use short when you want smaller messages (mc, ta) — typical for high-frequency WebSocket clients.
The lock endpoints (/token/locks, /token/pool-locks, /token/owner-locks and /token/lock-events) shorten their keys like every other endpoint: data is the list of lock entries or events, each with short keys. On token and pool rows, lp_security is ls and supply_locks is sl. On token holder rows, a locker’s locks breakdown is lks. See LP and token locks for the lock key table.
Envelope keys stay the same in both modes (success, data, type, room_id, interval_ms, WebSocket frame keys beside data such as chain, chain_id, token_address and timeframe, and Pulse/Trending frame keys such as columns and rows). Subscribe responses and errors also keep long keys. Only the payload fields change.
Fee amounts
Pool fee metrics are amounts in the chain’s native currency, such as SOL or ETH. Long and short responses contain the same values:
These names apply to each timeframe in Pulse, Trending, Search, token details, Advanced Price, and price-metrics updates. For example,
"total_fees_native": 0.000006 on Solana means 0.000006 SOL; its short equivalent is "tf": 0.000006.
Lighthouse uses tfn for total_fees_native and tbfn for total_bot_fees_native. Prices, market caps, liquidity, and volumes whose names end in _usd remain USD values.
Error Responses
When a request fails, the envelope still applies. Thesuccess field will be false and message will describe the error.