This guide will get you all set up and ready to use the currencyapi API. We'll cover how to get started using one of our API clients and how to make your first API request. We'll also look at where to go next to find all the information you need to take full advantage of our powerful REST API.
# cURL is most likely already installed on your machine curl --version
After picking your preferred client, you are ready to make your first call to the currencyapi API. Below, you can see how to send a
GET request to the
/latest endpoint to get the latest exchange rates available to your subscription.
curl -G https://api.currencyapi.com/v3/latest \ -H "apikey: YOUR-API-KEY"
Alternatively, you can retrieve the latest exchange rates for a specific base currency and / or a comma seperated list of target currencies:
curl -G https://api.currencyapi.com/v3/latest?base_currency=EUR¤cies=USD \ -H "apikey: YOUR-API-KEY"
Great, you're now set up with an API client and have made your first request to the API. Here are a few links that might be handy as you venture further into the currencyapi API: