← Finanzas y divisas

Máximo / Mínimo / Promedio

GET /range

Find the minimum, maximum, and average tasa de cambio for any par de divisas over a custom rango de fechas. Returns the exact dates when the high and low occurred, haciendo it easy to identify the best and worst conversion moments. Útil para negotiating contract rates, analizando seasonal currency patterns, and proporcionando users with context about current rates relative to recent history.

Parametros

base requerido

Base currency

target requerido

Target currency

start_date requerido

Start date

end_date requerido

End date

Ejemplos de solicitudes

Uso basico
curl "https://nordapi.ee/api/v1/range?base=EUR&target=USD&start_date=2026-03-19&end_date=2026-03-24"
EUR/USD range over one week
curl "https://nordapi.ee/api/v1/range?base=EUR&target=USD&start_date=2026-03-17&end_date=2026-03-24"
GBP/NOK range over a month
curl "https://nordapi.ee/api/v1/range?base=GBP&target=NOK&start_date=2026-02-01&end_date=2026-02-28"
USD/JPY range over a quarter
curl "https://nordapi.ee/api/v1/range?base=USD&target=JPY&start_date=2026-01-01&end_date=2026-03-24"

Respuesta en vivo

{
  "average": 1.1550833333333332,
  "base": "EUR",
  "data_points": 6,
  "end_date": "2026-03-24",
  "highest": {
    "date": "2026-03-24",
    "rate": 1.1596
  },
  "lowest": {
    "date": "2026-03-19",
    "rate": 1.1489
  },
  "start_date": "2026-03-19",
  "success": true,
  "target": "USD"
}

Ejemplo de respuesta

{"success":true,"lowest":{"rate":1.1489,"date":"2026-03-19"},"highest":{"rate":1.1555,"date":"2026-03-20"},"average":1.1522}