# ECB FX Latest Rates (data.greeneris.io)

> ECB FX Latest Rates (data.greeneris.io) is a paid API for AI agents from data.greeneris.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns the latest European Central Bank official reference exchange rates in normalized JSON, optionally filtered by target currencies.

## Facts

- Endpoint: GET https://data.greeneris.io/v1/fx/latest
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ecb-fx-latest-rates-data-greeneris-io-8f0db90e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BTnNOPk4pzU5uUBNsaFq4

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-fx-latest-rates-data-greeneris-io-8f0db90e
```

Example prompt: What are today's official ECB reference rates for EUR against USD, GBP, and JPY?

## When to prefer this

Use this endpoint when you need official ECB-published foreign exchange reference rates in structured JSON format, especially for EUR-based conversions in European financial, accounting, or invoicing workflows. Prefer this over unofficial or aggregated FX providers when regulatory or audit compliance requires ECB-sourced rates. Best for daily batch processes, invoicing, or financial reporting rather than real-time trading.

## Known failure modes

- Invalid currency code returns an error or empty rates object
- Unsupported base currency (ECB only publishes EUR-based rates natively) may return an error
- Weekend or ECB holiday means rates may be up to 3 days old (last working day rates served)
- Rate limiting or payment failure returns 402 Payment Required
- Malformed symbols parameter returns 400 Bad Request

## How this service works

Latest European Central Bank reference exchange rates, normalized JSON. Query: ?base=EUR&symbols=USD,GBP,JPY (symbols optional -> all). Rates update once per working day; served with a 1h cache.

## Output

A normalized JSON object containing the latest ECB reference exchange rates, with EUR (or specified base) as the base currency and rate values for each requested target currency symbol, along with a timestamp indicating the last update date (once per working day).

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "base": {
       "type": "string",
       "default": "EUR",
       "description": "Base currency code"
      },
      "symbols": {
       "type": "string",
       "description": "Comma-separated target currencies (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "base": "EUR",
  "date": "2026-07-10",
  "rates": {
   "GBP": 0.85,
   "USD": 1.09
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ecb-fx-latest-rates-data-greeneris-io-8f0db90e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.greeneris.io](https://www.zero.xyz/host/data.greeneris.io/llms.txt)
