Insights API endpoints
General endpoints
Access data across all vaults to perform broad market analyses or enhance application features. Fetch lists of vaults, tokens, tags, and networks to quickly integrate a wide range of DeFi assets into your service.
Obtain real-time and historical data on vaults, including detailed TVL and APY metrics.
List Vaults (
GET /v1/vaults
): Fetches a list of vaults filtered by tags, tokens, network, and TVL parameters.Retrieve Tags (
GET /v1/tags
): Obtains a list of all tags present in the database, aiding in the categorization and search of vaults.Retrieve Tokens (
GET /v1/tokens
): Retrieves a comprehensive list of tokens, including details like name, symbol, and network, available in the database.Retrieve Networks (
GET /v1/networks
): Gathers a list of all blockchain networks represented in the database, complete with their names and chain IDs.Detailed Vaults Data (
GET /v1/detailed/vaults
): Provides an in-depth look at vaults with detailed information, including financial statistics and operational details, with robust filtering and pagination capabilities.Benchmarks (
GET /v1/benchmarks)
: Provides benchmark data related to the vaults.fyi USD benchmark rate and vaults.fyi ETH benchmark rate.
Vaults endpoints
These endpoints are essential for detailed insights into the performance and statistics of a single vault. Each endpoint within the Vault Endpoints section provides access to in-depth vault-specific data. 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.
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.
Vaults PRO endpoints
The following endpoints provide rich historical data and are available to premium subscribers. Get comprehensive historical datasets in a single call.
Contact us to learn more.
Vault Range Historical APY (
GET /v1/vaults/{network}/{vaultAddress}/historical-apy
): Provides a range of historical APY data points for a vault, between specified start and end timestamps, with configurable granularity.Vault Range Historical DATA (
GET /v1/vaults/{network}/{vaultAddress}/historical-data
): Provides detailed TVL and APY data for a vault, between specified start and end timestamps, with configurable granularity.
Endpoints
Last updated