# FX Rates, Historical

The ECB reference board for any date since 1999 — the series every backtest and reconciliation needs.

- Method: `GET`
- Path: `/v1/fx/historical`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `date` | string | required | `YYYY-MM-DD`, from 1999 on. |
| `base` | string | optional | Three-letter ISO code. |
| `symbols` | string | optional | Comma-separated ISO codes; omit for the whole board. |
| `max_age` | integer (seconds) | optional | Ask for data no older than this. Clamped to the product's own floor, so it can narrow the window but never force a refresh on every call. |

**Example request**

```bash
curl https://api.diraz.ae/v1/fx/historical \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "base": "EUR",
    "date": "2026-01-02",
    "amount": 1,
    "rates": { "USD": 1.0354, "IDR": 16850 }
  },
  "meta": {
    "request_id": "req_7Q2fK4mZ",
    "as_of": "2026-01-02T16:00:00.000Z",
    "age_seconds": 42,
    "next_update_at": "2026-08-22T16:00:00.000Z"
  }
}
```