{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "getSpotCandles response 200",
"description": "API response containing an array of candle data",
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"description": "OHLCV candle data",
"type": "object",
"required": [
"close",
"high",
"low",
"open",
"timestamp",
"volume"
],
"properties": {
"close": {
"description": "Closing price",
"type": "number",
"format": "double",
"example": 42650.75
},
"high": {
"description": "Highest price during interval",
"type": "number",
"format": "double",
"example": 42750
},
"low": {
"description": "Lowest price during interval",
"type": "number",
"format": "double",
"example": 42300.25
},
"open": {
"description": "Opening price",
"type": "number",
"format": "double",
"example": 42500.5
},
"quote_volume": {
"description": "Trading volume in quote asset (USD)",
"type": "number",
"format": "double",
"example": 53187500
},
"timestamp": {
"description": "Candle start timestamp (ISO 8601 UTC)",
"type": "string",
"format": "date-time",
"example": "2026-01-01T12:00:00Z"
},
"trade_count": {
"description": "Number of trades in interval",
"type": "integer",
"example": 4520
},
"volume": {
"description": "Trading volume in base asset",
"type": "number",
"format": "double",
"example": 1250.5
}
}
}
},
"meta": {
"type": "object",
"properties": {
"count": {
"description": "Number of records returned",
"type": "integer"
},
"next_cursor": {
"description": "Cursor for pagination",
"type": "string",
"nullable": true
}
}
},
"success": {
"type": "boolean",
"example": true
}
}
}