# Stablecoin Peg Monitor (Base Chain)

> Stablecoin Peg Monitor (Base Chain) is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Monitors stablecoin prices vs their peg, 24-hour supply flows, and depeg alerts for USDC, USDT, DAI, EURC, and USDbC on Base using CoinGecko and DeFiLlama data.

## Facts

- Endpoint: POST https://httpay.xyz/api/stablecoin-monitor
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-e8430c73
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-Vga1NSkOn6Ih2e2f38MI

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 httpay-xyz-e8430c73 -d '<json body>'
```

Example prompt: Check if any stablecoins are losing their peg on Base right now — I want to see the current prices vs peg, 24-hour supply flows, and any depeg alerts for USDC, USDT, DAI, EURC, and USDbC.

## When to prefer this

Use this endpoint when you need real-time stablecoin peg monitoring specifically on the Base chain, with combined price and supply-flow data from both CoinGecko and DeFiLlama. Prefer this over general crypto price APIs when you specifically need depeg alerts and 24h supply flow context for Base-native stablecoins.

## Known failure modes

- CoinGecko or DeFiLlama API unavailable — stale or missing price/supply data
- Stablecoin not supported on Base — missing data for that asset
- Payment not processed — 402 response requiring 0.01 USDC via x402 protocol
- Network congestion on Base causing delayed on-chain data

## How this service works

Monitor stablecoin prices vs peg, 24h supply flows, and depeg alerts on Base. Covers USDC, USDT, DAI, EURC, USDbC. Uses CoinGecko + DeFiLlama.

## Output

Returns current price vs peg for each covered stablecoin (USDC, USDT, DAI, EURC, USDbC) on Base, 24-hour supply flow changes, and any active depeg alerts including deviation percentages, sourced from CoinGecko and DeFiLlama.

## Example request

```json
{
 "chain": "base",
 "stablecoins": [
  "USDC",
  "USDT",
  "DAI"
 ],
 "time_window_hours": 24
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "description": "Monitor stablecoin prices vs peg, 24h supply flows, and depeg alerts on Base. Covers USDC, USDT, DAI, EURC, USDbC. Uses CoinGecko + DeFiLlama."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-e8430c73/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
