Why it matters
Consumer platforms already have the user relationship, asset context, and trust surface for earn and borrow features. The hard part is turning fragmented DeFi markets into product-safe options: which opportunities to show, how to explain them, how to route the user, and how to track what happens after capital moves. Vaults.fyi gives your team the components to do that without rebuilding the market stack. Start with ranked vaults, APY windows, TVL, protocol metadata, rewards, fees, capacity, and risk/return context. Then add the workflows that matter for your roadmap: non-custodial execution, portfolio tracking, TVL attribution, borrowing views, and monetization. Use Vaults.fyi to:- Match yield opportunities to the assets a user already holds.
- Filter out vaults that do not meet your risk/return policy.
- Compare APY, TVL, fees, rewards, capacity, curators, networks, and protocols with one schema.
- Prepare non-custodial transactions for deposits, withdrawals, and reward claims when you want execution.
- Show position balances, returns, and history when you want portfolio tracking.
- Measure retained TVL when you want partner reporting, rebates, or commercial attribution.
What you can build
Yield discovery
Surface ranked vault opportunities filtered by asset, network, APY, and reputation score. Users see exactly where their idle funds can earn.
Embeddable widget
Launch a branded Earn surface with curated discovery, positions, and transaction-ready flows without designing the full UI from scratch.
Data-only yield views
Build discovery screens, internal allowlists, comparison tables, or routing logic from normalized vault data without adding transactions.
1-click deposits and withdrawals
Generate ready-to-sign deposit and redeem payloads for any supported vault. Transactions go directly from the user’s wallet to the target protocol.
Portfolio tracking
Show users their current positions, accrued returns, and PnL across all yield strategies they’ve entered through your app.
Borrowing
Show borrow markets, supplied and borrowed positions, risk metrics, and supported supply, withdraw, borrow, and repay actions.
TVL attribution
Track the deposits, withdrawals, and retained TVL your app drives into each vault, protocol, curator, and network.
Monetization
Attach flat or percentage-based fees to deposit and withdrawal transactions. Configure fee logic through the API without touching smart contracts.
How integration works
Most teams start by fetching vault data. The later steps are optional modules you can add when your product needs execution, attribution, portfolio tracking, or borrowing.1
Fetch vaults
Call
GET /v2/detailed-vaults to retrieve a filtered, ranked list of vaults with APY, TVL, the Reputation Score, and protocol metadata. Apply filters for asset, network, or minimum reputation score to match your users’ needs.2
Optional: generate a transaction payload
Call the transactions endpoint with the vault address, user wallet, and deposit amount. The API returns a ready-to-sign payload with no intermediary contracts involved.
3
Optional: sign and submit
Pass the payload to the user’s wallet for signing. Your app broadcasts the transaction. The user interacts directly with the target protocol.
4
Optional: track attributed TVL
Transactions generated through Vaults.fyi include TVL tracking automatically, so you can measure retained balances and vault-level flows in portal.vaults.fyi. If you build vault transactions yourself, append a free attribution suffix instead. Learn more in TVL Attribution.
5
Optional: track positions
Use the portfolio endpoints to display the user’s current balance in each vault, yield earned since deposit, and estimated annual return.
6
Optional: add borrowing views
Use the Beta borrowing API to show supported borrow markets, supplied and borrowed positions, risk metrics, and available supply, withdraw, borrow, or repay actions.
Non-custodial by design
All transaction payloads route funds directly from the user’s wallet to the target protocol. Vaults.fyi never holds or controls user funds. This means:- No intermediary smart contracts inflating gas costs
- Fewer attack surfaces compared to proxy or aggregator architectures
- Full UX control stays with your app
Both externally owned accounts (EOAs) and smart wallets are supported. For smart wallets, you can bundle fee transactions with the user’s deposit in a single atomic operation.
Monetize yield integrations
You can attach fees to any deposit or withdrawal routed through your app. The API supports multiple fee structures so you can design the model that fits your business.Flat fees
Charge a fixed amount per deposit or withdrawal, regardless of transaction size.
Performance fees
Take a percentage of yield earned over time, aligning your revenue with user outcomes.

