One metric across many assets

GET form of the batch endpoint, in the shape a multi-line chart needs.

get/v1/metrics/{slug}/timeseries/multi

Request

  • Base URL: https://api.onvexia.com
  • URL: https://api.onvexia.com/v1/metrics/{slug}/timeseries/multi
  • Auth: one of:
    • API key in header X-API-Key
    • API key in header Authorization
    • API key in header X-PAYMENT

Path parameters

slugstring required

Metric slug

Query parameters

assetsstring

Comma-separated symbols, e.g. BTC,ETH,SOL

fromstring

ISO time or utc_now-30d

tostring

ISO time or utc_now

intervalstring

5m | 1h | 1d | 7d

aggregationstring

LAST | AVG | SUM | …

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.