Loading...
Loading...
Guide for querying DeFi yield and APY data using get_yield_pools. Covers pool filtering by token, chain, protocol, category, stablecoin-only mode, and capacity assessment. Explains APY conventions, lending vs borrowing rates, and sort options. Use when users ask about yields, APY, lending rates, borrowing costs, best pools, or DeFi yield strategies.
npx skill4agent add defillama/defillama-skills yield-strategiesapy = 2.32defillama:get_yield_pools| Want | Parameter | Example |
|---|---|---|
| Pools with specific token | | |
| Pools on specific chain | | |
| Pools from specific protocol | | |
| Pools from protocol category | | |
| Only stablecoin pools | | |
| Minimum APY threshold | | |
| Minimum TVL | | |
| Include borrow-side data | | |
token: "coingecko:ethereum"chain: "ethereum"tokencoingecko:ethereumdim.pool_set()coingecko:ethereumsort_by"apy desc""tvl desc""apy_base desc""apy_reward desc"symbolprotocolparent_protocolcategorychainapyapy_baseapy_rewardapy_base_borrowapy_reward_borrowtvltotal_supplytotal_borrowperiod7d30d90d180d365dinclude_volatility: trueapy_avg_30dapy_median_30dapy_std_30dcv_30dstart_dateend_dateperiodapy_base_borrowapy_reward_borrowapy_base_borrow - apy_reward_borrowinclude_borrow: truedefillama:get_yield_pools(stablecoin_only: true, category: "Lending", sort_by: "apy desc")defillama:get_yield_pools(token: "coingecko:ethereum", min_tvl: 1000000, sort_by: "apy desc")defillama:get_yield_pools(stablecoin_only: true, chain: "arbitrum", category: "Lending", include_borrow: true, sort_by: "apy_base_borrow asc")defillama:get_yield_pools(token: "coingecko:usd-coin", sort_by: "apy desc", min_tvl: 100000)defillama:get_yield_pools(protocol: "aave", chain: "ethereum", sort_by: "apy desc")