{"uid":"cap_3A_lOtgZ-cvZWvDRVkKzZ","slug":"x402-ottoai-services-7151a6b6","name":"x402.ottoai.services DeFi Protocol Analytics","description":"Where DeFi capital is flowing — TVL rankings, fastest-growing vs bleeding protocols, chain-by-chain breakdown, and per-protocol deep dives. Track capital rotation and protocol health. Powered by DefiLlama.","url":"https://x402.ottoai.services/defi-analytics","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"protocol":{"type":"string","description":"Protocol slug for detailed view (optional — omit for DeFi overview)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["status","data","meta"],"properties":{"data":{"description":"Report object on success, error string on failure"},"meta":{"type":"object","required":["generatedAt","degraded","sourceHealth"],"properties":{"degraded":{"type":"boolean"},"generatedAt":{"type":"string"},"sourceHealth":{"type":"object"},"stalenessSec":{"type":["number","null"]}},"description":"Freshness. generatedAt = when we built this response. stalenessSec = age of our cached snapshot, absent on live pass-throughs. dataAsOf = vintage of the observations. degraded = an older good version was served."},"report":{"type":"string","description":"DEPRECATED mirror of data.report — kept so pre-2026-08-10 integrations keep working."},"status":{"enum":["success","failed"],"type":"string"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{}}},"response":{"_truncated":true,"_originalSize":10604}},"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ew-NinzaidZ9soayXoBK_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns DeFi protocol analytics including TVL rankings, chain breakdowns, gainers/losers, and per-protocol deep dives.","exampleAgentPrompt":"Give me a DeFi market overview — show the top protocols by TVL, which ones are gaining or losing, and break it down by chain. Then do a deep dive on Aave specifically.","exampleUseCases":null,"resultDescription":"A text report (string) with DeFi protocol analytics: TVL rankings across protocols, chain-level breakdown, top gainers and losers, and optionally a detailed view for a specific protocol if a slug is provided.","failureModes":["Invalid or unrecognized protocol slug returns an error or empty result","Network or upstream data provider outage returns a failed status","Missing required input wrapper causes schema validation error","Rate limiting or payment failure results in 402 payment required"],"whenToPreferThis":"Use this endpoint when you need a broad DeFi market overview (TVL rankings, gainers/losers, chain breakdowns) or a focused deep dive on a specific protocol. Prefer this over general crypto price endpoints when the user cares specifically about DeFi protocol metrics and TVL rather than token prices or yield rates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:53:58.708Z","isFirstParty":false}