Historical Amount Conversion
A 2-step recipe with ExchangeRate-API. We can help you get access.
Recipe · 2 steps
Historical Amount Conversion
with ExchangeRate-API
Value a fixed amount against all currencies on a chosen historical date.
- Retrieve the supported ISO 4217 currency codes to confirm the base currency is available before requesting historical data.
- Convert the supplied amount against all supported currencies using the historical exchange rates for the chosen date.
What you'll need to have ready
- apiKey: Your ExchangeRate-API dashboard API key.
- baseCode: ISO 4217 three-letter base currency code (e.g. USD).
- year: Four-digit year for the historical record (e.g. 2024).
- month: Month for the historical record (1-12, no leading zero).
- day: Day for the historical record (1-31, no leading zero).
- amount: Decimal amount in the base currency to convert at the historical rate.
For your developer
Arazzo workflow exchangerate-api:historical-amount-conversion, 2 operations: getSupportedCodes → getHistoricalRatesWithAmount. Specs on APIs.io.