# Delx ECB FX Rates

> Delx ECB FX Rates is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns daily European Central Bank (ECB) reference exchange rates for a given date and optional set of currency pairs, using EUR or another currency as the base.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/fx-rates
- 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/delx-ecb-fx-rates-d60724f2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_heQyBdIqaVtoGR0hXhmLf

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 delx-ecb-fx-rates-d60724f2 -d '<json body>'
```

Example prompt: Can you pull the ECB reference rates for today with EUR as the base, and give me the rates for USD, GBP, and JPY?

## When to prefer this

Choose this endpoint when you need authoritative, official ECB daily reference rates for informational or accounting purposes, especially when source attribution is required. It is ideal for compliance-oriented use cases, historical lookups up to 31 days back, or when you need cross-rates derived from ECB-published EUR pairs. Do not use it when you need live intraday market rates, executable transaction quotes, or rates for currencies not published by the ECB.

## Known failure modes

- Date outside the 31-day lookback window returns an error or empty result
- Non-ECB-published currency pair requested returns no rate for that currency
- Invalid ISO currency code format triggers a validation error
- Timeout exceeded (max 8 seconds) returns a timeout error
- ECB publication not yet available for the current day (rates typically published mid-morning CET) may return previous day's data or an error

## How this service works

Delx Commerce currency exchange rates API for agents at $0.001 USDC. Call when you need daily ECB FX rates (EUR/USD/BRL and other published pairs) with source attribution—not a live broker quote or trade execution. Returns bounded cross-rates via x402; informational only, no trading advice.

## Output

Returns a JSON object containing the ECB publication date, the base currency, and a map of quote currency codes to their reference exchange rates, along with source attribution indicating the data originates from the European Central Bank. If specific quote currencies are requested, only those pairs are returned; otherwise all ECB-published currencies for the date are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "date": {
   "type": "string",
   "format": "date",
   "description": "Optional ECB publication date, today or up to 31 days in the past."
  },
  "quotes": {
   "type": "array",
   "items": {
    "type": "string",
    "pattern": "^[A-Za-z]{3}$"
   },
   "maxItems": 20,
   "description": "Optional quote currencies; omit to return all currencies in the selected ECB publication."
  },
  "timeout": {
   "type": "integer",
   "default": 8,
   "maximum": 8,
   "minimum": 2
  },
  "base_currency": {
   "type": "string",
   "default": "EUR",
   "pattern": "^[A-Za-z]{3}$",
   "description": "Three-letter ISO currency code used as the base."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "cache": "miss",
   "rates": {
    "BRL": "5.742383",
    "EUR": "0.87804021"
   },
   "schema": "delx/fx-rates/v1",
   "provider": "European Central Bank",
   "data_note": "Informational reference rates only; this is not a transaction quote, execution venue, or trading advice.",
   "rate_date": "2026-07-31",
   "attribution": "Reference rates supplied by the European Central Bank; see provider_url and reuse_policy_url for source and reuse terms.",
   "provider_url": "https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html",
   "base_currency": "USD",
   "upstream_error": false,
   "requested_quotes": [
    "EUR",
    "BRL"
   ],
   "reuse_policy_url": "https://www.ecb.europa.eu/stats/ecb_statistics/governance_and_quality_framework/html/usage_policy.en.html"
  },
  "tool_name": "get_fx_rates_ecb"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-ecb-fx-rates-d60724f2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
