{"uid":"cap_S2r9K5l4lU6SeEuucUPCU","slug":"defillama-stablecoins-data-c848909c","name":"DeFiLlama Stablecoins Data","description":"Stablecoin market cap (circulating USD), 1/7/30-day circulating change (mint/burn proxy), peg price and depeg % from DefiLlama. Pass symbols (e.g. USDT,USDC) or leave empty for the 10 largest. Net change is a change in circulating supply, not separate mint and burn events.","url":"https://api.chainmarket-api.workers.dev/api/crypto/defillama-stablecoins?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","required":[],"properties":{"symbols":{"type":"string","description":"Comma-separated stablecoin tickers, up to 10 (default: 10 largest)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"count":2,"source":"https://stablecoins.llama.fi/stablecoins?includePrices=false","checkedAt":"2026-10-23T09:35:53.592Z","stablecoins":[{"id":"1","name":"Tether","price":0.9989236647280817,"symbol":"USDT","pegType":"peggedUSD","depegPct":-0.11,"depegRisk":"low","marketCapUsd":182498824514.4392,"pegMechanism":"fiat-backed","netChange1dUsd":-104984833.7563477,"netChange7dUsd":-936819110.5704651,"netChange30dUsd":-743183211.9227295},{"id":"2","name":"USD Coin","price":0.9995445523375535,"symbol":"USDC","pegType":"peggedUSD","depegPct":-0.05,"depegRisk":"low","marketCapUsd":72116950103.67883,"pegMechanism":"fiat-backed","netChange1dUsd":-509592255.4518127,"netChange7dUsd":-694167933.38768,"netChange30dUsd":-3719760628.373428}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ty_3i8QPkd3kNUcNuG6s0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves current stablecoin market data including price, market cap, peg status, depeg risk, and net flow changes for major stablecoins via DeFiLlama","exampleAgentPrompt":"Can you pull the latest DeFiLlama stablecoin data for USDT, USDC, and DAI — I want to see their current prices, depeg risk, and 7-day net flow changes?","exampleUseCases":[{"title":"Depeg risk monitoring for portfolio","prompt":"Check if any of my stablecoins — USDT, USDC, FRAX, and DAI — are showing signs of depegging right now, and tell me the depeg percentage and risk level for each."},{"title":"Stablecoin market cap comparison","prompt":"Give me the current market caps and peg mechanisms for the top 5 stablecoins so I can compare which are fiat-backed versus algorithmic."},{"title":"DeFi treasury flow analysis","prompt":"I need the 1-day and 30-day net flow changes for USDT and USDC from DeFiLlama — I'm trying to spot any unusual inflows or outflows in the stablecoin market."}],"resultDescription":"Returns a JSON object with a count of stablecoins queried, the DeFiLlama source URL, a timestamp, and an array of stablecoin objects each containing: id, name, symbol, current price, peg type (e.g. peggedUSD), depeg percentage, depeg risk level (e.g. low/medium/high), market cap in USD, peg mechanism (e.g. fiat-backed), and net USD flow changes over 1d, 7d, and 30d windows.","failureModes":["Invalid or unrecognized stablecoin ticker symbols may return empty results or omit those symbols","More than 10 comma-separated symbols may be rejected or truncated","DeFiLlama upstream unavailability may cause errors or stale data","Payment failure results in no charge and no data returned"],"whenToPreferThis":"Choose this endpoint when you need real-time stablecoin health metrics — price, depeg status, and fund flows — sourced directly from DeFiLlama without requiring an API key or account. Ideal for monitoring peg stability, comparing stablecoin market caps, or detecting unusual capital flows. Prefer over generic crypto price APIs when you specifically need depeg risk signals and multi-timeframe net flow data for stablecoins.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:45:55.444Z","isFirstParty":false,"canonicalSlug":"defillama-stablecoins-data-c848909c"}