Get Spot Trades
Retrieves trades for a specific spot market.
Method Declaration
Parameters
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
ticker | path | Ticker | true | The spot market ticker, e.g. MARTI-USDC. |
limit | query | u32 | false | The maximum number of trades to retrieve. |
createdBeforeOrAtHeight | query | Height | false | Return trades created at or before this block height. |
createdBeforeOrAt | query | DateTime | false | Return trades created at or before this time. |
page | query | u32 | false | Page number for paginated results. |
Response
| Status | Meaning | Schema | Description |
|---|---|---|---|
200 | OK | TradeResponseObject ⛁ | The trades data. |
400 | Bad Request | The request was malformed or invalid. | |
404 | Not Found | The market was not found. |
API Example