{"uid":"cap_ZjlDpsIbTIA9_tnLf0QM0","slug":"quantaflow-x402-api-gateway-defillama-proxy-c69bdae0","name":"QuantaFlow x402 API Gateway – DeFiLlama Proxy","description":"Every request, a quantum of value. x402 protocol-based payment endpoint for web3/DeFi tools.","url":"https://quanta-roan.vercel.app/api/service/defillama?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"body":{"type":"string","description":"Optional JSON body forwarded to POST requests."},"path":{"type":"string","description":"Path below the selected upstream origin."},"query":{"type":"object"},"method":{"enum":["GET","POST"],"type":"string"}}},"responseSchema":{"description":"The upstream response body and content type are passed through after successful payment."},"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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HHeoPUV-hDRSL-Rma5PGs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Proxies requests to DeFiLlama's DeFi analytics API through an x402 micropayment-gated gateway, charging $0.01 USDC per call","exampleAgentPrompt":"Can you pull the current TVL data for Uniswap from DeFiLlama — use the /tvl/uniswap path and GET method?","exampleUseCases":[{"title":"Real-time protocol TVL lookup","prompt":"Fetch the current total value locked for Aave from DeFiLlama using the /tvl/aave path so I can compare it against other lending protocols."},{"title":"DeFi token price check","prompt":"Get the current price of USDC and ETH from DeFiLlama's price endpoint — use the /prices/current/ethereum:0xA0b8... path."},{"title":"Top DeFi protocols by TVL","prompt":"Pull the list of top DeFi protocols ranked by TVL from DeFiLlama using the /protocols path so I can see which ones are leading right now."}],"resultDescription":"The raw upstream DeFiLlama API response body passed through after successful x402 micropayment, including TVL figures, protocol metadata, token prices, or other DeFiLlama data depending on the requested path. Content type mirrors the upstream response.","failureModes":["Payment failure: insufficient USDC balance or x402 payment not accepted — gateway returns 402 Payment Required","Invalid path: unrecognized DeFiLlama API path returns upstream 404 or error","Upstream DeFiLlama outage: gateway may return 502 or timeout","Malformed query parameters: upstream returns 400 bad request","Rate limiting by upstream DeFiLlama API"],"whenToPreferThis":"Use this endpoint when you need DeFiLlama DeFi analytics data (TVL, protocol stats, token prices) and want to pay per-call via x402 USDC micropayments without a long-term API subscription. Ideal for AI agents with x402 payment capability that need on-demand DeFi data at low per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:47:47.837Z","isFirstParty":false,"canonicalSlug":"quantaflow-x402-api-gateway-defillama-proxy-c69bdae0"}