top_yield_farms
top_yield_farms
DeFi yield farms ranked by realistic APY. Strips emissions inflation. Prices impermanent loss risk into the score.
Signature
top_yield_farms({ chain?: "ethereum" | "arbitrum" | "base" | "solana" | "optimism" | "polygon" | "bsc" | "all", min_tvl?: number, // USD, default 1_000_000 category?: "stablecoin" | "single" | "lp" | "all", limit?: number, // 1-100, default 10})Returns
[ { "pool": "GHO-USDC", "protocol": "Aave V3", "chain": "arbitrum", "tvl_usd": 12_500_000, "apy_total": 18.4, "apy_base": 6.2, "apy_emissions_stripped": 12.2, "il_risk": "low", "category": "lp", "audit_age_days": 412, "url": "https://defillama.com/yields/pool/..." }]Example agent prompt
“find me three stablecoin yield farms on Arbitrum with >$5M TVL and IL risk = low. show APY excluding emissions.”
Why this exists
DefiLlama’s /yields endpoint reports apy_total which includes emissions. Emissions get dumped on TGE → real yield collapses. This tool calculates apy_emissions_stripped = apy_base + apy_rewards * (1 - emissions_inflation_rate) and exposes both numbers so agents can pick the right one for the strategy.
Free tier
24h cached, 10 results, all chains aggregated. Good for “what are the top yield farms today” queries.
Pro tier
Real-time refresh (5min). 100 results. Filter by chain + category + min_tvl. Historical 90d yield curves for backtesting.
See also
- active_airdrop_farms — same data filtered for airdrop-eligible positions
- hl_vault_leaderboard — for delta-neutral basis yield