$ man stablecoin-peg
/stablecoin-peg
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
edgemarketCATEGORY
utilities
STATUS
● live
NAME
stablecoin-peg — stablecoin peg monitor
SYNOPSIS
POST https://x402.agentutility.ai/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. Real-time price + deviation detector 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 | — | optional |
| alert_threshold_bps | number | — | 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.agentutility.ai/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 the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the stablecoin-peg tool from your MCP-aware agent.
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 | Resolves an ERC-8004 agentId to its on-chain owner, agentURI, and agent card JSON. | $0.005 |
| arbitrage-spread | Finds the cross-exchange arbitrage spread for any CoinGecko-listed coin. | $0.005 |
| basename-resolve | Resolves Coinbase Basenames (.base.eth) to Ethereum addresses and back, reading the Base mainnet L2 Resolver on-chain (no gas, no wallet). | $0.005 |
| cid-fetch | Fetches the content behind an IPFS CID and optional path through public gateways, returning text, JSON, or base64 with a 5 MB cap. | $0.005 |
| current-balance | Reads a wallet's current ERC-20 token balance with a read-only balanceOf call on Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, or Ava… | $0.005 |
| defi-yield-pools | Filters and ranks thousands of DeFi yield-bearing pools by APY across every chain DeFiLlama tracks. | $0.005 |
| erc20-balance | Reads an ERC-20 token balance on-chain across any supported EVM chain, including Base, Ethereum, Arbitrum, Optimism, and Polygon. | $0.005 |
| erc20-metadata | Reads ERC-20 token metadata: name(), symbol(), decimals(), and totalSupply() in parallel via public RPC on Base, Ethereum, Arbitrum, Opti… | $0.005 |
SEE ALSO