Get Spot Candles
Retrieves candle data for a specific spot market. Prices are in the quote asset; usdVolume is normalised to USD; startingOpenInterest is always zero for spot.
Method Declaration
Parameters
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
ticker | path | Ticker | true | The spot market ticker, e.g. MARTI-USDC. |
resolution | query | CandleResolution | true | The candle resolution (e.g., "1DAY", "1HOUR", "1MIN"). |
limit | query | u32 | false | The maximum number of candles to retrieve. |
fromISO | query | DateTime | false | The start timestamp in ISO format. |
toISO | query | DateTime | false | The end timestamp in ISO format. |
Response
| Status | Meaning | Schema | Description |
|---|---|---|---|
200 | OK | CandleResponseObject ⛁ | The candle data. |
400 | Bad Request | The request was malformed or invalid. |
API Example