Vault Metrics
Use the Get Vaults endpoint to retrieve Vault data. You can also query the Get Vault Depositors endpoint for depositor-level breakdowns. All of the fields referenced below are located in thevaultStrategy object of the response.
Example request:
Example
Computing Vault TVL
Sum the following fields fromvaultStrategy.strategy:
Example
Computing Vault APY
The total Vault APY that a depositor earns is the sum of two components, the lending APY from order-book interest, and the rewards APY from any active token incentive schedules.- Lending APY
- Rewards APY
This blends the interest earned from order-book lending with the yield from any external yield source, normalized over the total TVL.
Example
Calculating Total APY
The following combines both components into a single calculation:Example
Loop Metrics
Use the Get Loop Info endpoint to retrieve Loop data. You can filter by:- Loop identifiers — either the slug (e.g.
acred-usdg) or the mints formatted as{PRINCIPAL_MINT}-{COLLATERAL_MINT} - Tags — e.g.
Stablecoin,Exponent,Hylo, etc.
Example
Total Looped Assets
ThecollateralDeposited field returns the total assets deposited into the Loop, in decimal-scaled value.
Example
Computing Loop APY
Use thewAvgApy field, which represents the current weighted-average APY across all active positions, weighted by size.
Example