Get vault allocation
Get where one vault's assets sit.
https://api-v2.syncrone.fi/api/catalog/allocation/{network}/{vaultId}One vault's allocation on its newest daily bar: markets, child vaults, strategies, loans, wallets and idle, each as a share of NAV, with utilization and trailing max drawdowns.
Try it#
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 |
| selectquery | string[]composition | utilizationRate | maxDrawdown | withdrawalPauseRatio | detailedVault | Sections to return. Repeat the parameter or separate with commas. Default: every section but |
Response#
200 returns JSON with these fields. APY values are fractions (0.04 = 4%); timestamps are Unix seconds.
| Field | Type | Description |
|---|---|---|
| vaultId | string | The vault's id, as in the path. |
| network | string | Network name. |
| composition[] | object | null | Where the vault's assets sit on its newest daily bar, read from its own contracts at that bar's block. Null when there is no row (see |
| composition[].name | string | The market, child vault, strategy, wallet or idle balance. |
| composition[].allocation | number | Share of NAV as a fraction (0.25 = 25%). Debts and amounts owed back are negative, so the shares sum to 1. |
| composition[].kind | string |
|
| composition[].vaultId | string | null | The child vault address, or the market id, when the position is one. |
| composition[].asset.positionValueInAsset | string | Value in the vault's asset, base units. |
| composition[].asset.positionValueInUsd | string | null | Value in USD at the bar's asset price. |
| composition[].legs[] | object | For a leveraged position netted in one protocol market: each side, with |
| compositionStatus | string |
|
| compositionAsOf | object | null |
|
| utilizationRate | number | null | Invested share of the composition (not idle); for a lending market without one, its own utilization. |
| utilizationRateSource | string | null |
|
| maxDrawdown | object |
|
| withdrawalPauseRatio | null | Not tracked yet; always null. |
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.