Metric timeseries
Returns 404 naming the metric when unavailable. The caveat ships with the data for approximate metrics.
get/v1/metrics/{slug}/timeseries
Request
- Base URL: https://api.onvexia.com
- URL: https://api.onvexia.com/v1/metrics/{slug}/timeseries
- 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
slugstring
Asset symbol, e.g. BTC
fromstring
ISO time or relative syntax (utc_now-30d)
tostring
ISO time or utc_now
intervalstring
5m | 1h | 1d | 7d
aggregationstring
LAST | FIRST | AVG | SUM | MIN | MAX | MEDIAN | COUNT
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.