# EURC Peg Monitor — ECB vs On-Chain Deviation

> EURC Peg Monitor — ECB vs On-Chain Deviation is a paid API for AI agents from agentdata-api.sander-van-aard.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns the deviation in basis points between the official ECB USD/EUR reference rate and the live on-chain EURC/USDC price from the deepest Uniswap v3 pool on Base, along with both source values and timestamps.

## Facts

- Endpoint: POST https://agentdata-api.sander-van-aard.workers.dev/eu/eurc-peg
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eurc-peg-monitor-ecb-vs-on-chain-deviation-68a881db
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5_9pXZ8Ob6bt5W446q13W

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 eurc-peg-monitor-ecb-vs-on-chain-deviation-68a881db -d '<json body>'
```

Example prompt: Check right now how far EURC is trading from the official euro — give me the peg deviation in basis points between the ECB euro reference rate and the live EURC/USDC price on Uniswap v3 Base.

## When to prefer this

Use this endpoint when an agent needs a single combined signal comparing the official ECB euro rate to the live on-chain EURC stablecoin price — ideal for peg monitoring, arbitrage detection, risk management on EURC positions, or pricing EURC-denominated assets. Prefer over manually fetching and comparing ECB and Uniswap data separately.

## Known failure modes

- ECB reference rate feed unavailable or stale — endpoint may return an error or cached value
- Uniswap v3 pool data unavailable due to RPC issues on Base — price fetch fails
- No liquidity in the referenced pool — price may be unreliable
- Payment failure via x402 protocol — 402 response if payment not included or insufficient
- Rate limiting or worker timeout on the Cloudflare Workers host

## How this service works

EURC peg monitor — unique combined signal: the official ECB euro reference rate (USD/EUR) versus the live on-chain EURC/USDC price from the deepest Uniswap v3 pool on Base, returned as a deviation in basis points with both source values and timestamps. Tells agents holding or pricing EURC how far the on-chain euro stablecoin trades from the official euro. No input required.

## Output

Returns a JSON object containing: the deviation between ECB and on-chain EURC prices expressed in basis points, the raw ECB USD/EUR reference rate with its publication timestamp, and the live on-chain EURC/USDC Uniswap v3 pool price with its block timestamp.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "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/eurc-peg-monitor-ecb-vs-on-chain-deviation-68a881db/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdata-api.sander-van-aard.workers.dev](https://www.zero.xyz/host/agentdata-api.sander-van-aard.workers.dev/llms.txt)
