# Maxwell International ECB FX Rate Feed

> Maxwell International ECB FX Rate Feed is a paid API for AI agents from api.maxwellinternational.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Returns the latest and historical EUR/USD exchange rates sourced from the European Central Bank (ECB) for the past 90 days

## Facts

- Endpoint: GET https://api.maxwellinternational.ai/v1/macro/ecb/fx?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/maxwell-international-ecb-fx-rate-feed-1757bbb8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NsQvbVrBWNzr5w7aMeFJ4

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 maxwell-international-ecb-fx-rate-feed-1757bbb8
```

Example prompt: Can you pull the latest EUR/USD exchange rate from the ECB, along with the historical daily rates for the past 90 days?

## When to prefer this

Choose this endpoint when you need official, authoritative EUR/USD exchange rates sourced directly from the European Central Bank — ideal for financial reporting, compliance, invoice conversion, or any use case requiring a trusted institutional FX reference rate rather than a commercial data provider's rate. It provides 90 days of daily history in a single call, making it efficient for trend analysis without requiring date range parameters.

## Known failure modes

- ECB source temporarily unavailable — upstream data fetch fails
- Payment not received or insufficient USDC — 402 response blocking access
- Rate limiting or network timeout on the ECB XML feed
- No data available for very recent dates if ECB has not yet published
- Malformed or unexpected ECB feed format causing parse errors

## How this service works

ECB euro foreign exchange reference rates (EUR base) for one currency (e.g. USD): the latest rate and about three months of daily history in date order, as published by the European Central Bank.

## Output

Returns a JSON object with: the base currency (EUR), quote currency (USD), the latest rate with its date, a count of observations, an array of daily historical rate observations (date + rate) covering up to 90 days, the ECB source URL, and a fetchedAt timestamp indicating when the data was retrieved.

## 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"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "base": "EUR",
  "pair": "EURUSD",
  "count": 65,
  "quote": "USD",
  "latest": {
   "date": "2026-09-25",
   "rate": 1.1403
  },
  "source": "https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist-90d.xml",
  "currency": "USD",
  "fetchedAt": "2026-09-26T02:26:02.687Z",
  "observations": [
   {
    "date": "2026-06-29",
    "rate": 1.1406
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/maxwell-international-ecb-fx-rate-feed-1757bbb8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.maxwellinternational.ai](https://www.zero.xyz/host/api.maxwellinternational.ai/llms.txt)
