Authentication

To integrate with our API, you have two straightforward methods to authenticate your requests:

Authentication Header (Recommended)
For enhanced security and simplicity, we recommend using the extra header. Simply add X-APIKEY: YOUR_APIKEY to your request headers. This method ensures that your API key is securely transmitted.
GET /v2/live?base=USD&counter=EUR,GBP HTTP/2
Host: api.forexapi.eu
x-apikey: 1C6sgeudZnSHZwoP9UXFmC
Query Parameter
Alternatively, you can authenticate by appending the apikey query parameter to your API request URL. For example, ?apikey=YOUR_APIKEY. This method might be useful in scenarios where modifying headers isn't feasible.
https://api.forexapi.eu/v2/live?base=USD&counter=EUR,GBP&apikey=1C6sgeudZnSHZwoP9UXFmC