The Vaults.fyi API gives you standardized market data for over 1,000 DeFi yield vaults across 80+ protocols and 20+ chains. Instead of building and maintaining one-off integrations per protocol, you get a single endpoint that returns consistent, comparable data for every supported vault. Data is indexed onchain on an hourly basis, so you always have current metrics alongside the full historical record you need for backtesting and trend analysis.Documentation Index
Fetch the complete documentation index at: https://docs.vaults.fyi/llms.txt
Use this file to discover all available pages before exploring further.
What data is available
Each vault object includes APY across four time windows, TVL in USD and native units, a fee breakdown, the Reputation Score with component scores, reward token rates, holder counts, capacity limits, and flags for active protocol notices — among other fields.APY, TVL, fees, and the Reputation Score are computed consistently across all protocols. This means you can safely sort and compare vaults from different protocols side by side.
Endpoints
Vault discovery
Filter and sort vaults by APY, TVL, protocol, network, asset, reputation score, and more.
Single vault detail
Full detail on a specific vault including current and historical APY, TVL, fees, rewards, and the Reputation Score.
Historical data
Time-series APY, TVL, and asset price data over configurable date ranges and granularity.
Benchmarks
USD and ETH benchmark rates aggregated across top vaults for performance comparison.
GET /v2/networks, GET /v2/tokens, and GET /v2/protocols. These are useful for building filter dropdowns and validating user input.
How data is sourced
Vaults.fyi indexes vault state directly from onchain contract calls, not from third-party price feeds or protocol-reported numbers. This approach means:- Hourly updates. Vault metrics refresh every hour from onchain data.
- Consistent methodology. APY is calculated using the same formula across all protocols, so comparisons are meaningful.
- Historical depth. Time-series data is available for backtesting, charting, and reporting without you needing to store it yourself.

