{"uid":"cap_O_gbqlJ4Td3OtrySKbglB","slug":"agentfeeds-jp-dex-peg-alert-real-time-peg-deviation-alert-a7ac3e95","name":"agentfeeds.jp DEX Peg Alert — Real-Time Peg Deviation Alert","description":"Same detection framework as dex.peg.anomalies, re-shaped to a single yes/no for right now: is the latest available 1-minute reading for this pair itself over the trailing 30-day p99 baseline, instead of a historical event log. Returns action=reroute_away_temporarily or action=no_action_needed, plus how many seconds the reading is valid for before you should re-query. Descriptive computation only; not investment or redemption advice.","url":"https://api.agentfeeds.jp/v1/dex/peg/alert","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":["pair"],"properties":{"pair":{"type":"string","description":"one of the monitored peg/parity pairs, e.g. 'USDT/USDC'"}}}},"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_SOQSycEZIUMS8zKho9x83","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 a binary yes/no action signal (reroute_away_temporarily or no_action_needed) indicating whether the latest 1-minute peg deviation reading for a monitored pair is currently above its trailing 30-day p99 baseline.","exampleAgentPrompt":"Check right now whether the USDT/USDC peg on the DEX is showing an anomaly above its 30-day p99 baseline — I need to know if I should temporarily reroute away from that pair, and how long that reading stays valid.","exampleUseCases":[{"title":"Stablecoin routing guard for DeFi agent","prompt":"Before executing this USDT/USDC swap, check if the peg is currently showing an anomalous deviation — if it says to reroute away temporarily, hold off on the trade and tell me how many seconds until I should re-check."},{"title":"Real-time peg health monitoring dashboard","prompt":"Poll the peg alert for USDT/USDC right now and tell me whether the latest 1-minute reading is above the trailing 30-day p99 threshold, and for how long that alert status is valid."},{"title":"Automated circuit breaker for settlement flow","prompt":"Run a peg anomaly check on USDT/USDC before we proceed with settlement — if the action is reroute_away_temporarily, pause the workflow and schedule a re-query after the validity window expires."}],"resultDescription":"Returns a JSON object with an `action` field set to either `reroute_away_temporarily` (current 1-minute peg deviation exceeds the trailing 30-day p99 baseline) or `no_action_needed` (within normal range), plus a `valid_for_seconds` integer indicating how long the result is reliable before a fresh query is required.","failureModes":["Unrecognized or unsupported pair string returns an error or empty result","Stale data if queried after the validity window has expired — agent must re-query","Upstream DEX data feed outage may result in unavailable or cached readings","Malformed pair parameter (wrong format, wrong delimiter) causes request rejection"],"whenToPreferThis":"Use this endpoint when an agent needs a single, actionable binary signal about whether to avoid a DEX peg pair right now — rather than a full historical anomaly log. Prefer it over the sibling dex.peg.anomalies endpoint when you only care about the current moment and want a low-latency go/no-go decision with a built-in cache TTL, not a time-series event log.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:03:01.826Z","isFirstParty":false}