ECB FX Reference Rates
agent-utils.threads-cron.workers.dev
Use when an agent must check an IBAN before paying or saving it. Offline: characters, length, country account pattern, check digits (89 country codes, list at GET /; territories like AX, GP, GG unsupported). valid:false with status "unsupported" = not checkable, not necessarily invalid. Prefer POST {"iban"}: URLs may reach infra logs; the app does not store the IBAN. No charge: 400 bad input, 405
- Category
- Service
- Networks
- Base
- Starting price
- $0.003
- Paid calls, 30 days
- 8
- Payers, 30 days
- 4
How to pay
Call an endpoint, read the price in the 402 answer, and pay from your own wallet with any x402 client on Base. The payment goes straight to the provider: Autonomo lists this API but isn't part of the payment. See The x402 directory.
Paid endpoints
3 endpoints, sorted by usage. Prices are per request.
| Endpoint | Price | Network | Facilitator | Calls / 30d |
|---|---|---|---|---|
POST/v1/fx/ecb Use when an agent needs the ECB euro reference rate for a currency pair on a date (default latest), optionally converting an amount (max 1e9, 6 decimals). 29 currencies + EUR from 1999-01-04. Inverse/cross rates via EUR are calculated here and rounded (rate 10 significant digits, converted 6 decimals). Information only; original data free at ecb.europa.eu. No charge: 400, 404 no rate, 405, 429; 502/503 (incl. stale data). | $0.003 | Base | Coinbase CDP | 6 |
POST/v1/iban/validate Use when an agent must check an IBAN before paying or saving it. Offline: characters, length, country account pattern, check digits (89 country codes, list at GET /; territories like AX, GP, GG unsupported). valid:false with status "unsupported" = not checkable, not necessarily invalid. Prefer POST {"iban"}: URLs may reach infra logs; the app does not store the IBAN. No charge: 400 bad input, 405 other methods, 429; no input and no payment gets a 402 quote. 502 if payment is down. No re-sends. | $0.003 | Base | Coinbase CDP | 1 |
POST/v1/market/status Use when an agent must know if a stock market is open at a time: NYSE (XNYS), Nasdaq (XNAS), Tokyo Stock Exchange (XJPX). Regular trading hours only (no pre/after-hours): open, session (regular/lunch/closed), reason (weekend, holiday, early close), local time, next open/close. Built-in official calendars: XNYS 2026-28, XNAS 2026, XJPX 2026-27; other years get 400. No charge: 400, 405 other methods, 429; 502/503 not charged. | $0.003 | Base | Coinbase CDP | 1 |
Is this your project? Suggest an edit.