← Rahoitus ja valuutta

Aikasarja

GET /timeseries

Hae daily exchange rates for every day within a specified date range. Palauttaa a map of dates to rate objects, perfect for plotting exchange rate charts and trend lines, performing time-series analysis, or calculating moving averages. Tukee filtering by base currency and target symbols to keep response sizes manageable over longer date ranges.

Parametrit

start_date pakollinen

Start date

end_date pakollinen

End date

base valinnainen

Base currency

symbols valinnainen

Target currencies

Esimerkkipyynnöt

Peruskäyttö
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"

Reaaliaikainen vastaus

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

Esimerkkivastaus

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