DefiLlama DeFi Liquidity & Lending Yield Pools
Filter ranked DeFi yield pools across chains and protocols by APY, TVL, asset symbol, and stablecoin status using a compact server-side index.
curl -sG "https://api.agentapigate.ai/v1/crypto/defillama/yields" \ --data-urlencode "chain=Ethereum" \ --data-urlencode "stablecoin_only=true" \ --data-urlencode "min_tvl_usd=1000000" \ --data-urlencode "limit=15" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# DefiLlama DeFi Liquidity & Lending Yield Pools (`crypto.defillama.yields`) **count**: 15 ## pools - [1] pool: d8c4eff5-c8a9-46fc-a888-057c4c668e72, chain: Ethereum, project: sky-lending, symbol: SUSDS, tvl_usd: 1866788887 - [2] pool: 66985a81-9c51-46ca-9977-42b4fe7bc6df, chain: Ethereum, project: ethena-usde, symbol: SUSDE, tvl_usd: 1106925512 - [3] pool: 21e1ac8a-b3aa-4576-9506-0b40137721a0, chain: Ethereum, project: aave-v3, symbol: USDE, tvl_usd: 1037639054 - [4] pool: aa70268e-4b52-42bf-a116-608b370f9501, chain: Ethereum, project: aave-v3, symbol: USDC, tvl_usd: 888856687 - [5] pool: f981a304-bb6c-45b8-b0c5-fd2f515ad23a, chain: Ethereum, project: aave-v3, symbol: USDT, tvl_usd: 645584464 - [6] pool: 43641cf5-a92e-416b-bce9-27113d3c0db6, chain: Ethereum, project: maple, symbol: USDC, tvl_usd: 615450225 - [7] pool: f04f40c0-4075-57e9-82f5-f4e0f4703371, chain: Ethereum, project: morpho-blue, symbol: SXSRLUSD, tvl_usd: 500002304 - [8] pool: 55b0893b-1dbb-47fd-9912-5e439cd3d511, chain: Ethereum, project: usual-usd0, symbol: BUSD0, tvl_usd: 486677160 - [9] pool: 1910847a-f8b5-40ce-a1ab-1dafdded5fbb, chain: Ethereum, project: invesco-ustb, symbol: USTB, tvl_usd: 457585367 - [10] pool: 699f25fe-09f4-4f82-8f58-baa5b0af8fa4, chain: Ethereum, project: morpho-blue, symbol: SENPYUSDMAIN, tvl_usd: 362501406 - [11] pool: 2e53bb82-f13f-4157-a3bf-b1a91b94b6a4, chain: Ethereum, project: morpho-blue, symbol: SENRLUSDV2, tvl_usd: 333105239 - [12] pool: 246659c9-877b-5dcc-92c1-cbd7bfcf0d85, chain: Ethereum, project: centrifuge-protocol, symbol: USAT, tvl_usd: 321292860 - [13] pool: 1c312830-ee96-40c9-b55f-b0f209ca6ebd, chain: Ethereum, project: re, symbol: REUSD, tvl_usd: 315633099 - [14] pool: 29932dea-cd71-44c3-95bd-3e1525f4e3dd, chain: Ethereum, project: aave-v3, symbol: SUSDE, tvl_usd: 289867941 - [15] pool: 4c004503-9587-46f2-a362-d23a80f4b691, chain: Ethereum, project: maple, symbol: USDG, tvl_usd: 285043143
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:crypto.defillama.yields · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| chain | string | optional | Ethereum | Optional chain filter (e.g. "Ethereum", "Arbitrum", "Base", "Solana") |
| project | string | optional | — | Optional protocol filter (e.g. "aave-v3", "lido", "uniswap-v3") |
| symbol | string | optional | — | Optional asset symbol filter (e.g. "USDC", "ETH", "USDT") |
| stablecoin_only | boolean | optional | true | Return stablecoin pools only |
| min_tvl_usd | number | optional | 1000000 | Minimum pool TVL in USD |
| sort_by | string | optional | tvl_usd | Sort metric |
| limit | number | optional | 15 | Max pools returned (1-30) |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0010 / call | $0/mo · Balance never expires |
| Remote MCP Tool | crypto_defillama_yields | OAuth 2.1 Hub & /mcp/finance |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 325 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 1952t → 519t (-73%) | Partner credit: eligible |
More DefiLlama (api.llama.fi) Data APIs
Query Total Value Locked (TVL), 1d/7d TVL change, chains, and categories across 4,000+ DeFi protocols.
Retrieve Total Value Locked (TVL) ranked across Layer-1 and Layer-2 blockchains from DefiLlama with token symbols and chain IDs.
Retrieve stablecoin circulating supply, peg price, mechanism (fiat-backed, crypto-backed, algorithmic), and 24h supply changes across top stablecoins.
Retrieve ranked 24h, 7d, and 30d protocol fee revenue across DEXs, lending markets, L1/L2 chains, and DeFi applications.
Retrieve decentralized exchange (DEX) 24h, 7d, and 30d trading volumes from DefiLlama with optional chain and protocol filtering.
Fetch current USD prices, decimals, symbols, and confidence scores for up to 25 native chain:address tokens via DefiLlama Coins API.
Frequently Asked Questions
How do I call DefiLlama DeFi Liquidity & Lending Yield Pools (crypto.defillama.yields) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/crypto/defillama/yields with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool crypto_defillama_yields on https://mcp.agentapigate.ai/mcp.
What does crypto.defillama.yields cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.001 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on crypto.defillama.yields?
Passing ?format=md transforms the response into normalized Markdown (~519 tokens vs ~1952 raw tokens, saving 73% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only finance endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["finance"], optional allowed_endpoints: ["crypto.defillama.yields"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.