{"success":true,"data":{"id":"svc_defi_tvl_01","slug":"defi-tvl","name":"DeFi TVL and DEX Volume","description":"DeFi data from DefiLlama in four modes. protocol: TVL, 1d/7d change, category, market cap and chain breakdown of a protocol (slug or name, e.g. aave, uniswap, lido). top: largest protocols by TVL, optional category (e.g. Lending, Dexs, Liquid Staking) and chain filter. chains: chains ranked by TVL with share. dex_volume: 24h/7d/30d DEX volume and top DEXes, optionally for one chain. Params: mode (protocol, top, chains, dex_volume; default top, or protocol if protocol is given), protocol, category, chain, limit (1 to 50, default 10).","category":"finance","endpoint":"https://agentsvc.io/api/v1/proxy/defi-tvl","price_usdc":0.003,"latency_p99_ms":4000,"input_schema":{"type":"object","properties":{"mode":{"type":"string","enum":["protocol","top","chains","dex_volume"]},"protocol":{"type":"string","description":"Protocol slug or name (mode protocol)"},"category":{"type":"string","description":"DefiLlama category (mode top)"},"chain":{"type":"string","description":"Chain name, e.g. Base, Ethereum (modes top, dex_volume)"},"limit":{"type":"integer","minimum":1,"maximum":50,"default":10}}},"output_schema":{"type":"object","properties":{"mode":{"type":"string"},"query":{"type":"string"},"found":{"type":"boolean"},"protocols":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"symbol":{"type":"string"},"category":{"type":"string"},"tvl_usd":{"type":"integer"},"change_1d_pct":{"type":"number"},"change_7d_pct":{"type":"number"},"mcap_usd":{},"mcap_to_tvl":{},"chain_count":{"type":"integer"},"top_chains":{"type":"array","items":{"type":"object","properties":{"chain":{"type":"string"},"tvl_usd":{"type":"integer"}}}},"url":{"type":"string"},"defillama":{"type":"string"}}}},"source":{"type":"string"},"checked_at":{"type":"string"}},"required":["mode"],"example":{"mode":"protocol","query":"aave","found":true,"protocols":[{"name":"Aave V3","slug":"aave-v3","symbol":"AAVE","category":"Lending","tvl_usd":18447878695,"change_1d_pct":-0.62,"change_7d_pct":0.2,"mcap_usd":null,"mcap_to_tvl":null,"chain_count":21,"top_chains":[{"chain":"Ethereum","tvl_usd":15545458426},{"chain":"Base","tvl_usd":574387153}],"url":"https://aave.com","defillama":"https://defillama.com/protocol/aave-v3"},{"name":"Aave V4","slug":"aave-v4","symbol":"AAVE","category":"Lending","tvl_usd":675107580,"change_1d_pct":-0.4,"change_7d_pct":3.07,"mcap_usd":null,"mcap_to_tvl":null,"chain_count":3,"top_chains":[{"chain":"Ethereum","tvl_usd":461813271},{"chain":"Arc","tvl_usd":183375728}],"url":"https://aave.com","defillama":"https://defillama.com/protocol/aave-v4"}],"source":"DefiLlama","checked_at":"2026-10-06T14:29:38.091Z"}},"is_active":true,"provider":"agentsvc.io","tags":["defi","tvl","dex-volume","defillama","protocols"],"method":"POST","example_input":{"mode":"protocol","protocol":"aave"},"price_atomic":"3000","price_display":"$0.003 USDC","try_url":"https://agentsvc.io/api/v1/try/defi-tvl","try_limit_per_day":3,"info_url":"https://agentsvc.io/api/v1/services/defi-tvl","page_url":"https://agentsvc.io/services/defi-tvl","curl_example":"curl -X POST https://agentsvc.io/api/v1/proxy/defi-tvl -H \"Content-Type: application/json\" -d '{\"mode\":\"protocol\",\"protocol\":\"aave\"}'","status":{"ok":true,"latency_ms":314,"checked_at":"2026-10-06T16:26:20.336Z"}},"payment":{"protocol":"x402","x402_versions_accepted":[1,2],"scheme":"exact","network":"eip155:8453","network_v1":"base","chain_id":8453,"asset":"USDC","asset_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","asset_decimals":6,"eip712_domain":{"name":"USD Coin","version":"2","chainId":8453,"verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"pay_to":"0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27","facilitator":"https://api.cdp.coinbase.com/platform/v2/x402","request_header_v2":"PAYMENT-SIGNATURE","request_header_v1":"X-PAYMENT","requirements_v2":"base64 JSON in the PAYMENT-REQUIRED response header of the 402","requirements_v1":"JSON body of the 402 (accepts[0])","receipt_header":"PAYMENT-RESPONSE (and X-PAYMENT-RESPONSE): base64 JSON with transaction hash","accounts_required":false,"api_keys_required":false,"settlement":"per call, on-chain, after the service succeeded. Failed calls are never charged."},"links":{"catalog":"https://agentsvc.io/api/v1/services","openapi":"https://agentsvc.io/openapi.json","llms_txt":"https://agentsvc.io/llms.txt","llms_full_txt":"https://agentsvc.io/llms-full.txt","agents_md":"https://agentsvc.io/AGENTS.md","skill_md":"https://agentsvc.io/SKILL.md","status":"https://agentsvc.io/api/v1/status","docs":"https://agentsvc.io/docs","mcp_server":"https://agentsvc.io/mcp-server.mjs","discovery":"https://agentsvc.io/.well-known/x402","agent_card":"https://agentsvc.io/.well-known/agent-card.json"}}