Get vault allocation

Get where one vault's assets sit.

GEThttps://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.

← Vaults API overview

Try it#

GET/allocation/mainnet/0x98C23E9d8f34FEFb1B7BD6a91B7FF122F4e16F5c

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/allocation/mainnet/0x98C23E9d8f34FEFb1B7BD6a91B7FF122F4e16F5c" \
  -H "x-api-key: $SYNCRONE_API_KEY"

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.

selectquerystring[]composition | utilizationRate | maxDrawdown | withdrawalPauseRatio | detailedVault

Sections to return. Repeat the parameter or separate with commas. Default: every section but detailedVault.

Response#

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

FieldTypeDescription
vaultIdstring

The vault's id, as in the path.

networkstring

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 compositionStatus).

composition[].namestring

The market, child vault, strategy, wallet or idle balance.

composition[].allocationnumber

Share of NAV as a fraction (0.25 = 25%). Debts and amounts owed back are negative, so the shares sum to 1.

composition[].kindstring

market, vault, idle, loans, custody, debt, fee or other.

composition[].vaultIdstring | null

The child vault address, or the market id, when the position is one.

composition[].asset.positionValueInAssetstring

Value in the vault's asset, base units.

composition[].asset.positionValueInUsdstring | 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 role collateral, supply or debt.

compositionStatusstring

available; pending (read daily, no row yet); not_applicable (fixed-term, staking and yield tokens hold nothing to allocate); no_reader.

compositionAsOfobject | null

timestamp (the bar, unix seconds), blockNumber, blockTimestamp, source (reader: the vault's contracts; rates: a single lending market split into lent and idle from its rate bar) and reader.

utilizationRatenumber | null

Invested share of the composition (not idle); for a lending market without one, its own utilization.

utilizationRateSourcestring | null

composition or rates (the market's own reported utilization); null with no value.

maxDrawdownobject

mdd30days, mdd90days, mdd365days: worst peak-to-trough drop of the daily share price, as a positive fraction.

withdrawalPauseRationull

Not tracked yet; always null.

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.