Skip to main content

QeFX API · Public preview

Exchange-rate data built for developers.

Three JSON endpoints over HTTPS. No key, no SDK, and CORS enabled so you can call them from the browser.

  • · Responses cached for 60 s (history: 1 hour)
  • · Errors return { error: { code, message } } with a 4xx/5xx status
  • · Fair use during the preview; keys and rate limits will follow
GET

Send a request to see the live response.

GET/api/v1/latest

Latest reference rates quoted against a base currency.

Query parameters for /api/v1/latest
ParameterDescription
baseoptionalISO code of the base currency. Default USD.
symbolsoptionalComma-separated ISO codes to include. Default: all.
Requestbash
curl "https://qefx-website.vercel.app/api/v1/latest?base=USD&symbols=EUR,GBP,ZAR"
Example responsejson
{
  "base": "USD",
  "updatedAt": 1790553751000,
  "nextUpdateAt": 1790642141000,
  "rates": { "EUR": 0.87889, "GBP": 0.7412, "ZAR": 16.3922 },
  "source": { "name": "ExchangeRate-API", "url": "https://www.exchangerate-api.com" },
  "disclaimer": "Mid-market reference rates for information only."
}

GET/api/v1/convert

Convert an amount between two currencies.

Query parameters for /api/v1/convert
ParameterDescription
fromrequiredSource currency ISO code.
torequiredTarget currency ISO code.
amountoptionalNon-negative number. Default 1.
Requestbash
curl "https://qefx-website.vercel.app/api/v1/convert?from=USD&to=ZAR&amount=1000"
Example responsejson
{
  "from": "USD",
  "to": "ZAR",
  "amount": 1000,
  "rate": 16.3922,
  "result": 16392.2,
  "updatedAt": 1790553751000,
  "source": { "name": "ExchangeRate-API", "url": "https://www.exchangerate-api.com" }
}

GET/api/v1/history

Daily ECB reference rates for a pair. Covers 30 major currencies.

Query parameters for /api/v1/history
ParameterDescription
fromrequiredSource currency (ECB-covered).
torequiredTarget currency (ECB-covered).
periodoptional1W, 1M, 3M, 6M, 1Y or 5Y. Default 1M.
Requestbash
curl "https://qefx-website.vercel.app/api/v1/history?from=EUR&to=GBP&period=1Y"
Example responsejson
{
  "from": "EUR",
  "to": "GBP",
  "period": "1Y",
  "points": [{ "d": "2025-09-29", "r": 0.8712 }, "…"],
  "stats": { "open": 0.8712, "close": 0.8431, "high": 0.8795, "low": 0.8402, "changePct": -3.23, "…": "…" },
  "source": { "name": "European Central Bank via Frankfurter", "url": "https://frankfurter.dev" }
}

Data sources & terms

Latest rates: ExchangeRate-API. Mid-market reference rates. The open-access feed publishes once per day. History: European Central Bank via Frankfurter. Daily ECB reference rates, published around 16:00 CET on working days. All rates are mid-market reference rates for information only and must not be presented as an offer to exchange currency. Attribution to the original sources is required when you display the data.