{"uid":"cap_6daP42ZJ1Mvk5WAfSagdo","slug":"stablecoin-peg-deviation-checker-9d78db1c","name":"Stablecoin Peg Deviation Checker","description":"Check a stablecoin's current peg deviation. Returns live price, deviation in basis points, and a depeg flag (>50bps). For agents holding or accepting stablecoins that need to detect a depeg before transacting. Data from DefiLlama.","url":"https://data.japanagent.dev/defi/stablecoin-peg","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":["symbol"],"properties":{"symbol":{"type":"string","description":"Stablecoin symbol (USDC, USDT, DAI, ...)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_RPS2u3kXT9ihfWg7AnU9a","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":"Returns the live price, deviation in basis points, and a depeg flag for a given stablecoin symbol using DefiLlama data.","exampleAgentPrompt":"Before I accept this payment, check whether USDT is currently depegged — give me the live price and how many basis points it's off from $1.","exampleUseCases":null,"resultDescription":"Returns the stablecoin's current live price in USD, its deviation from the $1 peg expressed in basis points, and a boolean depeg flag that is set to true if the deviation exceeds 50 basis points.","failureModes":["Unknown or unsupported stablecoin symbol returns an error or empty result","DefiLlama data temporarily unavailable causes stale or missing price data","Malformed symbol parameter (e.g. lowercase or with $ prefix) may not match expected format","Network timeout results in no response"],"whenToPreferThis":"Use this endpoint when an agent needs to verify stablecoin peg integrity before executing a transaction, holding a position, or accepting payment in a stablecoin. Preferred over general crypto price endpoints because it specifically computes basis-point deviation and raises a depeg flag, making risk decisions programmatic rather than manual.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:41:35.179Z","isFirstParty":false}