{"uid":"cap_4yLY_BXgmzLajdgDujkm8","slug":"scriptmasterlabs-defi-analytics-api-3f378204","name":"ScriptMasterLabs DeFi Analytics API","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-discovery.onrender.com/x402/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":{"type":"string"},"queryParams":{"type":"object","properties":{"limit":{"type":"integer","default":25,"example":25}}}}},"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_ELCJi3WWg945toQbbyPQT","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 analytics data (protocol metrics, liquidity, yields, and on-chain statistics) via a pay-per-call x402 micropayment settled in USDC on Base.","exampleAgentPrompt":"Pull the latest DeFi analytics from ScriptMasterLabs — give me the top 25 protocols by key metrics like TVL and yield, paid per-call via USDC micropayment.","exampleUseCases":[{"title":"DeFi protocol TVL comparison","prompt":"Can you fetch the current DeFi analytics and show me the top 25 protocols ranked by total value locked so I can see where liquidity is concentrated right now?"},{"title":"Yield farming opportunity scan","prompt":"Pull the latest DeFi analytics data and show me the protocols with the highest yields — I want to identify the best yield farming opportunities across the ecosystem."},{"title":"On-chain DeFi market overview","prompt":"Get me a DeFi market overview from ScriptMasterLabs — I need current stats on liquidity, volume, and protocol performance across decentralized finance to put in my weekly report."}],"resultDescription":"A JSON payload containing DeFi analytics records (up to the specified limit, default 25), likely including protocol names, TVL, liquidity figures, yield rates, trading volumes, and other on-chain DeFi metrics. Response schema is loosely typed with an example placeholder, so exact fields depend on current data availability.","failureModes":["402 Payment Required — x402 micropayment not settled or USDC balance insufficient on Base","Invalid query parameters — unsupported fields or out-of-range limit value","Service unavailable — hosted on Render free tier which may cold-start slowly or go offline","Empty or minimal response — loosely typed schema means data fields may be absent or vary","Rate limiting — repeated calls without payment may be rejected"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call DeFi analytics without a subscription, settled instantly in USDC on Base via x402. It is well-suited for AI agents that need on-demand DeFi protocol metrics without committing to a recurring API plan. Avoid if you need guaranteed schema stability, real-time streaming, or high-volume batch queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:50:34.979Z","isFirstParty":false}