For the complete documentation index, see llms.txt. This page is also available as Markdown.

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: 200
messagestringOptional
resolutionstringRequiredExample: 1h
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?