# Greeneris Stablecoin Peg Monitor

> Greeneris Stablecoin Peg Monitor is a paid API for AI agents from data.greeneris.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns live peg deviation data for major stablecoins (USDT, USDC, DAI, etc.) across Kraken and Binance spot markets, showing price and basis-point deviation from $1

## Facts

- Endpoint: GET https://data.greeneris.io/v1/stables/peg
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/greeneris-stablecoin-peg-monitor-1ea6f07a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VMB004HjTeRfEn7RVG5uG

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 greeneris-stablecoin-peg-monitor-1ea6f07a
```

Example prompt: Can you check the current peg deviation for USDC, USDT, and DAI — I want to know how many basis points off $1 each one is right now on Kraken and Binance?

## When to prefer this

Use this endpoint when you need real-time, multi-venue stablecoin peg health data with basis-point precision — particularly for risk checks before a DeFi transaction, pre-invoice USDC/USDT validation, or automated depeg alerting. It covers USDC, USDT, DAI, FDUSD, TUSD, USDE, and PYUSD simultaneously and is priced at $0.02 per call with no account required.

## Known failure modes

- Invalid or unsupported symbol in 'symbols' query param returns an error
- Requesting more than 8 symbols at once may be rejected
- HTTP 402 returned if payment not yet settled via x402 protocol
- Exchange API outage may cause stale or missing venue data
- Malformed comma-separated symbols list results in a parse error

## How this service works

Depeg monitor for USD stablecoins (USDT, USDC, DAI, FDUSD, TUSD, USDe, PYUSD): DeFiLlama market-aggregate price per coin, converted to a deviation from 1.0 in basis points, with a depeg_alert flag (triggered beyond 50 bps) and the worst deviation across the set. Query: symbols=USDT,USDC,DAI (max 8, default shown). JSON, 60s cache. Derived risk signal, not a raw feed.

## Output

A JSON object with per-stablecoin peg data: for each requested symbol, a list of quotes per venue showing the trading pair, last-trade price, and deviation in basis points from $1, plus the maximum absolute deviation across all venues for that stablecoin. Also includes a source attribution string.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "symbols": {
       "type": "string",
       "default": "USDT,USDC,DAI",
       "description": "Comma-separated stablecoins from USDT, USDC, DAI, FDUSD, TUSD, USDE, PYUSD (max 8)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pegs": {
   "USDC": {
    "quotes": [
     {
      "pair": "USDC/USD",
      "price": 0.9998,
      "venue": "kraken",
      "deviation_bps": -2
     },
     {
      "pair": "USDC/USDT",
      "price": 1.00059,
      "venue": "binance",
      "deviation_bps": 5.9
     }
    ],
    "max_abs_deviation_bps": 5.9
   },
   "USDT": {
    "quotes": [
     {
      "pair": "USDT/USD",
      "price": 0.99917,
      "venue": "kraken",
      "deviation_bps": -8.3
     }
    ],
    "max_abs_deviation_bps": 8.3
   }
  },
  "source": "Kraken + Binance public spot tickers (last-trade prices, live)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/greeneris-stablecoin-peg-monitor-1ea6f07a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.greeneris.io](https://www.zero.xyz/host/data.greeneris.io/llms.txt)
