Currency exchange
Get an exchange rate
Changed onGet the exchange rate between two currencies.
get/currency-exchanges
Request
- Base URLhttps://api.dlocal.com
- URLhttps://api.dlocal.com/currency-exchanges
- AuthAPI key in header X-Date and API key in header X-Login and API key in header X-Trans-Key and API key in header Content-Type and API key in header X-Version and API key in header User-Agent and API key in header Authorization
Query parameters
fromstring required
Origin currency code. At the moment, the only acceptable value for the from parameter is USD, whereas the to parameter can include any local currency.
tostring required
Destination currency code.
Response
200
Example response
{
"from": "USD",
"to": "BRL",
"rate": 3.33
}Changes
- info
api tag
Currency exchangeadded
- info