GET /historical/:date
Hae exchange rates for any specific past date. Provide a date in YYYY-MM-DD format in the URL path, and optionally filter by base currency and target symbols. Hyödyllinen generating historical invoices, auditing past transactions, back-testing trading strategies, and building exchange rate charts. Data sourced from ECB daily reference rates.
date
pakollinen
Date in URL (YYYY-MM-DD)
base
valinnainen
oletus: EUR
Base currency
symbols
valinnainen
Target currencies
| Nimi | Pakollinen | Oletus | Kuvaus |
|---|---|---|---|
date |
Kyllä | - | Date in URL (YYYY-MM-DD) |
base |
Ei | EUR | Base currency |
symbols |
Ei | - | Target currencies |
curl "https://nordapi.ee/api/v1/historical/2026-03-15?base=USD"
curl "https://nordapi.ee/api/v1/historical/2026-03-15?base=USD"
curl "https://nordapi.ee/api/v1/historical/2026-01-01?base=EUR&symbols=NOK,SEK,DKK"
curl "https://nordapi.ee/api/v1/historical/2025-01-02?base=GBP&symbols=USD,EUR"
HTTP 404: {
"error": "No rates available for this date",
"message": "Exchange rates are not available for the requested date.",
"success": false
}
{"success":true,"base":"USD","date":"2026-03-15","rates":{"EUR":0.921,"GBP":0.793}}