← Finance et devises

Séries temporelles

GET /timeseries

Obtenir daily taux de change for every day within a specified plage de dates. Renvoie a map of dates to rate objects, idéal pour plotting taux de change charts and trend lines, performing séries temporelles analysis, or calculating moving averages. Prend en charge filtering by base currency and tarobtenir symbols to keep response sizes manageable over longer plage de datess.

Paramètres

start_date requis

Start date

end_date requis

End date

base optionnel

Base currency

symbols optionnel

Target currencies

Exemples de requêtes

Utilisation de base
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"

Réponse en direct

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

Exemple de réponse

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