← Finans & valuta

Tidsserie

GET /timeseries

Get daglig växelkurss for varje day within a specified datumintervall. Returnerar a map of datum to kurs objects, perfect for plotting växelkursdiagram and trend rader, performing tidsserie analysis, or calculating moving averages. Stöder filtering by basvaluta and target symbols to keep response sizes manageable over longer datumintervalls.

Parametrar

start_date obligatorisk

Start date

end_date obligatorisk

End date

base valfri

Base currency

symbols valfri

Target currencies

Exempelförfrågningar

Grundläggande användning
curl "https://nordapi.ee/api/v1/timeseries?start_date=2026-03-01&end_date=2026-03-15&base=USD&symbols=EUR"
USD/EUR rate over two weeks
curl "https://nordapi.ee/api/v1/timeseries?start_date=2026-03-01&end_date=2026-03-15&base=USD&symbols=EUR"
NOK against multiple currencies over a month
curl "https://nordapi.ee/api/v1/timeseries?start_date=2026-02-01&end_date=2026-02-28&base=NOK&symbols=SEK,DKK"
All rates for GBP over a week
curl "https://nordapi.ee/api/v1/timeseries?start_date=2026-03-17&end_date=2026-03-24&base=GBP"

Livesvar

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

Exempelsvar

{"success":true,"base":"USD","rates":{"2026-03-01":{"EUR":0.92},"2026-03-02":{"EUR":0.918}}}