# DexL Agents FX Rate – ECB Euro Reference Rates

> DexL Agents FX Rate – ECB Euro Reference Rates is a paid API for AI agents from agents.dexl.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns European Central Bank official foreign-exchange reference rates for up to 30 currencies, with cross-rates derived through EUR, optionally as a daily series of up to 90 business days.

## Facts

- Endpoint: POST https://agents.dexl.io/v1/tools/fx-rate
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dexl-agents-fx-rate-ecb-euro-reference-rates-0b718c7b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tKCpdUP_sh6hID2FzfddE

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 dexl-agents-fx-rate-ecb-euro-reference-rates-0b718c7b -d '<json body>'
```

Example prompt: What's the official ECB reference rate for Turkish lira against US dollar as of today? Give me the single latest published rate.

## When to prefer this

Choose this endpoint when you need official, published ECB euro reference rates for compliance, accounting, invoicing, or regulatory reporting purposes — not for live tradeable rates or real-time market data. It is the right choice when you need cross-rates between any two of the 30 supported currencies (derived through EUR), or when you need a historical daily series of up to 90 business days. Prefer it over live FX feeds when auditability and an official central bank source matter more than real-time accuracy.

## Known failure modes

- Requested date is not a business day or falls outside the 90-day window — returns an error or no data
- Unknown or unsupported currency code — returns a validation error
- Days parameter outside 2–90 range — returns a schema validation error
- Latest rate not yet published (request before ~16:00 CET) — may return previous business day's rate
- Network or upstream ECB data unavailability — service error response

## How this service works

Euro foreign-exchange reference rates from the European Central Bank for 30 currencies - USD, GBP, JPY, CHF, TRY, CNY, INR, BRL and more - with cross-rates derived through EUR (USD/TRY, GBP/JPY, anything against anything) and an optional daily series up to 90 business days. The response says plainly what these are: published once per business day around 16:00 CET, not a live market rate and not tradeable.

## Output

A JSON object containing the computed exchange rate (or a daily series array for multi-day requests), the base and quote currencies, the publication date(s), and metadata indicating whether the result was cached and how many units were consumed. The rates are ECB reference rates published once per business day around 16:00 CET, explicitly labeled as non-tradeable official reference figures.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "base": {
   "type": "string",
   "default": "EUR",
   "description": "Currency to price it in. Defaults to EUR; anything else is derived through EUR."
  },
  "date": {
   "type": "string",
   "description": "Business day as YYYY-MM-DD, within the last 90 days. Defaults to the latest publication."
  },
  "days": {
   "type": "integer",
   "maximum": 90,
   "minimum": 2,
   "description": "Return a daily series of this many business days instead of a single rate."
  },
  "quote": {
   "type": "string",
   "description": "Currency you want the price of, e.g. \"TRY\"."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "units": 1,
  "cached": false,
  "output": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dexl-agents-fx-rate-ecb-euro-reference-rates-0b718c7b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.dexl.io](https://www.zero.xyz/host/agents.dexl.io/llms.txt)
