defi_tvl
Fetches DeFi TVL by chain, stablecoin circulating supply, or yield pools from DefiLlama. Use it to compare chains, track stablecoin supply, or filter pools by project and chain.
Instructions
[Trading Data API] DefiLlama data: TVL by chain, stablecoin circulating supply, or yield pools.
Example: /v1/defi-tvl?view=chains
Use when you need DeFi TVL by chain, stablecoin supply or yield pools from DefiLlama. Not for the health or risk of one protocol (use protocol_health_score).
Behavior: read-only. Priced via x402 (USDC on Base) or free with WICKEDAPI_API_KEY; with neither, you get HTTP 402 with the decoded price in payment_required (a price quote, not a failure).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "defi_tvl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Optional. chains (default), stablecoins, or yields. | |
| chain | No | Optional (yields view). Filter pools by chain, e.g. Ethereum. | |
| limit | No | Optional. Rows to return (default 20, max 100). | |
| project | No | Optional (yields view). Filter pools by project, e.g. aave-v3. |