DeFi Yield Farming API
The best liquidity-pool, staking and vault yields across DeFi, with the risk profile that decides whether a headline APY is actually worth farming — live from DeFiLlama, no key. A pool can advertise 40% APY, but if it is a volatile two-token liquidity position the impermanent loss can eat the yield, and if the rate spiked yesterday it may be gone tomorrow. This API is the yield-farming screener: for every non-lending pool (DEX liquidity, staking, vaults, farms) it returns the current APY split into base and reward, the 30-day average APY, a sustained APY (the lower of the two, so a pool only scores high if it yields well both now and on average), the impermanent-loss risk and exposure (single-asset or multi-token), whether it is a stablecoin pool, the TVL and daily trading volume, and DeFiLlama's own forward prediction of whether the APY will hold, rise or fall. The pools endpoint is the full screener, filterable by project, chain, asset, stablecoin-only, exposure, IL-risk and minimum size, sorted by current or 30-day or sustained APY, TVL or volume. The best endpoint answers the question directly — the highest-yielding farms ranked by the sustained APY so the answer is real and farmable, not a one-day spike; add stablecoin=true or exposure=single for lower-risk yield. The project endpoint summarises one protocol's pools (Uniswap, Curve, Pendle, Convex). The LP / staking / vault yield-farming cut — distinct from the on-chain money-market lending-rate API (supply and borrow rates, which this one excludes entirely), from the TVL analytics APIs, and from price feeds. Ranking surfaces exclude DeFiLlama-flagged outlier pools so the best yield is one you could actually farm.
#yield-farming
#defi
#apy
- Uptime
-
100.0%
- Latency
- 227ms
- Subs
- 4,207
Server verified
12 probes/24h
api.oanor.com/yieldfarming-api