{"uid":"cap_G6qkuNKXTNzB35cyFY3kc","slug":"scriptmasterlabs-defi-protocol-tvl-lookup-385840ff","name":"ScriptMasterLabs DeFi Protocol TVL Lookup","description":"Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).","url":"https://acp-x402-scriptmasterlabs.onrender.com/x402/defi-protocol-tvl?utm_source=zero.xyz","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":{"type":"string"},"queryParams":{"type":"object","properties":{"protocol":{"type":"string","example":"aave"}}}}},"output":{"properties":{"example":{}}}}},"responseSchema":{"example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.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_LIgTBluXbErAAIFSp-Rmc","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 the Total Value Locked (TVL) for a specified DeFi protocol, paid per-call in USDC via x402.","exampleAgentPrompt":"What's the current total value locked for Aave? Pull it from ScriptMasterLabs' DeFi TVL endpoint.","exampleUseCases":[{"title":"DeFi portfolio risk monitoring","prompt":"What is the current TVL for Aave? I want to see how much capital is locked in before I adjust my DeFi positions."},{"title":"Protocol health comparison","prompt":"Can you pull the TVL for Uniswap so I can compare it with Curve and see which protocol has more liquidity locked right now?"},{"title":"DeFi research report enrichment","prompt":"I'm writing a report on top DeFi platforms — can you get me the latest TVL figure for Compound?"}],"resultDescription":"Returns the total value locked (TVL) for the specified DeFi protocol, typically including the protocol name and its current TVL expressed in USD or a relevant denomination. The response schema is minimal and the example is sparse, so exact field names should be confirmed at runtime.","failureModes":["Unknown or misspelled protocol name returns empty or error response","Protocol not tracked by the data source returns null TVL","x402 payment failure results in 402 status with no data returned","Rate limiting or server unavailability on the Render-hosted service","Stale or delayed TVL data if upstream aggregator is lagging"],"whenToPreferThis":"Use this endpoint when you need quick, pay-per-call TVL lookups for a named DeFi protocol without committing to a subscription. It is ideal for agents that need occasional or on-demand DeFi TVL data settled in USDC on Base via the x402 protocol, particularly when cost-per-call pricing at $0.001 USDC is acceptable. Prefer this over subscription APIs when usage is sporadic or when crypto-native payment rails are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:41:33.596Z","isFirstParty":false,"canonicalSlug":"scriptmasterlabs-defi-protocol-tvl-lookup-385840ff"}