Tools / Crypto
DeFi statistics
get_defi_stats
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).
Questions it answers
- Which chains gained TVL this month?
- What are the top stablecoin yields above $10M TVL?
Parameters
| Parameter | Description |
|---|---|
viewrequiredchains | protocols | stablecoins | dexs | fees | revenue | yields | |
querystring | Name filter for protocols, dexs, fees, revenue |
categorystring | Protocol category, e.g. 'Lending' |
chainstring | Chain name, e.g. 'Ethereum', 'Solana', 'Base' |
symbolstring | Yields: token in the pool, e.g. 'USDC', 'ETH' |
projectstring | Yields: project slug, e.g. 'aave-v3' |
stablecoin_onlyboolean = false | |
min_tvl_usdnumber | |
sortapy | tvl = "apy" | |
limitinteger = 20 |
Use it from your agent
Add the TradingData MCP URL to Claude, ChatGPT, Cursor or any MCP client, then ask in plain words. The model sees this tool's description and calls it with the right parameters.
https://mcp.tradingdata.io