# Stablecoin Peg-Deviation Monitor (Base) — USDT/USDC & USDC/USDbC

> Stablecoin Peg-Deviation Monitor (Base) — USDT/USDC & USDC/USDbC is a paid API for AI agents from api.agentfeeds.jp, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Returns current peg deviation in basis points from 1.0 for stablecoin pools on Base, plus consecutive 1-minute bucket streak counts above a configurable deviation threshold.

## Facts

- Endpoint: GET https://api.agentfeeds.jp/v1/dex/peg/stables
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablecoin-peg-deviation-monitor-base-usdt-usdc-usdc-usdbc-20f94c8e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FhNUC-G3BY_VwVwW9IRqT

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-deviation-monitor-base-usdt-usdc-usdc-usdbc-20f94c8e
```

Example prompt: Check how far USDC and USDT are deviating from their 1.0 peg right now on Base DEX pools, using a threshold of 10 bps for the streak counter, and tell me how many consecutive minutes each pool has been above that threshold.

## When to prefer this

Use this endpoint when you need real-time, on-chain peg deviation data specifically for stablecoin pairs (USDT/USDC, USDC/USDbC) on Base, with streak-based duration tracking. Prefer this over generic price feeds when you need basis-point precision and consecutive-minute streak counts for depeg alerting. Not suitable for other chains or non-stablecoin pairs.

## Known failure modes

- Invalid or out-of-range threshold_bps value returns a 400 bad request
- On-chain data unavailability may cause stale or missing pool observations
- Network connectivity issues with Base RPC may result in 503 service unavailable
- Missing or malformed query parameters may return default values silently

## How this service works

Stablecoin peg-deviation summary on Base (USDT/USDC, USDC/USDbC): current deviation in bps from the 1.0 peg per on-chain pool, plus how many consecutive 1-minute buckets have exceeded a deviation threshold. Computed from our own on-chain mid observations vs a fixed 1.0 reference. Descriptive statistics only; not investment or redemption advice.

## Output

Returns per-pool descriptive statistics including current peg deviation in basis points from the 1.0 reference, and the number of consecutive 1-minute observation buckets that have exceeded the specified deviation threshold. Covers USDT/USDC and USDC/USDbC pools on Base. No investment advice included.

## 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": {
      "threshold_bps": {
       "type": "number",
       "description": "deviation threshold in bps for the streak counter, default 5"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stablecoin-peg-deviation-monitor-base-usdt-usdc-usdc-usdbc-20f94c8e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentfeeds.jp](https://www.zero.xyz/host/api.agentfeeds.jp/llms.txt)
