Back

#yield-farming

3 APIs with this tag

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.

api.oanor.com/yieldfarming-api

Crypto Yields API

Live DeFi yield-farming APYs across the whole decentralised-finance ecosystem as an API, streamed from the DefiLlama yields feed. For thousands of liquidity pools across every chain and protocol: the current APY split into base and reward, the pool's TVL, its chain, project and token symbol, whether it is a stablecoin pool and its impermanent-loss risk. Rank the top yields with a sensible TVL floor (so dust-pool noise is filtered out), drill into any single protocol or chain, filter to stablecoin pools, or search. Built for DeFi, yield-aggregator and dashboard apps. Distinct from TVL and price APIs — this is the live yield surface. Note: very high APYs are reward-driven and transient; use a TVL floor, the stablecoin filter, or sort by TVL for durable yields.

api.oanor.com/cryptoyields-api

DeFi Analytics API

Decentralized-finance analytics as an API, powered by DefiLlama. Track the Total Value Locked (TVL) across more than 7,000 DeFi protocols ranked and filterable by blockchain and category (Lending, DEXes, Liquid Staking, Bridges, CDP and more), drill into any single protocol for its current TVL, per-chain breakdown, category, market cap and links, see how much value is locked on each of 450+ blockchains, read the circulating supply and peg of every major stablecoin (USDT, USDC, DAI and the rest), and find the best yield-farming pools with their base and reward APY, filterable by chain and project. Every figure is live and denominated in USD. Perfect for DeFi dashboards and portfolio trackers, yield aggregators, research and analytics tools, trading bots and crypto data sites. No accounts, no upstream key. For token spot prices use the Crypto API.

api.oanor.com/defi-api