With over 15 exchange rate data sources, the APILayer Exchangerates API is delivering exchanging rates data for more than 170 world currencies. Simply provide the APILayer API a currency code, and it will return the exchange rates. This frictionless access to accurate geographic data allows you to bring more understanding to your data in Gigasheet.
Provider Website: https://apilayer.com/marketplace/exchangerates_data-api
Provider Enrichment Docs: https://apilayer.com/marketplace/exchangerates_data-api
Endpoint: curl --request GET \--url 'https://api.apilayer.com/exchangerates_data/convert?to=to&from=from&amount=amount' \--header 'apikey: 123examplekey456'
Token / Registration Required: Yes
How To Enrich A Spreadsheet With APILayer:
For this example, our sheet contains a list of base currencies, conversion currencies and amounts to convert.
Step 1. In Gigasheet, head to the Enrichments function and select Custom Enrichment. First we paste in the HTTP request from APILayer.
Step 2. On the next screen we’ll insert the column variable from our Gigasheet sheet for the prompt. In this case, we highlight the “to”, “from”, and “amount” in the input, and then select our Location column and click +Insert Column Reference. We also need to highlight the “123examplekey” and paste our real key from APILayer. Then click Next.
Step 3. In this screen we see a preview of the results. Gigasheet makes requests for the first three rows and shows the Ziptastic response. At this point select the fields you want to be inserted into your sheet. We recommend hitting Select All since you can easily delete columns in Gigasheet.
Step 4. Finally, confirm the number of requests is to your liking, and when ready click Run to kickoff the custom enrichment process. It’s ok to leave or close the sheet; the custom enrichment will keep running and you’ll receive an email once the job has been completed. You can monitor the progress of your enrichment, or cancel the job at the top of the sheet.
Step 5. Once completed, Gigasheet will send a completion toast and refresh the page. The result will show generation of new columns based on the APILayer Exchange Rate API.
APILayer has added the Base Currency Date, Base Currency Info/Rate (exchange rate) and Base Currency - Result (converted amount).