Get trades with cursor pagination (Deprecated)
Deprecated: Use /v1/hyperliquid/trades/{symbol} or /v1/lighter/trades/{symbol} instead.
Get historical trades using cursor-based pagination. This is the same as /v1/trades/{symbol} with cursor pagination (which is now the default). This endpoint is maintained for backwards compatibility and explicit cursor-only usage.
Request
- Base URL: https://api.0xarchive.io
- URL: https://api.0xarchive.io/v1/trades/{symbol}/cursor
- 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). The cursor is an opaque string that should be passed as-is.
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.