Foreign Exchange Reference Rates REST API Example [PHP Code]

This page shows how to get the foreign exchange reference rates from exchangeratesapi.io service. Rates are quoted against the USD base currency. No API key is required. The PHP code was automatically generated for the Foreign Exchange Reference Rates REST API example.
Foreign Exchange Reference Rates REST API Example [PHP Code] Send
GET /latest?base=USD HTTP/1.1
Host: api.exchangeratesapi.io

Updated: Viewed: 8968 times
PHP code for Foreign Exchange Reference Rates REST API example

PHP code for Foreign Exchange Reference Rates REST API Example

This PHP code snippet was generated automatically for the Foreign Exchange Reference Rates REST API example.
<< Back to the Foreign Exchange Reference Rates REST API example

Generate code snippets for PHP and other programming languages

Convert your Foreign Exchange Reference Rates REST API request to the PHP, JavaScript/AJAX, Node.js, Curl/Bash, Python, Java, C#/.NET code snippets using the PHP code generator.