How to get the latest Forex Exchange Rates via Fixer REST API? [PHP Code]
An example of getting the latest foreign exchange rates by requesting the free foreign exchange rates and currency conversion REST API service. The real-time exchange rate API service is provided by Fixer.io. The exchange rates API key is passed as a URL parameter. You can request the free exchange rates API by making HTTP GET requests. The PHP code was automatically generated for the Exchange Rates API example.
To get the current and historical foreign exchange rates via the REST API service, you need to make an HTTP GET request to the forex exchange rates REST API endpoint and provide your free REST API key as an URL parameter. Forex exchange rates are available for 170 world currencies.