{"uid":"cap_icO6Q0JnpTem1U-EuDTz3","slug":"beggar-bot-stablecoin-price-history-depeg-analysis-75d4c603","name":"Beggar Bot Stablecoin Price History & Depeg Analysis","description":"Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.","url":"https://beggar-bot-demand.beggarbot.workers.dev/v1/stablepxhist?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"coin":{"type":"string","description":"gecko id e.g. usd-coin"},"days":{"type":"string","description":"days (90)"},"threshold_pct":{"type":"string","description":"depeg threshold (0.5)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mpg1YLOpEmFfaZLMBCpqZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical price data and depeg event analysis for a stablecoin over a specified number of days, flagging instances where the price deviated beyond a configurable threshold.","exampleAgentPrompt":"Can you pull the stablecoin price history for USDC (usd-coin) over the last 90 days and flag any depeg events where the price moved more than 0.5% from $1?","exampleUseCases":[{"title":"Pre-DeFi stablecoin health check","prompt":"Before I deploy liquidity into this USDC pool, can you check the price history for usd-coin over the last 60 days and tell me if it ever depegged more than 0.3% from its peg?"},{"title":"Stablecoin risk monitoring for treasury","prompt":"I'm holding a mix of stablecoins in our treasury. Can you pull the last 90 days of price history for tether and flag any times it dropped more than 1% from its dollar peg?"},{"title":"DAI stability research","prompt":"I'm researching algorithmic stablecoins — can you get me the price history for dai over the past 180 days and show me any depeg events beyond 0.5%?"}],"resultDescription":"Returns a JSON object containing historical price data points for the specified stablecoin over the requested time window, along with identified depeg events where the price exceeded the configured threshold percentage deviation from $1.00. Includes metadata about the coin, the analysis period, and severity of any depeg incidents found.","failureModes":["Invalid or unrecognized CoinGecko coin ID returns an error or empty result","Payment of $0.02 USDC via x402 on Base mainnet required; unpaid requests return 402 Payment Required","Days parameter outside supported range may return an error","Network issues with CoinGecko data source may cause failures or stale data","Malformed query parameters return validation errors"],"whenToPreferThis":"Use this endpoint when you need historical stablecoin price stability data with configurable depeg detection thresholds, especially in an agentic workflow that can handle x402 micropayments on Base mainnet. Prefer this over manual CoinGecko API calls when you want pre-processed depeg event detection rather than raw OHLC data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-24T12:47:51.250Z","isFirstParty":false,"canonicalSlug":"beggar-bot-stablecoin-price-history-depeg-analysis-75d4c603"}