Everything You Can Know About a Vault
The Vaults.fyi API surfaces more data about a DeFi vault than most applications ever need. Use it to discover opportunities, build vault detail pages, power filters, and decide which vaults are suitable for your users. This page documents what you can retrieve — what each field means, which endpoint it comes from, and what you would use it for. The primary source for static vault data isGET /v2/detailed-vaults/{network}/{vaultId}. Additional endpoints extend that with advanced analytics, time-series history, near real-time state, and per-user position data.
The auto-generated API Reference endpoint pages are the authoritative source for exact field names, types, and required/optional status — they update automatically from the OpenAPI spec on every release. This page is the narrative layer: what each field means and when to use it. If you spot a discrepancy, the endpoint page is correct.
Identity
Every vault has a stable identity and a set of descriptive fields.Vault Tags
Vault tags describe the economic mechanism, product type, or structural exposure behind a vault. They are useful for filtering vaults, building category views, and explaining why a vault belongs in a given yield segment. Tags are not mutually exclusive: a vault can have more than one tag when multiple classifications apply. Some tags are broad parent categories, while others are more precise subclasses. For example,Lending is the broad parent category for lending-driven yield, while tags like Curated Lending, Direct Protocol Lending, Isolated Market, and Shared Lending Pool provide more specific filtering.
Use GET /v2/tags to retrieve the live list of supported tags.
Protocol and Curator
Vaults belong to a protocol. Some are additionally managed by a named curator (e.g. a risk manager or strategy team).The Asset
The underlying asset is what users deposit and withdraw. All balances and TVL figures reference this token.The LP Token
When a user deposits into a vault, they receive LP tokens representing their share. These are the tokens held in a wallet.APY
APY data is normalized across all protocols using a consistent methodology. See Calculating APY for details. Each vault returns APY across four time windows, each broken into three components:Composite APY (nested vaults)
When a vault’s underlying asset is itself another vault’s LP token (e.g. a vault that deposits into another yield vault), an additionalapyComposite object is present. It compounds both layers of yield into a single figure.
TVL
Advanced Analytics
For deeper vault discovery and diligence workflows, use the Alpha Advanced Analytics endpoints:
Advanced Analytics uses a
select request body so applications only request the sections they need:
Advanced Analytics is currently in Alpha. Field availability depends on protocol support and data coverage. Build integrations so nullable fields can be hidden or explained instead of treated as failures.
Additional Rewards
Many vaults distribute bonus reward tokens on top of base yield. Each entry in therewards array represents one reward token.
Reward APYs are already included in the top-level
apy.*.reward field. The rewards array lets you attribute yield to specific tokens and display individual reward rates.Reputation Score
Vaults.fyi computes a composite reputation score for each vault based on several risk signals. Higher is better. See Reputation Score for methodology.Holders
Capacity
Fee Structure
All fee fields are optional and omitted when not applicable to a given vault.
Flags and Warnings
Use
flags to surface active protocol notices in your UI, such as paused deposits, ongoing audits, migration notices, or resolved incidents that are still within their display window. Use flags[].resolution when present to show that an issue has been mitigated or otherwise addressed.
warnings is a convenience text array for backward-compatible displays. Prefer flags for new integrations because it includes severity, expiry, and resolution context.
Active flags can reduce the vault’s Reputation Score. Resolved flags may still appear and may still contribute a reduced penalty while the Reputation Score recovers — see Flag penalties for how severity and decay work.
Transactional Support
See Transaction Flows for full details on building deposit and withdrawal flows.
Other Metadata
Historical Time-Series
The following is available from the historical endpoints (GET /v2/historical/{network}/{vaultId}).
Each data point in the time series includes:
Separate endpoints allow fetching APY-only, TVL-only, or share price-only history for lower cost. See Historical.
Near Real-Time Metrics
For applications that need the most current vault state (deposit previews, live dashboards, liquidation monitoring), the NRT endpoints query onchain state directly rather than relying on the hourly index.User Position Data
The portfolio endpoints return per-wallet position data for any vault whereuserEventsIndexed is true.
Current position
GET /v2/portfolio/positions/{userAddress}/{network}/{vaultId}
Total returns
GET /v2/portfolio/total-returns/{userAddress}/{network}/{vaultId}
Transaction history
GET /v2/portfolio/events/{userAddress}/{network}/{vaultId}

