← Finanzen & Währung

Historische Kurse

GET /historical/:date

Abrufen von Wechselrates for any specific past date. Geben Sie an: a date in YYYY-MM-DD format in the URL path, und optionally filter by base currency und target symbols. Nützlich für generating historical invoices, auditing past transactions, back-testing trading strategies, und building Wechselkurs charts. Daten von ECB daily reference rates.

Parameter

date erforderlich

Date in URL (YYYY-MM-DD)

base optional Standard: EUR

Base currency

symbols optional

Target currencies

Beispielanfragen

Grundlegende Verwendung
curl "https://nordapi.ee/api/v1/historical/2026-03-15?base=USD"
Rates on a specific date with USD base
curl "https://nordapi.ee/api/v1/historical/2026-03-15?base=USD"
EUR rates for specific currencies on a date
curl "https://nordapi.ee/api/v1/historical/2026-01-01?base=EUR&symbols=NOK,SEK,DKK"
Historical rates on New Year's Day 2025
curl "https://nordapi.ee/api/v1/historical/2025-01-02?base=GBP&symbols=USD,EUR"

Live-Antwort

HTTP 404: {
  "error": "No rates available for this date",
  "message": "Exchange rates are not available for the requested date.",
  "success": false
}

Beispielantwort

{"success":true,"base":"USD","date":"2026-03-15","rates":{"EUR":0.921,"GBP":0.793}}