ezForex
Toggle sidebar
Log in
Historical rates

Retrieve every retained cross-rate snapshot in an inclusive UTC date range.

GET
/api/history/{from}/{to}?since=YYYY-MM-DD&until=YYYY-MM-DD
history

Both dates are optional. The until date includes the full UTC day and may not precede since.

curl "https://ezforex.your-developer.co.za/api/history/USD/ZAR?since=2026-07-01&until=2026-07-18" \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "from": "USD",
  "to": "ZAR",
  "since": "2026-07-01",
  "until": "2026-07-18",
  "history": [
    {"date": "2026-07-18T12:00:00Z", "rate": 17.82}
  ]
}

This endpoint has its own daily history quota and requires a token with the history ability.