{"uid":"cap_S2yjgW7a7E2t4Jh4gyEAT","slug":"stablecoin-peg-monitor-supply-flow-28184b15","name":"Stablecoin Peg Monitor & Supply Flow","description":"Is USDC / USDT / DAI / USDe holding its $1 peg, and is stablecoin liquidity growing (risk-on) or shrinking (risk-off)? Top USD stablecoins: price, peg deviation in bps, status OK|DRIFT|WARN|DEPEG, Kraken cross-check for USDT/USDC/DAI, supply + 1d/7d change, dominance, supply on Base; plus total supply flow 1d/7d/30d, verdict ALL_PEGGED|WATCH|DEPEG_ALERT and alerts. When to call: before settling or parking funds in a stablecoin, as a systemic risk-off check in a trading loop.","url":"https://kr-x402-mvp.kgy5612.workers.dev/crypto/stablecoin-peg?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":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"top":{"type":"integer","maximum":30,"minimum":1,"description":"Top N by supply when no symbols (default 10)"},"symbols":{"type":"string","examples":["USDC,USDT","USDC"],"description":"Comma-separated filter, e.g. USDC,USDT"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"coins":[{"status":"OK","symbol":"USDC","price_usd":0.99948,"kraken_usd":0.9999,"supply_usd":71356496475,"peg_dev_bps":-5.2,"dominance_pct":24.6,"supply_1d_pct":0.089,"supply_7d_pct":-1.74,"base_supply_usd":4100000000}],"alerts":[],"flow_7d":{"pct":-0.72,"usd":-2100000000},"sources":["https://stablecoins.llama.fi","https://api.kraken.com"],"verdict":"ALL_PEGGED","updated_at":"2026-10-29T12:30:00Z","liquidity_trend":"flat","total_usd_stablecoin_supply":290000000000}},"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_TC_2rWIEDb3TcWJkmFf1W","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 real-time peg status, supply metrics, and systemic risk verdict for top USD stablecoins (USDC, USDT, DAI, USDe) including Kraken cross-check prices and liquidity trend.","exampleAgentPrompt":"Before I move funds into USDC and USDT, check if they're both holding their $1 peg — give me the peg deviation in basis points, the Kraken cross-check, and whether the overall stablecoin verdict is ALL_PEGGED or something worse.","exampleUseCases":[{"title":"Pre-trade stablecoin safety check","prompt":"I'm about to execute a large USDC swap on Base — first check if USDC is holding its peg and tell me the peg deviation in basis points, the Kraken cross-check price, and whether there are any active depeg alerts."},{"title":"Systemic risk-off signal in trading loop","prompt":"Run a stablecoin risk check across USDC, USDT, and DAI — are they all pegged, what's the 7-day supply flow trend, and is the liquidity verdict risk-on or risk-off right now?"},{"title":"Monitoring USDT depeg on Kraken","prompt":"Is USDT showing any peg deviation or DRIFT status right now? I want the Kraken cross-check price, the peg dev in bps, and whether the overall verdict is ALL_PEGGED or DEPEG_ALERT."}],"resultDescription":"A JSON object with an array of stablecoin records (symbol, price_usd, kraken_usd, peg_dev_bps, status OK/DRIFT/WARN/DEPEG, supply_usd, supply_1d_pct, supply_7d_pct, dominance_pct, base_supply_usd), plus total supply flow over 1d/7d/30d, a liquidity_trend label (growing/flat/shrinking), an overall verdict (ALL_PEGGED, WATCH, or DEPEG_ALERT), an alerts array for any anomalies, data sources, and an updated_at timestamp.","failureModes":["Upstream DefiLlama API unavailable — stale or missing supply data","Kraken API timeout — kraken_usd field may be null for USDT/USDC/DAI","Invalid symbol in comma-separated list — unknown symbols silently dropped or error returned","top parameter out of range (must be 1–30) — validation error","Rate limit or x402 payment failure — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a single consolidated stablecoin health check that combines on-chain supply data (DefiLlama) with a CEX price cross-check (Kraken) and returns a machine-readable verdict and alerts — ideal for trading agents doing pre-settlement risk checks or systemic risk-off detection in a loop. Prefer over querying DefiLlama and Kraken separately when you want peg deviation in basis points, Base chain supply, and a unified ALL_PEGGED/WATCH/DEPEG_ALERT verdict in one $0.001 call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:16.047Z","isFirstParty":false,"canonicalSlug":"stablecoin-peg-monitor-supply-flow-28184b15"}