Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man stablecoin-peg

/stablecoin-peg(1)

agentutility / edge-market / stablecoin-peg
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
edgemarket
CATEGORY
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.

INPUTrequest schema
propertytypedescriptionreq?
symbolsarrayUp to 20 stablecoin symbols. Default: 8 major stables.optional
alert_threshold_bpsnumberBasis points from $1.00 to flag. Default 50 (0.5%).optional
OUTPUTresponse shape
fieldtypedescription
stablecoinsarrayArray of per-stablecoin objects with symbol, current USD price, deviation in basis points, and depeg flag.
symbols_evaluatedarrayList of stablecoin symbols actually priced this call (subset of USDT, USDC, DAI, FRAX, PYUSD, FDUSD, USDE, RLUSD).
unknown_symbolsarrayRequested symbols the endpoint couldn't price or doesn't recognize.
alert_threshold_bpsnumberDepeg alert threshold in basis points used for this call (1 bp = 0.01% off $1.00).
depeg_alert_countnumberNumber of stablecoins whose price deviated from $1.00 by at least alert_threshold_bps.
has_any_depegbooleanTrue if at least one evaluated stablecoin breached the depeg threshold on this call.
fetched_atstringISO-8601 UTC timestamp when prices were pulled from the upstream price source.
sourcestringName of the upstream price feed used (e.g. CoinGecko) for the stablecoin quotes.
EXAMPLEStwo 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
ADJACENTother endpoints in edgemarket
endpointdescriptionprice
agent-card-resolveAgent card resolver / ERC-8004 Identity Registry lookup / Trustless Agents / agentId → owner + agentURI / A2A identity / agent.json fetch…$0.005
arbitrage-spreadCross-exchange arbitrage spread / max-min price / CEX price dispersion / spread % calculator.$0.005
basename-resolveBasename resolver / Coinbase Basenames / .base.eth lookup / Base name service / on-chain name resolution.$0.005
defi-yield-poolsDeFi yield pools / APY aggregator / yield-farming opportunities / DeFiLlama yields / cross-protocol APY ranking / stablecoin yields / LP…$0.005
ipfs-fetchIPFS fetch / IPFS gateway / Web3 storage retrieval / NFT metadata fetcher / Filecoin gateway / decentralized content / pinned-content reader.$0.005
price-impactPrice-impact / slippage estimator / DEX swap size impact / size-keyed quote / depth simulation.$0.005
safe-multisig-statusSafe multisig status / Gnosis Safe info / Safe owners / Safe threshold / Safe pending queue / DAO treasury wallet / Safe wallet lookup.$0.005
stablecoin-monitorStablecoin monitor.$0.005
SEE ALSO
agentutility(7) · edgemarket(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org