Latest vs Historical
A 2-step recipe with ExchangeRate-API. We can help you get access.
Recipe · 2 steps
Latest vs Historical
with ExchangeRate-API
Fetch latest rates and the historical rates for the same base on a past date.
- Fetch the latest exchange rates from the base currency to all supported currencies as the present-day baseline for comparison.
- Retrieve the historical exchange rates for the same base currency on the supplied date for comparison against the latest rates.
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).
For your developer
Arazzo workflow exchangerate-api:latest-vs-historical, 2 operations: getLatestRates → getHistoricalRates. Specs on APIs.io.