United States Dollar (USD) Currency API
The United States Dollar is the world's primary reserve currency, used in the majority of international trade and financial transactions. Managed by the Federal Reserve, the USD serves as the benchmark against which most other currencies are quoted. USD exchange rates are influenced by Federal Reserve interest rate decisions, US economic data, inflation expectations, and global risk sentiment.
The United States Dollar Currency API allows you to:
- Convert USD (United States Dollar) to any of 170+ supported currencies
- Get real-time USD exchange rates
- Access USD conversion rates via simple REST API
- Premium plan required for USD currency pairs
From 5,079 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 245ms | 266ms | 326ms | 470ms | 926ms |
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,
USD.wantrequiredCurrency you want to convert to. For example,
EUR.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.
EUR).new_amountThe converted amount in the target currency.
Related USD Currency Pairs
| Pair | From | To |
|---|---|---|
| USD/EUR | United States Dollar | Euro |
| USD/GBP | United States Dollar | British Pound Sterling |
| USD/CAD | United States Dollar | Canadian Dollar |
| USD/JPY | United States Dollar | Japanese Yen |
| USD/CHF | United States Dollar | Swiss Franc |
| USD/AUD | United States Dollar | Australian Dollar |
| USD/NZD | United States Dollar | New Zealand Dollar |
| USD/CNY | United States Dollar | Chinese Yuan |
| USD/INR | United States Dollar | Indian Rupee |
| USD/SGD | United States Dollar | Singapore Dollar |
| USD/HKD | United States Dollar | Hong Kong Dollar |
| USD/KRW | United States Dollar | South Korean Won |
| USD/MXN | United States Dollar | Mexican Peso |
| USD/BRL | United States Dollar | Brazilian Real |
| USD/SEK | United States Dollar | Swedish Krona |
| USD/NOK | United States Dollar | Norwegian Krone |
| USD/TRY | United States Dollar | Turkish Lira |
| USD/ZAR | United States Dollar | South African Rand |
| USD/THB | United States Dollar | Thai Baht |
| USD/PLN | United States Dollar | Polish Zloty |
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=EUR&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=EUR&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.