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

ParameterDescription
viewrequired
chains | protocols | stablecoins | dexs | fees | revenue | yields
query
string
Name filter for protocols, dexs, fees, revenue
category
string
Protocol category, e.g. 'Lending'
chain
string
Chain name, e.g. 'Ethereum', 'Solana', 'Base'
symbol
string
Yields: token in the pool, e.g. 'USDC', 'ETH'
project
string
Yields: project slug, e.g. 'aave-v3'
stablecoin_only
boolean = false
min_tvl_usd
number
sort
apy | tvl = "apy"
limit
integer = 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.

MCP server URL
https://mcp.tradingdata.io

More in Crypto