Real-time APY, TVL, and risk scores from 30+ protocols across 7 chains. One endpoint, all the data.
# 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 }
| 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 |
| 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 |
Data from the top DeFi protocols, updated every 5 minutes