Skip to main content

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.
ProtocolTypeWhat it does
Aave V3Lending marketDeposit assets, earn variable rate from borrowers
MorphoVaults + MarketsOptimized lending with curated risk management, and markets to earn variable rates from borrowers
ERC-4626 VaultsStandardized vaultsYield from various strategies
For fixed yield, use Fixed Earn with Pendle to lock in rates for 30, 90, or 180 days. We support dozens of yield venues across multiple chains. If you need a specific venue, we can add it.

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 the fee and gasSponsorship fields accordingly; the SDK call stays the same. Sign and broadcast the transaction:

Check Your Positions

Use Cases

Consumer: Build a yield savings product that deposits across Aave, Morpho simultaneously. Show users one aggregated APY while spreading risk across protocols. Example: User deposits $10,000 split between Aave (5.2% APY) and Morpho (6.1% APY). App shows combined 5.65% APY. After one year, user earns $565 in yield. You embed a 10% fee on earned yield. Automated Rebalancing: Monitor rates across protocols and automatically rebalance user funds to maximize yield. When Morpho offers 6.2% but Aave drops to 4.8%, rebalance atomically. Example: $50,000 in Aave earning 4.8% ($2,400/year). Rebalance to Morpho at 6.2% ($3,100/year). Net gain: $700 additional yield annually. Treasury Management: Let businesses earn on idle capital. Deposit stablecoin balances into yield vaults, track performance for CFO dashboards, and maintain liquidity for operations. Example: Company with $1M average idle stablecoin balance earns 5.5% APY ($55,000/year) while maintaining full liquidity.

Next Steps