DeFi
Best DeFi yields API
Top yield pools by APY, filterable by token symbol, chain, minimum TVL, and stablecoin-only. Sourced from DefiLlama. Answers 'best yield for USDC right now' in one call.
Price$0.01per request
MethodPOST
Route/v1/defi/yields
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache300s public
defiyieldapyfarmingstablecoindefillama
API URL
Integration docshttps://x402.hexl.dev/v1/defi/yieldsExample request
{
"symbol": "USDC",
"stablesOnly": true,
"limit": 5
}Example response
{
"count": 142,
"filters": {
"symbol": "USDC",
"stablesOnly": true
},
"pools": [
{
"chain": "Base",
"project": "aave-v3",
"symbol": "USDC",
"tvlUsd": 50000000,
"apy": 6.2,
"apyBase": 6.2,
"apyReward": 0,
"stablecoin": true
}
]
}Input schema
{
"type": "object",
"properties": {
"symbol": {
"type": "string",
"examples": [
"USDC",
"ETH"
]
},
"chain": {
"type": "string",
"examples": [
"Base",
"Ethereum"
]
},
"minTvlUsd": {
"type": "number",
"default": 100000
},
"stablesOnly": {
"type": "boolean",
"default": false
},
"limit": {
"type": "number",
"minimum": 1,
"maximum": 100,
"default": 20
}
}
}Output schema
{
"type": "object",
"required": [
"count",
"pools"
],
"properties": {
"count": {
"type": "number"
},
"filters": {
"type": "object",
"additionalProperties": true
},
"pools": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
}
}
}