Get trades
- Hyperliquid
- Spot
- HIP-3
- HIP-4
- Lighter
/v1/hyperliquid/trades/{symbol}, /recent. Plain perp symbols such as BTC.Request parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
symbol | path | string | Yes | Trading pair symbol, e.g. BTC |
start | query | integer (ms) | No | Start time, Unix ms. Defaults to 24h ago |
end | query | integer (ms) | No | End time, Unix ms. Defaults to now |
limit | query | integer | No | Max results. Default 100, max 1000 |
cursor | query | string | No | Pagination cursor from meta.next_cursor |
Response fields
Each item in thedata array:
| Field | Type | Description |
|---|---|---|
symbol | string | Trading pair symbol (coin is a deprecated alias) |
side | string | B (buy) or A (sell) |
price | string | Execution price (decimal string) |
size | string | Trade size (decimal string) |
timestamp | string | Execution time (UTC) |
trade_id | integer | Unique trade ID |
crossed | boolean | True if taker (crossed the spread), false if maker |
fee | string | Fee paid; a negative value is a maker rebate |
fee_token | string | Fee denomination, e.g. USDC |
closed_pnl | string | Realized PnL on a closing fill |
direction | string | Human label such as Open Long, Close Short |
start_position | string | Position size before this trade |
user_address | string | User wallet address |
tx_hash | string | Blockchain transaction hash |
builder_address, builder_fee, deployer_fee, and priority_gas; order_id, cloid, maker_address, taker_address, and twap_id appear where applicable. price, size, and fee are decimal strings. Paginate with meta.next_cursor and keep meta.request_id per page. Full field meanings live in the field dictionary.
Stream it live
Every venue streams trades. Subscribe totrades for Hyperliquid core, or the venue-prefixed channel for the rest: spot_trades, hip3_trades, hip4_trades, lighter_trades. Keep the symbol shape that matches the family.
Export in bulk
For the historical tape as files, use thetrades export schema ($8/GB, $15 minimum), delivered as Parquet with ZSTD compression. Build a selection in the Data Catalog; columns and coverage keys are on Export Schemas.