# Stablecoin Peg Health Check

> Stablecoin Peg Health Check is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-15).

Returns the current price of a stablecoin versus $1.00, deviation in basis points, a status flag, and peg mechanism details for depeg monitoring and risk assessment.

## Facts

- Endpoint: GET https://api.x402node.dev/stablecoin/peg-check
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablecoin-peg-health-check-370bed84
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UD6ylbmSUAq07HuAW2HQ6

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stablecoin-peg-health-check-370bed84
```

Example prompt: Is USDC currently holding its dollar peg? Give me the exact price deviation in basis points and tell me whether it's at risk of depegging.

## When to prefer this

Use this endpoint when you need a fast, single-call live peg health snapshot for a specific stablecoin — including deviation in basis points and peg mechanism context — especially for depeg alerting, risk dashboards, or DeFi safety checks. Prefer this over general crypto price APIs when you specifically need peg-deviation framing and stablecoin risk metadata.

## Known failure modes

- Unrecognized stablecoin symbol or address returns a 400 or 404 error
- Price feed temporarily unavailable returns a 503 or error response
- Stablecoin not supported by the endpoint returns an error indicating no data
- Network issues or timeout result in no response

## How this service works

Peg health of a stablecoin: current price versus one dollar, deviation in basis points, and a status flag, plus peg mechanism. For depeg monitoring and risk. Live peg check. depeg monitor, stablecoin peg, peg deviation, stablecoin risk, peg status Accepts payment on Base or Solana — either network works.

## Output

Returns the stablecoin's current market price, its deviation from $1.00 expressed in basis points, a status flag indicating whether the peg is healthy or at risk, and details about the peg mechanism used by that stablecoin.

## Request schema (JSON Schema)

```json
{
 "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",
     "properties": {
      "symbol": {
       "type": "string",
       "description": "e.g. USDT, USDC, DAI, USDe (default USDT)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablecoin-peg-health-check-370bed84/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
