Before implementing yield features in your application, you’ll need to retrieve essential information such as APY rates, minimum deposit requirements, and other terms. This guide explains how to fetch this data using our API endpoints.Documentation Index
Fetch the complete documentation index at: https://docs.deframe.io/llms.txt
Use this file to discover all available pages before exploring further.
In the yield category, we encompass various passive income-generating activities in DeFi. This includes lending (where users earn interest by providing liquidity), investing in yield-generating vaults (which automatically compound returns), and staking (where users lock tokens to earn rewards).
Two Integration Approaches
A) Protocol-Specific Approach (Explicit)
Use this when you want to work with a specific yield protocol.
Response includes:
- Composite strategy ID (
id) in the format{protocol}-{assetName}-{network} - Current APY rate (
apy) and historical APY (avgApy,inceptionApy) - Asset info (
assetcontract address,assetName,assetDecimals) - Protocol fee in basis points (
fee) - Available actions (
availableActions) - Pause status (
paused)
B) Protocol-Agnostic Approach (Less Explicit)
Let our system automatically select the optimal protocol for your needs. Use the Generic Endpoint:- Highest APY rates
- Additional reward incentives
- Current market conditions
- Protocol reliability
UI Integration Example

Next Steps
Deposit to Yield
Execute a deposit into a yield protocol
Check Positions
Monitor your yield positions