Why This Matters
Building yield products from scratch means months of work across DeFi protocols, managing smart contract interactions, tracking positions across chains, and ongoing maintenance. We’ve done that - you get one API that covers everything to get your yield product live in days.What It Does
Let users deposit stablecoins and crypto assets into DeFi yield venues (lending protocols and yield vaults) and track positions. Build products that aggregate yield across multiple protocols, automatically rebalance for optimal returns, or manage treasury operations for businesses. You call our API, we return a transaction payload. You or your users sign and broadcast. Users earn yield, you capture fees. Important: Users must first create an Earn Account before depositing into yield venues.Supported Venues
A venue is a DeFi market or vault where users can deploy funds to generate yield.| Protocol | Type | What it does |
|---|---|---|
| Aave V3 | Lending market | Deposit assets, earn variable rate from borrowers |
| Morpho | Vaults + Markets | Optimized lending with curated risk management, and markets to earn variable rates from borrowers |
| ERC-4626 Vaults | Standardized vaults | Yield from various strategies |
Venue Data & Analytics
Vaults
For each ERC-4626 vault, we return the address, chain, underlying asset, TVL, and APY over 7, 30, and 90 days. Filter by chain or asset symbol, sort by TVL or APY.Aave Markets
For each Aave market, we return supply and borrow APY by chain. We also surface which chain has the highest supply rate for each token, useful if you want to route deposits to the best opportunity automatically.Positions
For each user position, we return the current balance, vault name, and full PnL breakdown: total deposited, total withdrawn, cost basis, realized and unrealized PnL, total yield earned, and fees paid. Every deposit and withdrawal is logged with block number and transaction hash, enough detail for tax reporting or building a transaction history UI.Example: Get Top Vault by 30-Day Net Annualized Return
Fetch the top vault sorted by 30-day net annualized return (after fees) to help users find the best performing opportunities:Manage Earn Positions
Deposit into yield vaults and manage positions with just a few lines of code.Deposit into a Vault
Deposit into the Steakhouse USDC vault on Morpho. This walk-through sends 0.5 USDC from the owner’s Earn Account into the vault, without embedding a fee and without gas sponsorship. If you want to monetize flows or cover gas for users, set thefee and gasSponsorship fields accordingly; the SDK call stays the same.
Sign and broadcast the transaction: