Exchange
Get market stats history
Handles GET /v1/market/{symbol}/stats via get.v1.market.by_symbol.stats.
get/v1/market/{symbol}/stats
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
Market symbol
Query parameters
start_timestring date-time nullable
Start time for market stats history (defaults to 1 hour ago)
end_timestring date-time nullable
End time for market stats history (defaults to now)
limitinteger nullable
Maximum number of data points to return (max 10000, default 1000)
timeframestring nullable
Timeframe for aggregating stats (1s, 5s, 1m, 5m, 15m, 30m, 1h, 4h, 1d)
Response
Successfully retrieved market stats history
Changes
No recorded changes to this operation across all 2 revisions of this API.