← Fjármál og gjaldmiðlar

Tímaraðir

GET /timeseries

Fáðu daily gengi for hverja day innan specified dagsetningabil. Skilar a map of dates to rate objects, fullkomið fyrir plotting gengi charts and trend lines, performing time-series analysis, or calculating moving averages. Styður síun eftir grunngjaldmiðil and tarfáðu symbols to keep response sizes manageable over longer dagsetningabils.

Breytur

start_date nauðsynlegt

Start date

end_date nauðsynlegt

End date

base valfrjálst

Base currency

symbols valfrjálst

Target currencies

Dæmi um fyrirspurnir

Grunnnotkun
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"

Lifandi svar

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

Dæmi um svar

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