← Rahandus ja valuuta

Aegrida

GET /timeseries

Saage daily vahetuskursid for every day within a specified kuupäevavahemik. Tagastab a map of dates to rate objects, perfect for plotting vahetuskurss charts and trend lines, performing time-series analysis, or calculating moving averages. Toetab filtering by base currency and target symbols to keep response sizes manageable over longer kuupäevavahemiks.

Parameetrid

start_date kohustuslik

Start date

end_date kohustuslik

End date

base valikuline

Base currency

symbols valikuline

Target currencies

Näidispäringud

Põhikasutus
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"

Reaalajas vastus

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

Näidisvastus

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