Vault Endpoints

This section of our API documentation concentrates on delivering specific data points and historical analytics for individual DeFi vaults on vaults.fyi. These endpoints are essential for users seeking detailed insights into the performance and statistics of a single vault. Below is a summary of the endpoints included in this section:

All plans

  • Vault Information (GET /v1/vaults/{network}/{vaultAddress}): Provides comprehensive details about a specific vault, including its address, network, TVL, and other operational data.

  • Vault APY (GET /v1/vaults/{network}/{vaultAddress}/apy): Retrieves the current APY data for a vault over various intervals, such as 1 day, 7 days, or 30 days.

  • Vault Historical TVL (GET /v1/vaults/{network}/{vaultAddress}/historical-tvl/{timestamp}): Offers historical TVL information for a vault based on the closest block time to a given timestamp.

  • Vault Historical APY (GET /v1/vaults/{network}/{vaultAddress}/historical-apy/{timestamp}): Fetches APY data from the past for a specific vault, corresponding to the closest timestamp available.

Each endpoint within the Vault Endpoints section is designed to facilitate access to in-depth vault-specific data. This enables developers, analysts, and enthusiasts to construct robust financial models, perform trend analyses, or integrate detailed vault information into their platforms. The endpoints provide granular control over the data retrieved, ensuring that the information can be as broad or as detailed as required for the user's purpose.

Got questions or feedback? Reach out to us on X or Farcaster.

Last updated