---
title: "Look up a booking FX rate, with last-known-good fallback (admin only)"
method: GET
path: "/v1/admin/fx-rate"
---

# Look up a booking FX rate, with last-known-good fallback (admin only)

`GET /v1/admin/fx-rate`

## Request

- Base URL: `https://api.clichefactory.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.clichefactory.com/v1/admin/fx-rate`
- Auth: none declared

Rate to convert 1 ``base`` into ``quote`` on a given date.

``rate_date`` in the response is the date of the rate actually used, which
may be earlier than ``requested_date``: the ECB does not publish on
weekends or TARGET holidays, so a Sunday resolves to Friday.

## Query parameters

- `base` string
- `quote` string
- `on` string, nullable: ISO date; defaults to today (UTC).

## Headers

- `X-API-KEY` string, nullable

## Response `200`

Successful Response

- FxRateResponse
  - `base` string, required
  - `quote` string, required
  - `rate` number, required
  - `rate_date` string, date, required
  - `requested_date` string, date, required
  - `source` string, required
  - `stale_days` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/clichefactory/apis/aio-server.md) · [All operations](https://skmtc.dev/clichefactory/apis/aio-server/llms.txt) · [OpenAPI document](https://skmtc.dev/clichefactory/apis/aio-server/revisions/9bd59f9bbb31?raw)
