{"uid":"cap_BYsnfo0CFEiWdMwg03nv-","slug":"dripmetrics-ai-stablecoin-flow-metrics-96d5f383","name":"DripMetrics AI Stablecoin Flow Metrics","description":"DripMetricsAI (https://dripmetrics.ai/) provides on-demand crypto market microstructure metrics, Hyperliquid candle metrics, Polymarket diagnostics, and on-chain DefiLlama metrics for agents, dashboards, and trading workflows.","url":"https://api.dripmetrics.ai/metrics/onchain/stablecoin-flow","method":"POST","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":["POST"],"type":"string"},"queryParams":{"type":"object","required":["chain","window"],"properties":{"chain":{"type":"string"},"window":{"enum":["1d","7d","30d","90d"],"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["metric","window","value","unit","components","computedAt"],"properties":{"unit":{"type":"string"},"chain":{"type":"string"},"value":{"type":"number"},"metric":{"type":"string"},"window":{"type":"string"},"components":{"type":"object"},"computedAt":{"type":"string","format":"date-time"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"unit":"pct_change","chain":"base","value":0.034,"metric":"stablecoin-flow","window":"7d","components":{"source":"DefiLlama","direction":"expanding","pctChange":0.034,"observations":8,"annualizedFlowPct":1.772857,"netStablecoinChangeUsd":101934236,"startStablecoinSupplyUsd":2998065764,"currentStablecoinSupplyUsd":3100000000},"computedAt":"2026-06-10T16:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9WV-nxxkx9Iu9ep5BdopT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns on-chain stablecoin supply flow metrics (net change, percent change, direction) for a specified blockchain and time window, sourced from DefiLlama.","exampleAgentPrompt":"Pull the stablecoin flow metric for Base over the last 7 days — I want to see whether stablecoin supply is expanding or contracting and by how much.","exampleUseCases":[{"title":"Monitoring liquidity inflows before a DeFi trade","prompt":"Check the 30-day stablecoin flow on Arbitrum — I want to know if capital has been flowing in or out before I deploy liquidity there."},{"title":"Comparing chain health for a weekly report","prompt":"Get me the 7-day stablecoin flow metrics for Ethereum so I can include the net supply change and annualized flow rate in my weekly DeFi market report."},{"title":"Alerting on stablecoin contraction","prompt":"What does the 1-day stablecoin flow look like on Base right now? I'm watching for any signs of rapid supply contraction that might signal liquidity stress."}],"resultDescription":"A JSON object containing the metric name ('stablecoin-flow'), the chain, the time window, a percent change value, the direction of flow (expanding or contracting), net stablecoin change in USD, start and current stablecoin supply in USD, annualized flow percent, number of observations, the data source (DefiLlama), and a computedAt timestamp.","failureModes":["Missing required query parameters 'chain' or 'window' returns a validation error","Unsupported chain name may return empty data or an error if not indexed by DefiLlama","Window enum value outside {1d, 7d, 30d, 90d} causes a schema validation failure","Payment not included or insufficient USDC balance results in a 402 Payment Required response","Stale or unavailable DefiLlama data may result in outdated computedAt timestamps"],"whenToPreferThis":"Choose this endpoint when you need on-chain stablecoin supply flow data sourced from DefiLlama for a specific blockchain and time window — especially for DeFi liquidity analysis, chain health monitoring, or pre-trade capital flow assessments. Prefer this over general market data APIs when the specific metric needed is net stablecoin supply change and directional flow (expanding vs contracting) with annualized rate calculations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:48:49.258Z","isFirstParty":false}