AgentAPIGate
Back to Catalog
GET /v1/crypto/defillama/yieldsPack: finance·MCP Tool: crypto_defillama_yields

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.

API Key Price:$0.0010 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Optional chain filter (e.g. "Ethereum", "Arbitrum", "Base", "Solana")
Optional protocol filter (e.g. "aave-v3", "lido", "uniswap-v3")
Optional asset symbol filter (e.g. "USDC", "ETH", "USDT")
Return stablecoin pools only
Minimum pool TVL in USD
Sort metric
Max pools returned (1-30)
Get $0.25 Free Key →
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"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-73% tokens
# 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
ParameterTypeReqSample / DefaultDescription
chainstringoptionalEthereumOptional chain filter (e.g. "Ethereum", "Arbitrum", "Base", "Solana")
projectstringoptional—Optional protocol filter (e.g. "aave-v3", "lido", "uniswap-v3")
symbolstringoptional—Optional asset symbol filter (e.g. "USDC", "ETH", "USDT")
stablecoin_onlybooleanoptionaltrueReturn stablecoin pools only
min_tvl_usdnumberoptional1000000Minimum pool TVL in USD
sort_bystringoptionaltvl_usdSort metric
limitnumberoptional15Max pools returned (1-30)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0010 / call$0/mo · Balance never expires
Remote MCP Toolcrypto_defillama_yieldsOAuth 2.1 Hub & /mcp/finance
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency325 ms$0 billed on empty or 4xx/5xx
Token Economy1952t → 519t (-73%)Partner credit: eligible

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.