Skip to content
REST API

Exchange Rates

Public API for daily currency exchange rates.
GET https://api.elexess.com/functions/v1/exchange-rate

The Exchange Rates API is a public endpoint — no authentication is required.

Rates are sourced from the European Central Bank (ECB) and updated daily. All rates use EUR as the base currency.

Example Request

curl "https://api.elexess.com/functions/v1/exchange-rate"

Response

{
  "success": true,
  "date": "2026-02-25",
  "rates_count": 31,
  "rates": [
    { "currency": "USD", "rate": 1.0458 },
    { "currency": "JPY", "rate": 158.59 },
    { "currency": "GBP", "rate": 0.8314 },
    { "currency": "CHF", "rate": 0.9435 },
    { "currency": "CNY", "rate": 7.6184 }
  ]
}
FieldTypeDescription
successbooleanWhether the rates were fetched and stored successfully
datestringThe date the rates apply to (ISO 8601)
rates_countnumberTotal number of currency pairs available
ratesarrayFirst 5 currency pairs (EUR → target)

Supported Currencies

The API provides exchange rates for all currencies published by the ECB, including USD, GBP, JPY, CHF, CNY, PLN, CAD, and others.

Error Response

StatusBodyDescription
500{"error":"..."}Failed to fetch or parse ECB data