GET /historical/:date
Sæktu gengi for hvaða ... sem er specific past date. Gefðu upp a date in YYYY-MM-DD format í slóðinni path, and valfrjálst síaðu eftir grunngjaldmiðil and tarfáðu symbols. Gagnlegt fyrir generating historical invoices, auditing past transactions, back-testing trading strategies, and building gengi charts. Gögn fengin frá ECB daily reference rates.
date
nauðsynlegt
Date in URL (YYYY-MM-DD)
base
valfrjálst
sjálfgefið: EUR
Base currency
symbols
valfrjálst
Target currencies
| Nafn | Nauðsynlegt | Sjálfgefið | Lýsing |
|---|---|---|---|
date |
Já | - | Date in URL (YYYY-MM-DD) |
base |
Nei | EUR | Base currency |
symbols |
Nei | - | 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}}