capabilities.work

Pair Amount Conversion

A 2-step recipe with ExchangeRate-API. We can help you get access.

Recipe · 2 steps

Pair Amount Conversion

Convert a specific amount between two currencies after confirming support.

  1. Retrieve the supported ISO 4217 currency codes to confirm the base and target currencies are available before converting.
  2. Convert the supplied amount from the base currency to the target currency, returning the live rate and the converted result.
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).
  • targetCode: ISO 4217 three-letter target currency code (e.g. EUR).
  • amount: Decimal amount in the base currency to convert.
For your developer

Arazzo workflow exchangerate-api:pair-amount-conversion, 2 operations: getSupportedCodes → getPairConversionWithAmount. Specs on APIs.io.