currency

USD-based FX rates for display currencies

ECB reference rates via Frankfurter, USD as base, keyed by lower-case ISO 4217 code. Multiply a USD amount by the rate to get the display amount. Returns every currency the ECB publishes (29 today: eur, gbp, jpy, chf, cny, ron, …), not just the three the app offers — one upstream call returns them all, so adding a currency to the app needs no change here. usd, eur and gbp are guaranteed; the rest follow the ECB. RUB is not available — the ECB suspended it in 2022. Cached server-side for 1 hour. 502 when the provider is unusable or a guaranteed currency is missing; callers should render USD rather than substitute a rate.

get/currency/rates

Response

Named properties are guaranteed; additional lower-case ISO 4217 keys carry the rest of the ECB set.

usdnumber required

Always 1 — USD is the base.

eurnumber required
gbpnumber required

Example response

{
  "usd": 1,
  "eur": 0.85477,
  "gbp": 0.73228
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.