This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

DefiLlama Yield Calculator

Analytics · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryAnalytics
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

This tool fetches current APY/APR data from the DefiLlama API for specified protocols, vaults, or yield strategies, then projects potential returns based on your input. You provide a principal amount, compounding frequency, and time horizon, and the tool calculates the projected total and interest earned. It also displays the protocol name, pool details, chain, and TVL where available. The tool optionally reads your connected wallet address, though this is not required for calculation—it's available for future integration with wallet-based yield suggestions.

HOW TO USE

Connect your EVM wallet (optional) using the "Connect" button—this is not required for the calculator but may be used in future for personalized recommendations. Enter the protocol name you want to check (e.g., "aave", "lido", "curve"). Use the search box to find protocols tracked by DefiLlama—the API will return the highest-yield pool for that protocol. Enter your principal amount (in USD), select compounding frequency (annually to daily), and set your time horizon in years. Click "Calculate yield" to fetch live APY data and see your projected returns. The tool will display the current APY, projected total, and interest earned, along with pool details and TVL where available.

TECHNICAL MECHANISM

The tool queries the DefiLlama public API endpoint at https://yields.llama.fi/pools?protocol={name}. This endpoint returns a list of all pools associated with the given protocol name. The tool parses the response, filters for valid APY values, and selects the pool with the highest APY to provide a "best-case" estimate. It then applies the standard compound interest formula: A = P × (1 + r/n)^(n×t), where A is the final amount, P is principal, r is the APY as a decimal, n is compounding frequency per year, and t is time in years. The result is displayed with the pool name, protocol, chain, TVL, and the calculated interest. All data is fetched live—no caching—so you always see the most recent APY reported by DefiLlama.

WHAT IT CANNOT SEE

The tool cannot guarantee future yields—all rates are historical or current estimates and can change at any moment due to market conditions, protocol changes, or other factors. It cannot account for impermanent loss (for LP positions), liquidation risk, smart contract risk, or slippage. It cannot verify the accuracy of DefiLlama's reported yields or protocol data—you are trusting a third-party oracle. The tool does not consider gas costs for deposits, withdrawals, or reinvestment, which can significantly impact net returns. It does not support non-EVM chains or protocols not tracked by DefiLlama. It also does not factor in protocol fees, performance fees, or withdrawal penalties that may apply.

PLEASE NOTE

This tool is for informational and educational purposes only. It is not financial advice. Projected returns are estimates based on current APY data and do not guarantee future performance. Always conduct your own research (DYOR) before making any investment decisions. The DefiLlama API is subject to rate limits and availability; if the API is down, the tool will display an error. This tool only works with EVM-compatible chains and protocols tracked by DefiLlama.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.