Exchange
Get candles
Handles GET /v1/candles/{symbol} via get.v1.candles.by_symbol.
get/v1/candles/{symbol}
Request
- Base URLhttps://perp-api.phoenix.trade
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
symbolstring required
Trading symbol
Query parameters
timeframestring required
Timeframe
startTimeinteger
Start time in milliseconds since Unix epoch
endTimeinteger
End time in milliseconds since Unix epoch
limitinteger
Max number of candles (default: 2500)
enableExternalSourceboolean
Opt-in external candles stored in the DB (default: false)
Response
Asset candles
Changes
No recorded changes to this operation across all 2 revisions of this API.