---
title: "G10 FX rate on a specific date"
method: GET
path: "/api/fx/date"
tags: ["FX"]
---

# G10 FX rate on a specific date

`GET /api/fx/date`

## Request

- Base URL: `https://api.lastlookdata.com`
- URL: `https://api.lastlookdata.com/api/fx/date`
- Auth: none declared

Returns the exchange rate for a G10 currency pair on a specific business day. Source: ECB.

## Query parameters

- `pair` 'EURUSD' | 'GBPUSD' | 'USDJPY' | 'USDCHF' | 'USDCAD' | 'AUDUSD' | 'NZDUSD' | 'USDSEK' | 'USDNOK', required
- `d` string, required

## Response `200`

FX rate on date

- FxCurrentResponse
  - `service` string
  - `pair` string
  - `label` string
  - `date` string, date
  - `rate` number
  - `base` string
  - `quote` string
  - `note` string

## Other responses

- `400`: Invalid parameters
- `402`: Payment required via x402 protocol. Send USDC on Base (eip155:8453).
- `404`: No data available for the requested date or series

---

[API](https://skmtc.dev/lastlookdata/apis/lastlook-data-api.md) · [All operations](https://skmtc.dev/lastlookdata/apis/lastlook-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lastlookdata/apis/lastlook-data-api/revisions/7e3a289cde3a?raw)
