{"uid":"cap_dR9zyrBXtUj2CrbaO-xgt","slug":"syra-defillama-tvl-lookup-d3d873ed","name":"Syra DefiLlama TVL Lookup","description":"Machine money for agents on Solana: live x402 pay-per-call APIs, MCP tools, typed SDK. Earn · Treasury · Invest · Spend · Grow.","url":"https://api.syraa.fun/defillama/tvl","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","queryParams":{"chain":{"type":"string","required":false,"description":"Blockchain name (e.g. Solana, Ethereum) — alternative to protocol"},"protocol":{"type":"string","required":false,"description":"DefiLlama protocol slug (e.g. aave, uniswap) — alternative to chain"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.00108/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00108","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00108","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_A5aIxWmhcu4KNUUtrm0pA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.00108","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches Total Value Locked (TVL) data for a specific blockchain chain or DeFi protocol via DefiLlama, delivered as a pay-per-call API on Solana.","exampleAgentPrompt":"What's the current total value locked for Aave? Pull the latest TVL data from DefiLlama.","exampleUseCases":[{"title":"DeFi protocol TVL research","prompt":"What is the current total value locked for Uniswap? I want the latest DefiLlama TVL figure."},{"title":"Blockchain ecosystem TVL check","prompt":"Can you look up the total value locked on the Solana blockchain right now using DefiLlama data?"},{"title":"DeFi portfolio monitoring","prompt":"Pull the current TVL for Curve Finance from DefiLlama so I can track how it's changed this week."}],"resultDescription":"A JSON object with ok and paid status flags, and TVL data for the requested chain or protocol sourced from DefiLlama — typically includes the numeric TVL value in USD.","failureModes":["Missing or invalid protocol slug or chain name returns an error","Payment failure (insufficient USDC balance) returns a 402 response","Unknown protocol or chain not indexed by DefiLlama returns empty or error data","Network timeout or DefiLlama upstream unavailability causes delayed or failed response"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call, agent-native TVL lookups on the x402 protocol with Solana-based micropayments — ideal for autonomous agents that need to query DeFi TVL data without a subscription or API key, paying only per query in USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:44:14.927Z","isFirstParty":false}