Get Hyperliquid trades
Get historical trades (fills) for a coin within a time range. Includes full execution details like fees, PnL, and position direction. Data available from April 2023. History before 2025-03-22 comes from a capped per-user API backfill and is incomplete, especially for maker-side and high-volume activity.
Pagination: Use the cursor parameter with the value from the previous response's next_cursor for efficient pagination.
Request
- Base URL: https://api.0xarchive.io
- URL: https://api.0xarchive.io/v1/hyperliquid/trades/{symbol}
- Auth: API key in header X-API-Key
Path parameters
Trading pair symbol (e.g., BTC, ETH, SOL)
Query parameters
Start timestamp in Unix milliseconds. Defaults to 24h ago.
End timestamp in Unix milliseconds. Defaults to now.
Cursor for pagination (use the value from previous response's next_cursor)
Maximum number of results (default: 100, max: 1000)
Response
List of trades with cursor for next page
Example response
{
"success": true,
"data": [
{
"symbol": "BTC",
"coin": "BTC",
"side": "B",
"price": "42150.50",
"size": "0.5",
"timestamp": "2025-01-21T10:30:45.123Z"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.