Click here to install the API Connector add-on from the Google Marketplace.
In this example, we will get the latest forex rates for EUR, JPY and CAD in USD.
Full API Request URL:
https://api.forexrateapi.com/v1/latest?base=USD¤cies=EUR,JPY,CAD&api_key=[YOUR_API_KEY]
From step 2, we will paste the final URL into API Connector.
Notes:
=C2/60/60/24 + DATE(1970,1,1)
You can experiment with endpoints and query strings as described in the documentation to see other types of data, but if you just want to jump in and get a feel for it, play around with the URLs you enter in the API URL path field. Try the following (one at a time), substituting in your own symbols and dates if you like. List of currencies.
https://api.forexrateapi.com/v1/2022-01-30?api_key=[API_KEY]&base=USD¤cies=EUR,JPY,CAD
https://api.forexrateapi.com/v1/convert?api_key=[API_KEY]&from=USD&to=EUR&amount=100&date=2022-01-30
https://api.forexrateapi.com/v1/convert?api_key=[API_KEY]&from=USD&to=JPY&amount=100&date=2022-01-30
https://api.forexrateapi.com/v1/convert?api_key=[API_KEY]&from=USD&to=EUR&amount=100&date=2022-01-30
https://api.forexrateapi.com/v1/timeframe?api_key=[API_KEY]&start_date=2021-01-01&end_date=2021-12-01&base=USD¤cies=EUR,CAD
https://api.forexrateapi.com/v1/change?api_key=[API_KEY]&start_date=2021-01-01&end_date=2021-12-01&base=USD¤cies=EUR,CAD