$ man stablecoin-peg
/stablecoin-peg(1)
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
edgemarketCATEGORY
utilities
STATUS
● live
NAME
stablecoin-peg — stablecoin peg monitor / depeg detector
SYNOPSIS
POST https://x402.org/v1/stablecoin-peg
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Stablecoin peg monitor / depeg detector. Real-time prices for USDT, USDC, DAI, FRAX, PYUSD, FDUSD, USDE, RLUSD. Configurable depeg alert threshold (basis points). Catches USDC's 2023-style depegs in real time.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| symbols | array | Up to 20 stablecoin symbols. Default: 8 major stables. | optional |
| alert_threshold_bps | number | Basis points from $1.00 to flag. Default 50 (0.5%). | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| stablecoins | array | Array of per-stablecoin objects with symbol, current USD price, deviation in basis points, and depeg flag. |
| symbols_evaluated | array | List of stablecoin symbols actually priced this call (subset of USDT, USDC, DAI, FRAX, PYUSD, FDUSD, USDE, RLUSD). |
| unknown_symbols | array | Requested symbols the endpoint couldn't price or doesn't recognize. |
| alert_threshold_bps | number | Depeg alert threshold in basis points used for this call (1 bp = 0.01% off $1.00). |
| depeg_alert_count | number | Number of stablecoins whose price deviated from $1.00 by at least alert_threshold_bps. |
| has_any_depeg | boolean | True if at least one evaluated stablecoin breached the depeg threshold on this call. |
| fetched_at | string | ISO-8601 UTC timestamp when prices were pulled from the upstream price source. |
| source | string | Name of the upstream price feed used (e.g. CoinGecko) for the stablecoin quotes. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/stablecoin-peg \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# install once claude mcp add x402 --command "npx x402-deployer-mcp" # then ask Claude Code: # "use the stablecoin-peg tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- cryptostablecoindepegmonitoringdefi
- methods
- POST
- cluster
- edgemarket
- price
- $0.005 USDC per call
ADJACENT — other endpoints in edgemarket
| endpoint | description | price |
|---|---|---|
| agent-card-resolve | Agent card resolver / ERC-8004 Identity Registry lookup / Trustless Agents / agentId → owner + agentURI / A2A identity / agent.json fetch… | $0.005 |
| arbitrage-spread | Cross-exchange arbitrage spread / max-min price / CEX price dispersion / spread % calculator. | $0.005 |
| basename-resolve | Basename resolver / Coinbase Basenames / .base.eth lookup / Base name service / on-chain name resolution. | $0.005 |
| defi-yield-pools | DeFi yield pools / APY aggregator / yield-farming opportunities / DeFiLlama yields / cross-protocol APY ranking / stablecoin yields / LP… | $0.005 |
| ipfs-fetch | IPFS fetch / IPFS gateway / Web3 storage retrieval / NFT metadata fetcher / Filecoin gateway / decentralized content / pinned-content reader. | $0.005 |
| price-impact | Price-impact / slippage estimator / DEX swap size impact / size-keyed quote / depth simulation. | $0.005 |
| safe-multisig-status | Safe multisig status / Gnosis Safe info / Safe owners / Safe threshold / Safe pending queue / DAO treasury wallet / Safe wallet lookup. | $0.005 |
| stablecoin-monitor | Stablecoin monitor. | $0.005 |
SEE ALSO