DeFi Yield Data API

Real-time APY, TVL, and risk scores from 30+ protocols across 7 chains. One endpoint, all the data.

2,200+
Yield Pools
17
Protocols
7
Chains

Simple to Use

Example Request
# Get top yields with $1M+ TVL
curl "https://defiyields.dev/api/yields/top?min_tvl=1000000&limit=5"

# Response
{
  "data": [
    {
      "protocol": "Aave V3",
      "chain": "ethereum",
      "symbol": "USDC",
      "apy_total": 3.45,
      "tvl_usd": 725000000,
      "risk_score": "A"
    }
  ],
  "count": 52
}

API Endpoints

GET
/api/yields
Get all yield pools with filtering and pagination
GET
/api/yields/top
Top yields sorted by APY (max 100%)
GET
/api/yields/stablecoins
Stablecoin yields only (USDC, USDT, DAI)
GET
/api/yields/protocol/:slug
All pools for a specific protocol
GET
/api/protocols
List of supported protocols with metadata
GET
/api/chains
List of supported chains

Query Parameters

GET /api/yields

Parameter Type Description
chains string Comma-separated chain IDs (ethereum,arbitrum,base)
protocols string Comma-separated protocol slugs (aave-v3,lido)
pool_type string Filter: lending, lp, staking, vault
min_tvl number Minimum TVL in USD
min_apy number Minimum APY percentage
max_apy number Maximum APY percentage
sort_by string Sort field: apy, tvl, protocol
order string Sort order: asc, desc
limit number Results per page (max 500)
offset number Pagination offset

Response Fields

Field Type Description
protocol string Protocol name (Aave V3, Lido, etc.)
chain string Chain ID (ethereum, arbitrum, etc.)
symbol string Pool token symbol (USDC, WETH-USDT, etc.)
apy_total number Total APY (base + rewards)
tvl_usd number Total value locked in USD
risk_score string Risk rating: A (low) to F (high)
pool_type string Type: lending, lp, staking, vault
il_risk string Impermanent loss risk: none, low, medium, high

Supported Protocols

Data from the top DeFi protocols, updated every 5 minutes

Aave V3 Lido Uniswap V3 Curve Compound V3 Pendle Balancer V2 Rocket Pool Yearn Beefy Convex PancakeSwap V3 SushiSwap Frax Ether Camelot V3 Velodrome V2 Radiant V2

Supported Chains

Ethereum Arbitrum Base Optimism Polygon BNB Chain Avalanche

Pricing

Free
$0
forever
  • 500 requests/day
  • 10 requests/minute
  • All endpoints
  • Community support
Ultra
$79
per month
  • 100,000 requests/day
  • 120 requests/minute
  • All endpoints
  • Priority support
Mega
$149
per month
  • 500,000 requests/day
  • 300 requests/minute
  • All endpoints
  • Dedicated support