Exchange Rates

Get current exchange rate

Fetch the current exchange rate between two currencies. Uses cached rates when available.

get/v2/exchange-rates/current

Request

  • Base URL
    https://api.mentium.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Query parameters

from_currencystring required

Source currency code (e.g., 'CAD')

to_currencystring required

Target currency code (e.g., 'USD')

Headers

mentium-workspace-idstring nullable

Response

Successful Response

from_currencystring required

Source currency code (e.g., 'CAD')

to_currencystring required

Target currency code (e.g., 'USD')

ratenumber required

Exchange rate (1 from_currency = rate to_currency)

rate_datestring date required

Date the rate is valid for

sourcestring required

Source of the rate (e.g., 'open_exchange_rates', 'cache')

Changes

No recorded changes to this operation across all 2 revisions of this API.