Find DeFi yields
genesis402_defi_yieldsFind and rank DeFi yield pools from DefiLlama by chain, protocol, token, stablecoin-only, and minimum TVL to locate yield opportunities for an asset.
Instructions
Paid ($0.01 USDC). Ranked DeFi yield pools from DefiLlama (15,000+ pools), filterable by chain, protocol, token, stablecoin-only and minimum TVL. Use to answer 'where is the best yield for X'. For other DeFi or market data search genesis402_catalog and call the endpoint through genesis402_call. All filters are optional and combine with AND; with none set it returns the top pools above $1M TVL. Returns up to limit pools, each with protocol, chain, symbol, TVL, base APY vs reward APY, 30-day mean APY, impermanent-loss risk, exposure and DefiLlama's outlook class. APYs are variable and backward-looking; not investment advice. Payment: call once without payment_signature to get the exact price quote (nothing is charged or signed), then call again with the signed payment to receive the result and settlement details.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "genesis402_defi_yields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order: 'apy' (highest yield first) or 'tvl' (largest pool first). | |
| chain | No | Filter to one chain by name, e.g. Ethereum, Base, Arbitrum. Omit for all chains. | |
| limit | No | How many pools to return, 1 to 100. | |
| token | No | Token symbol that must be in the pool, e.g. USDC, ETH, WBTC. | |
| project | No | Filter to one protocol by its DefiLlama slug, e.g. aave-v3. Omit for all protocols. | |
| min_tvl_usd | No | Minimum pool TVL in US dollars as a plain number. Defaults to 1000000 ($1M) when omitted. | |
| stablecoin_only | No | true = only stablecoin pools. Omit or false for all pools. | |
| payment_signature | No | Optional. An x402 v2 payment you signed for this call's quote (the PAYMENT-SIGNATURE header value). Omit to get the price quote first; nothing is charged without it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | QUOTE_ONLY: price quote only, nothing signed or charged. PAID: the call was paid and result holds the data. FREE: the endpoint answered without payment. | |
| paid | Yes | true only when a payment was settled for this call. | |
| price | No | The Base USDC quote. Present on QUOTE_ONLY and on PAID calls made by a local payer; null when the rail offered no Base USDC lane or the caller signed the payment. | |
| result | No | PAID or FREE: the endpoint's JSON result. | |
| resource | No | QUOTE_ONLY: the full URL of the paid resource. | |
| how_to_pay | No | QUOTE_ONLY: how to sign and resend the call. | |
| settlement | No | PAID: decoded PAYMENT-RESPONSE settlement (transaction hash, network, payer), or null if the rail sent none. | |
| what_you_get | No | QUOTE_ONLY: the rail's description of what the payment buys. | |
| payment_required_b64 | No | QUOTE_ONLY: the raw base64 PAYMENT-REQUIRED header, to sign with any x402 v2 client. | |
| also_accepted_networks | No | QUOTE_ONLY: every network the 402 challenge accepts. |