Get vault TVL

Get one vault's TVL data.

GEThttps://api-v2.syncrone.fi/api/catalog/advanced-vaults/{network}/{vaultId}/tvl

The vault's TVL on its newest indexed bar.

← Vaults API overview

Try it#

GET/advanced-vaults/mainnet/0x98C23E9d8f34FEFb1B7BD6a91B7FF122F4e16F5c/tvl

Kept in this browser tab only, and sent to Syncrone with each request. No key yet? Create one ↗

Example vaults
Parameters
Response
Paste an API key, then press Send. The parameters are pre-filled with a real example.
curl
curl "https://api-v2.syncrone.fi/api/catalog/advanced-vaults/mainnet/0x98C23E9d8f34FEFb1B7BD6a91B7FF122F4e16F5c/tvl" \
  -H "x-api-key: $SYNCRONE_API_KEY"

Example#

A real response to the pre-filled Try it request, recorded from Syncrone data. Values move with every indexing run.

200GET /advanced-vaults/mainnet/0x98C23E9d8f34FEFb1B7BD6a91B7FF122F4e16F5c/tvl
{
  "usd": "2268702789",
  "native": "2268929682474779"
}

Parameters#

NameTypeDescription
networkpathrequiredstring

Network name (mainnet, base, arbitrum…), CAIP-2 id (eip155:1) or chain id (1).

vaultIdpathrequiredstring

Vault address (the share or receipt token, any case). A vault listed without an address is addressed by its slug.

Response#

200 returns JSON with these fields. APY values are fractions (0.04 = 4%); timestamps are Unix seconds.

FieldTypeDescription
usdstring | null

TVL in USD, whole dollars.

nativestring | null

TVL in the asset's base units (wei for an 18-decimal token).

Errors#

StatusMeaning
400Invalid query or path parameter, or unknown network.
401Missing or rejected API key.
404No vault with this id on this network.
429Too many requests from the docs playground. Wait a minute.
500The service failed.

Error bodies carry error and, for invalid parameters, details.