Get Trading History Window
Trading Data
Get Trading History Window
Returns all trades for a recent time window.
GET
Get Trading History Window
Endpoint
GET /api/trading-history/{window}
Returns all trades for a recent time window.
Parameters
| Parameter | Location | Required | Type | Description |
|---|---|---|---|---|
window | path | Yes | string | Time window: 24h, 48h, or 72h. |
chainId | query | Yes | integer | Blockchain chain ID. Common values: 42161 Arbitrum, 8453 Base, 137 Polygon. |
Usage Example
Response Structure
The generated API panel lists the response schema for status codes: 200, 400, 500. Error responses generally return anerror or message field.