v1

latestOpenAPI 3.1.02026-08-0466147138.0 KB
Data

Get historical vault data

Get historical vault data by vaultID(s) or superformID(s)

get/vault/data/historical/{vaultOrSuperformIDs}

Path parameters

vaultOrSuperformIDsstring required

Comma-separated list of vault or superform IDs

Example:6277101738082190570017043140855561342102135322485627578637,859962937750480043315024633754576372459598905847746964453763

Comma-separated list of vault or superform IDs

Query parameters

start_timestampinteger

Unix timestamp for the start of the time series data

Example:1726225932

Unix timestamp for the start of the time series data

end_timestampinteger

Unix timestamp for the end of the time series data

Example:1729225932

Unix timestamp for the end of the time series data

granularity'hour' | 'day'

Granularity of the time series data. Default is day.

Example:day

Granularity of the time series data. Default is day.

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

vaultsobject required

Vault metrics data keyed by superform_id

Example response

{
  "$schema": "https://api.superform.xyz/schemas/HistoricalVaultResponseBody.json"
}