List vault allocations
List where vaults' assets sit, with utilization and drawdowns.
https://api-v2.syncrone.fi/api/catalog/allocationEach vault's allocation on its newest daily bar, its utilization and its trailing max drawdowns. Takes the same filters and sort as List advanced vaults (allowedNetworks, allowedAssets, allowedProtocols, minTvl, minApy, tags, curators, sortBy…); sections are read for the requested page only.
Try it#
Parameters#
| Name | Type | Description |
|---|---|---|
| pagequery | integer | Page number, starting from 0. |
| perPagequery | integer | Items per page, 1 to 100. |
| selectquery | string[]composition | utilizationRate | maxDrawdown | withdrawalPauseRatio | detailedVault | Sections to return. Repeat the parameter or separate with commas. Default: every section but |
| allowedNetworksquery | string[] | Networks to include. Repeat the parameter or separate with commas. |
| allowedProtocolsquery | string[] | Protocols to include, by |
| sortByquery | stringtvl | apy1day | apy7day | apy30day | Field to sort by. |
| sortOrderquery | stringasc | desc | Sort direction. |
Response#
200 returns JSON with these fields. APY values are fractions (0.04 = 4%); timestamps are Unix seconds.
| Field | Type | Description |
|---|---|---|
| itemsOnPage | integer | Number of items in |
| nextPage | integer | Next page number. Absent on the last page. |
| data[].vaultId | string | The vault's id, as in the path. |
| data[].network | string | Network name. |
| data[].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 |
| data[].composition[].name | string | The market, child vault, strategy, wallet or idle balance. |
| data[].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. |
| data[].composition[].kind | string |
|
| data[].composition[].vaultId | string | null | The child vault address, or the market id, when the position is one. |
| data[].composition[].asset.positionValueInAsset | string | Value in the vault's asset, base units. |
| data[].composition[].asset.positionValueInUsd | string | null | Value in USD at the bar's asset price. |
| data[].composition[].legs[] | object | For a leveraged position netted in one protocol market: each side, with |
| data[].compositionStatus | string |
|
| data[].compositionAsOf | object | null |
|
| data[].utilizationRate | number | null | Invested share of the composition (not idle); for a lending market without one, its own utilization. |
| data[].utilizationRateSource | string | null |
|
| data[].maxDrawdown | object |
|
| data[].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. |
| 429 | Too many requests from the docs playground. Wait a minute. |
| 500 | The service failed. |
Error bodies carry error and, for invalid parameters, details.