Get Exchange Rate

Changed on

Retrieve the exchange rate between two currencies for a given date.

get/tax/exchange_rates

Request

  • Base URL
    https://api.numeralhq.com
  • URL
    https://api.numeralhq.com/tax/exchange_rates
  • Auth
    HTTP bearer

Query parameters

datestring date required

The date of the exchange rate, in YYYY-MM-DD format (UTC). Cannot be later than the current date in UTC.

base_currencystring required

ISO 4217 code of the currency to convert from. Case-insensitive.

target_currencystring required

ISO 4217 code of the currency to convert to. Case-insensitive.

Response

Exchange rate for the requested currency pair and date

object'tax.exchange_rate' required
datestring date required

The date of the exchange rate, in YYYY-MM-DD format (UTC)

base_currencystring required

ISO 4217 code of the currency converted from, in uppercase

target_currencystring required

ISO 4217 code of the currency converted to, in uppercase

ratenumber required

Amount of target_currency equal to one unit of base_currency. Not rounded.

Changes