---
title: "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."
method: POST
path: "/v1/tools/fx-rate"
---

# 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.

`POST /v1/tools/fx-rate`

## Request

- Base URL: `https://agents.dexl.io`
- URL: `https://agents.dexl.io/v1/tools/fx-rate`
- Auth: API key in header `X-Payment`

Paid per call via x402. Send without payment to get the exact price in the 402.

## Request body

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

## Response `200`

The tool output

## Other responses

- `400`: The input did not match the schema
- `402`: Payment required

---

[API](https://skmtc.dev/dexl/apis/dexl-agents.md) · [All operations](https://skmtc.dev/dexl/apis/dexl-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/dexl/apis/dexl-agents/revisions/e3692765c3f7?raw)
