Skip to main content
GET
/
vaults
/
{vault_id}
/
timeseries
cURL
curl --request GET \
  --url https://api.0d.finance/{version}/vaults/{vault_id}/timeseries
{
  "metric": "<string>",
  "points": [
    {
      "t": "<string>",
      "v": "<string>"
    }
  ],
  "timeframe": "<string>"
}

Path Parameters

vault_id
string
required

Vault identifier

Query Parameters

metric
enum<string>
required

Vault-level metric to return

Available options:
tvl,
pnl
timeframe
enum<string>
required

Time period

Available options:
7d,
30d,
1y,
all
currency
enum<string>
required

Currency for values

Available options:
usd,
usdc

Response

Vault timeseries data

metric
string
required
points
object[]
required
timeframe
string
required