Get vault TVL
Get one vault's TVL data.
GET
https://api-v2.syncrone.fi/api/catalog/advanced-vaults/{network}/{vaultId}/tvlThe vault's TVL on its newest indexed bar.
Try it#
Example#
A real response to the pre-filled Try it request, recorded from Syncrone data. Values move with every indexing run.
200
GET /advanced-vaults/mainnet/0x98C23E9d8f34FEFb1B7BD6a91B7FF122F4e16F5c/tvl{
"usd": "2268702789",
"native": "2268929682474779"
}Parameters#
| Name | Type | Description |
|---|---|---|
| networkpathrequired | string | Network name ( |
| vaultIdpathrequired | string | Vault address (the share or receipt token, any case). A vault listed without an address is addressed by its |
Response#
200 returns JSON with these fields. APY values are fractions (0.04 = 4%); timestamps are Unix seconds.
| Field | Type | Description |
|---|---|---|
| usd | string | null | TVL in USD, whole dollars. |
| native | string | null | TVL in the asset's base units (wei for an 18-decimal token). |
Errors#
| Status | Meaning |
|---|---|
| 400 | Invalid query or path parameter, or unknown network. |
| 401 | Missing or rejected API key. |
| 404 | No vault with this id on this network. |
| 429 | Too many requests from the docs playground. Wait a minute. |
| 500 | The service failed. |
Error bodies carry error and, for invalid parameters, details.