USD/BRL Currency Conversion API
The USD/BRL currency pair represents the exchange rate between the United States Dollar and the Brazilian Real. Brazil is the largest economy in Latin America and a major commodity exporter. The USD to BRL rate is influenced by Central Bank of Brazil policy, commodity prices (soybeans, iron ore, coffee), fiscal policy, and political developments.
The USD/BRL Currency Conversion API allows you to:
- Convert USD (United States Dollar) to BRL (Brazilian Real) at current market rates
- Convert BRL (Brazilian Real) to USD (United States Dollar) at current market rates
- Get accurate conversions for any amount
- Access real-time exchange rate data
From 5,079 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 199ms | 239ms | 273ms | 399ms | 1134ms |
Similar APIs
Didn't find what you were looking for? Suggest an improvement
/v1/convertcurrency GET
https://api.api-ninjas.com/v1/convertcurrency
Parameters
haverequiredCurrency you currently hold. For example,
USDorBRL.wantrequiredCurrency you want to convert to. For example,
BRLorUSD.amountrequiredAmount of currency to convert.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON object with the following fields or an error if the request is unsuccessful.
old_amountThe original amount provided in the request.
old_currencyThe original currency code (e.g.
USD).new_currencyThe target currency code (e.g.
BRL).new_amountThe converted amount in the target currency.
timestampUnix timestamp (in seconds) indicating the time at which the exchange rate used for the conversion was applied.
Sample Request Live Demo!
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/convertcurrency?have=USD&want=BRL&amount=1000Headers
X-Api-KeyLog in or sign up to get your API KeySample Response
Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/convertcurrency?have=USD&want=BRL&amount=1000" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed above, you can still make API calls by using any HTTP request library and following the documentation above.