{"slug":"tanod-dev-v1-defi-yields-8cc30b","title":"Use when an agent must choose where to lend or borrow","host":"tanod.dev","method":"POST","resource":"https://tanod.dev/v1/defi/yields","category":"market","description":"Use when an agent must choose where to lend or borrow: supply and borrow APY on Aave, Compound and Morpho. DeFi lending rates: supply and borrow APY on Aave V3, Compound V3 and Morpho by chain and asset, with a best stablecoin rate view (chainpeek, Tanod).","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":197,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:137","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"limit":5,"view":"best_stablecoin"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"assets":{"anyOf":[{"items":{"pattern":"^[A-Za-z0-9._-]{1,20}$","type":"string"},"maxItems":20,"type":"array"},{"type":"null"}],"default":null,"description":"Optional asset symbols such as USDC or WETH (case-insensitive, at most 20). In best_stablecoin only USDC, USDT, DAI, USDS and USDe are ranked."},"chains":{"anyOf":[{"items":{"enum":["ethereum","base","arbitrum","polygon","optimism"],"type":"string"},"maxItems":5,"type":"array"},{"type":"null"}],"default":null,"description":"Optional subset of ethereum, base, arbitrum, polygon, optimism. Default: all. Aave V3, Compound V3 and Morpho cover all five."},"limit":{"default":50,"description":"Rows returned, 1-200 (default 50).","maximum":200,"minimum":1,"type":"integer"},"min_tvl_usd":{"anyOf":[{"maximum":10000000000000,"minimum":0,"type":"number"},{"type":"null"}],"default":null,"description":"Only rows with at least this many USD supplied (rows with an unknown USD size are dropped when it is above 0). Default 0; best_stablecoin defaults to 1,000,000."},"protocols":{"anyOf":[{"items":{"enum":["aave_v3","compound_v3","morpho"],"type":"string"},"maxItems":3,"type":"array"},{"type":"null"}],"default":null,"description":"Optional subset of aave_v3, compound_v3, morpho. Default: all."},"view":{"default":"all","description":"all: every matching rate, highest supply APY first. best_stablecoin: USDC, USDT, DAI, USDS and USDe ranked by supply APY across the three protocols (canonical token addresses only).","enum":["all","best_stablecoin"],"type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"age_s":{"type":"integer"},"apy_basis":{"type":"string"},"as_of":{"type":"string"},"best_by_asset":{"additionalProperties":{"properties":{"chain":{"type":"string"},"kind":{"type":"string"},"name":{"type":["string","null"]},"protocol":{"type":"string"},"supplied_usd":{"type":["number","null"]},"supply_apy_pct":{"type":["number","null"]}},"type":"object"},"type":"object"},"count":{"type":"integer"},"coverage":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},"max_age_s":{"type":"integer"},"min_tvl_usd":{"type":["number","null"]},"note":{"type":"string"},"refresh_interval_s":{"type":"integer"},"rows":{"items":{"properties":{"asset":{"type":"string"},"asset_address":{"type":"string"},"borrow_apy_pct":{"type":["number","null"]},"borrowed_usd":{"type":["number","null"]},"chain":{"type":"string"},"collateral":{"type":["string","null"]},"id":{"type":["string","null"]},"kind":{"type":"string"},"name":{"type":["string","null"]},"protocol":{"type":"string"},"rank":{"type":"integer"},"stablecoin":{"type":["string","null"]},"supplied_usd":{"type":["number","null"]},"supply_apy_pct":{"type":["number","null"]},"supply_apy_with_rewards_pct":{"type":["number","null"]},"utilization":{"type":["number","null"]}},"type":"object"},"type":"array"},"sorted_by":{"type":"string"},"sources":{"items":{"properties":{"age_s":{"type":"integer"},"as_of":{"type":"string"},"chain":{"type":["string","null"]},"docs":{"type":"string"},"name":{"type":"string"},"protocol":{"type":"string"},"stale":{"type":"boolean"},"truncated":{"type":"boolean"},"url":{"type":"string"}},"type":"object"},"type":"array"},"sources_unavailable":{"items":{"properties":{"chain":{"type":["string","null"]},"protocol":{"type":"string"},"reason":{"type":"string"}},"type":"object"},"type":"array"},"stablecoins":{"items":{"type":"string"},"type":"array"},"stale":{"type":"boolean"},"total_matching":{"type":"integer"},"view":{"type":"string"}},"required":["as_of","stale","note","sources","rows","count"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":197,"error":null}],"description_full":"Use when an agent must choose where to lend or borrow: supply and borrow APY on Aave, Compound and Morpho. DeFi lending rates: supply and borrow APY on Aave V3, Compound V3 and Morpho by chain and asset, with a best stablecoin rate view (chainpeek, Tanod).","last_updated":"2026-10-12T03:20:10.7Z","schemes":["exact"]}