Skip to main content

Get currency price

Returns the current price of a given currency.

URL

https://api.excelapi.org/currency/rate

Configuration

ConfigurationRequiredDescription
pairSpecify the currency pair. Include hyphen.

Pair

symbol nameCurrency Pair Name
aud-chfAustralian-dollar/Swiss-franc
aud-jpyAustralian-dollar/yen
aud-nzdAustralian dollar/New Zealand Dollar
aud-usdAustralian dollar/US dollar
cad-jpyCanadian-dollar/yen
chf-jpySwiss-franc/yen
eur-audEuro/australian_dollar
eur-cadEuro/Canadian-dollar
eur-chfEuro/Swiss-franc
eur-gbpEuro/British-pound
eur-jpyEuro/yen
eur-nzdEuro/new_zealand_dollar
eur-usdEuro/US Dollar
gbp-audBritish-pound/Australian dollar
gbp-chfBritish-pound/Swiss-franc
gbp-jpyBritish-pound/Yen
gbp-nzdBritish-pound/New Zealand Dollar
gbp-usdBritish-pound / US Dollar
nzd-jpyNew Zealand Dollar/Yen
nzd-usdNew Zealand Dollar/US Dollar
usd-cadUS Dollar/Canadian-dollar
usd-chfUS Dollar/Swiss-franc
usd-jpyUS Dollar/Yen
zar-jpySouth African rand/Yen

Example

サンプル

B2:

=WEBSERVICE("https://api.excelapi.org/currency/rate?pair="&A2)

To reflect directly in a cell:

=WEBSERVICE("https://api.excelapi.org/currency/rate?pair=usd-jpy")