GET /api/v1/marketPriceCharts

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/lighter/api/v1/marketPriceChartsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Compact hourly price sparkline series for one or more markets.

Parameters

nameintypedescription
market_idsquerystroptionalComma-separated market IDs.
example: 0,1

Response

type: object
data key: price_charts
pagination: none
sample: {
  "code": "int",
  "resolution": "str",
  "price_charts": "array[2]"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/lighter/api/v1/marketPriceCharts?market_ids=0%2C1"