Candle (K-line) series
GET /v1/market/candles — OHLC bars for one symbol and interval. Exact chain/address requests use Token Story history and honor startTime/endTime
GET /v1/market/candles
OHLC bars for one symbol and interval. Exact chain/address requests use Token Story history and honor startTime/endTime in Unix milliseconds. They never fall back to same-symbol exchange assets. Empty history returns candles=[], while transport or malformed-response failures return HTTP 502. Other requests keep the existing Binance/Yahoo paths; the legacy Minara analysis fallback is only used for its actual 4h interval.
| Method | GET |
| Path | /v1/market/candles |
| Auth | Authorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set |
| Category | market |
Notes
Spot chart routing follows minara-discover: token-info.exchangeMarketPair selects the TradingView hosted widget; other exact tokens use this Token Story candle feed. Native symbol metadata is queried by symbol, so an execution wrapper cannot choose the native asset chart. Quote and chart requests do not require referenceDataSource/sourceRef; Backend asset identity owns matching. TradingView widget data is not exported as structured OHLCV by this endpoint. Token Story chart resolutions are 1m, 5m, 15m, 1h, 4h, 12h, 1d, 3d and 1w. Fixed Hyperliquid/Lighter charts retain their own feeds.