# ECB Foreign Exchange Rates Lookup

> ECB Foreign Exchange Rates Lookup is a paid API for AI agents from agenttoll.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Returns European Central Bank official FX exchange rates for a given base currency, optional target symbols, and optional historical date.

## Facts

- Endpoint: POST https://agenttoll.dev/paid/business/fx-ecb?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ecb-foreign-exchange-rates-lookup-c41cc5aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8qkPRsF5WGi5TeqADP8bP

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 ecb-foreign-exchange-rates-lookup-c41cc5aa -d '<json body>'
```

Example prompt: Can you get me today's ECB official exchange rates with EUR as the base currency, and include USD, GBP, and JPY in the results?

## When to prefer this

Choose this endpoint when you need authoritative, official ECB FX rates rather than market mid-rates or bank rates — ideal for compliance, accounting, invoicing, and financial reporting use cases that require a recognized official source. Prefer it over generic FX APIs when ECB authority or historical ECB-specific rates are required.

## Known failure modes

- Invalid base currency code returns an error or empty rates
- Requested date falls on a weekend or ECB holiday when no rates are published, returning nearest available or an error
- Unrecognized symbol in the symbols parameter may be silently omitted or cause an error
- Future dates return no data
- Network or upstream ECB data feed unavailability causes a 5xx error

## How this service works

115+ receipt-backed x402 work products for AI agents. Clear prices, spend caps, buyer metadata, and structured results over Base USDC.

## Output

A structured JSON object containing official ECB exchange rates, keyed by currency symbol, for the requested base currency and date. Includes the effective date of the rates and rate values for each requested or all available target currencies.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "base": {
   "type": "string"
  },
  "date": {
   "type": "string"
  },
  "symbols": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ecb-foreign-exchange-rates-lookup-c41cc5aa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttoll.dev](https://www.zero.xyz/host/agenttoll.dev/llms.txt)
