# HALOWERK marktwerk Stablecoin Peg Monitor

> HALOWERK marktwerk Stablecoin Peg Monitor is a paid API for AI agents from markt.netzhandwerker.de, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Fetches real-time stablecoin peg data (price, depth, deviation) across major crypto exchanges for specified stablecoins and peg band width

## Facts

- Endpoint: POST https://markt.netzhandwerker.de/peg
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-marktwerk-stablecoin-peg-monitor-439b7bfc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t4olyiPvXpwrqZu5Se2Gy

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 halowerk-marktwerk-stablecoin-peg-monitor-439b7bfc -d '<json body>'
```

Example prompt: Check the peg health of USDC and USDT on Binance and Coinbase right now — use a peg band of 50 basis points and tell me how much depth is sitting within that band and how far each coin is from $1.

## When to prefer this

Choose this endpoint when you need real-time, cross-venue stablecoin peg health data including order book depth metrics — particularly when monitoring for depeg events, assessing liquidity at peg, or building risk dashboards. It supports multiple major exchanges and a configurable peg band, making it more flexible than single-exchange or single-coin alternatives. Best suited for DeFi risk monitoring, treasury management, and arbitrage signal detection workflows.

## Known failure modes

- Unsupported exchange venue name returns validation error
- Stablecoin ticker not listed on requested venue returns empty or null depth
- Payment not settled via x402 returns HTTP 402
- Network latency to exchange APIs may cause stale or missing data for a venue
- Requesting more than 5 venues or 6 stablecoins returns schema validation error

## How this service works

HALOWERK marktwerk — bezahlte Endpunkte nach x402. Preise in USDC auf Base Mainnet.

## Output

Returns per-venue, per-stablecoin peg metrics including current mid-price relative to $1, deviation in basis points, and order book depth available within the specified peg band — enabling real-time assessment of stablecoin peg health and liquidity.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "venues": {
   "type": "array",
   "items": {
    "enum": [
     "binance",
     "coinbase",
     "kraken",
     "okx",
     "bybit"
    ],
    "type": "string"
   },
   "maxItems": 5,
   "minItems": 1,
   "description": "Exchanges to use. Without it all connected ones are used.",
   "uniqueItems": true
  },
  "stablecoins": {
   "type": "array",
   "items": {
    "type": "string",
    "pattern": "^[A-Za-z0-9]{2,10}$"
   },
   "default": [
    "USDC",
    "USDT",
    "DAI"
   ],
   "maxItems": 6,
   "minItems": 1,
   "description": "Stablecoin tickers, for example USDC, USDT, DAI, PYUSD, USDG, RLUSD.",
   "uniqueItems": true
  },
  "peg_band_bps": {
   "type": "number",
   "default": 50,
   "maximum": 500,
   "minimum": 1,
   "description": "Half width of the peg band in basis points, used for depth_at_peg."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-marktwerk-stablecoin-peg-monitor-439b7bfc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from markt.netzhandwerker.de](https://www.zero.xyz/host/markt.netzhandwerker.de/llms.txt)
