marketPriceCharts
Get last 24h hourly prices for all markets (mark price for perps, index price for spot)
get/api/v1/marketPriceCharts
Query parameters
market_idsinteger · int64[]Optional
Comma-separated public market identifiers.
Responses
200
A successful response.
application/json
codeinteger · int32RequiredExample:
200messagestringOptional
resolutionstringRequiredExample:
1h400
Bad request
application/json
get/api/v1/marketPriceCharts
GET /api/v1/marketPriceCharts HTTP/1.1
Host: mainnet.zklighter.elliot.ai
Accept: */*
{
"code": 200,
"message": "text",
"resolution": "1h",
"price_charts": [
{
"market_id": 1,
"prices": [
"text"
]
}
]
}Last updated
Was this helpful?