DeFi statistics
get_defi_statsRead-onlyIdempotent
DeFi data. view='chains': TVL by chain. 'protocols': TVL, 1d/7d change, market cap to TVL (filter by query, category such as 'Lending', 'Dexs', 'Liquid Staking', or chain). 'stablecoins': supply and 1d/7d/30d changes. 'dexs': 24h/7d volumes by DEX. 'fees' or 'revenue': 24h/7d/30d by protocol. 'yields': pools with APY and TVL (filters stablecoin_only, chain, symbol, project; sort apy or tvl).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | apy | |
| view | Yes | ||
| chain | No | Chain name, e.g. 'Ethereum', 'Solana', 'Base' | |
| limit | No | ||
| query | No | Name filter for protocols, dexs, fees, revenue | |
| symbol | No | Yields: token in the pool, e.g. 'USDC', 'ETH' | |
| project | No | Yields: project slug, e.g. 'aave-v3' | |
| category | No | Protocol category, e.g. 'Lending' | |
| min_tvl_usd | No | ||
| stablecoin_only | No |