{"uid":"cap_5SnvEpyuR1v0cN7vAaXFe","slug":"chainanalyzer-stablecoin-peg-status-aae82a93","name":"ChainAnalyzer Stablecoin Peg Status","description":"Is this stablecoin still on its peg right now? Pass the token contract in the path and its chain as the `chain` query parameter. Returns the latest 15-minute VWAP of real DEX trades per chain, the deviation from par in the token's own peg currency (JPY or USD), and a one-word status (on_peg / watch / dislocated) at 0.5% and 2% thresholds. Reads a daily snapshot only — no external pricing call on the request path.","url":"https://chain-analyzer.com/api/v1/x402/token/:address/peg-status?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"properties":{"queryParams":{"type":"object","properties":{"chain":{"type":"string"},"address":{"type":"string"}}}}},"output":{"properties":{"example":{}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.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_x-NyP1ntpw9xQUqG0Qu2a","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current peg status of a stablecoin token on a given chain, including 15-minute VWAP from real DEX trades, deviation from par, and a one-word status (on_peg / watch / dislocated).","exampleAgentPrompt":"Is the USDT contract 0xdAC17F958D2ee523a2206206994597C13D831ec7 still on its peg on Ethereum right now? Give me the VWAP deviation and the peg status word.","exampleUseCases":[{"title":"Real-time depeg alert for DeFi protocol","prompt":"Check whether the USDC token at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum is currently on its peg — I need the deviation from par and the status label so I can decide whether to pause our lending protocol."},{"title":"JPY stablecoin peg monitoring","prompt":"Is the JPY stablecoin at contract 0xabc123...def on Polygon still pegged to the yen? Show me the 15-minute VWAP and whether it's on_peg, watch, or dislocated."},{"title":"Stablecoin treasury risk check","prompt":"Before we move $2M of reserves, can you confirm that LUSD at contract 0x5f98805A4E8be255a32880FDeC7F6728C6568bA0 on Ethereum is on its peg right now and not in a dislocated state?"}],"resultDescription":"Returns a JSON object containing: the latest 15-minute VWAP computed from real DEX trades on the specified chain, the deviation from par expressed in the token's native peg currency (USD or JPY), and a one-word peg status string — either 'on_peg', 'watch' (deviation >0.5%), or 'dislocated' (deviation >2%). Data is sourced from a daily snapshot with no live external pricing call on the request path.","failureModes":["Unknown or unsupported token contract address returns 404 or empty result","Unsupported chain identifier returns an error or null data","No DEX trade data available for token in the last 15-minute window may produce null VWAP","Snapshot staleness if the daily snapshot has not refreshed may return outdated deviation","Invalid address format returns a validation error"],"whenToPreferThis":"Use this endpoint when you need a fast, low-cost, on-chain-derived peg health check for a specific stablecoin token by contract address. It is ideal for agents monitoring DeFi protocol risk, treasury management systems, or AML workflows that need to flag depegged collateral. Prefer this over general price APIs when you need the structured on_peg/watch/dislocated classification and VWAP-based deviation rather than a raw spot price.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:40:38.768Z","isFirstParty":false,"canonicalSlug":"chainanalyzer-stablecoin-peg-status-aae82a93"}