Skip to main content
GET
Get Trading History Window

Endpoint

GET /api/trading-history/{window} Returns all trades for a recent time window.

Parameters

Usage Example

Response Structure

The generated API panel lists the response schema for status codes: 200, 400, 500. Error responses generally return an error or message field.

Path Parameters

window
string
required

Time window: 24h, 48h, or 72h.

Example:

"24h"

Query Parameters

chainId
integer
required

Blockchain chain ID. Common values: 42161 Arbitrum, 8453 Base, 137 Polygon.

Example:

42161

Response

Successful response