{"uid":"cap_NuP4UNz2FKAa3XouEh9l5","slug":"tokenguard-defi-analytics-endpoint-83391f92","name":"TokenGuard DeFi Analytics Endpoint","description":"DeFi protocol TVL breakdown by chain, category, description, staking/borrowed TVL (DeFiLlama, free, no key). Covers 3000+ protocols.","url":"https://eltociear-tokenguard.hf.space/defi","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"slug":{"type":"string","description":"DeFiLlama protocol slug (e.g. 'aave', 'uniswap', 'compound')"},"include_history":{"type":"boolean","description":"Include 30d TVL history (default false)"}}},"responseSchema":{"type":"json","example":{"name":"Aave","slug":"aave","category":"Lending","top_chains":[{"chain":"Ethereum","tvl_usd":9800000000}],"staking_usd":198000000,"borrowed_usd":7500000000,"total_tvl_usd":12500000000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_p2iRxTho4p-h4LkiVh2Qo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves DeFi protocol analytics including TVL, staking, borrowing data, and chain breakdowns for a named protocol","exampleAgentPrompt":"Can you pull up the DeFi analytics for Aave — I want to see its total TVL, how much is staked and borrowed, and which chains it's most active on?","exampleUseCases":null,"resultDescription":"Returns a JSON object with the protocol's canonical name, slug, DeFi category (e.g. Lending), a breakdown of TVL by top chains, total staking in USD, total borrowed in USD, and aggregate total TVL in USD.","failureModes":["Unknown protocol slug returns empty or error response","Protocol not indexed returns null or 404-equivalent","Micropayment failure via x402 prevents call from executing","Stale data if underlying on-chain data source hasn't updated recently","Invalid POST body format returns validation error"],"whenToPreferThis":"Use this endpoint when you need structured DeFi protocol-level analytics — specifically TVL by chain, staking, and borrowing metrics — for a named protocol like Aave, Compound, or Curve. Prefer this over generic crypto price APIs when you need DeFi-specific on-chain intelligence rather than spot prices.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:47:27.876Z","isFirstParty":false}