Real-time currency conversion and exchange rates from ECB. Support for 31+ currencies with historical data. Free tier.
Welcome to the DevProToolkit API platform, your one-stop solution for real-time forex and currency conversion data. Our free currency exchange rate API provides accurate and up-to-date exchange rates for over 170 currencies, making it an essential tool for developers, businesses, and individuals alike.
Whether you're building an e-commerce platform, creating a travel app, or simply need to convert currencies for personal use, our API has got you covered. With features like real-time rates, historical data, and batch conversion, you can trust our API to provide the most accurate and reliable currency exchange data.
Sign up for a free account and start using our currency exchange rate API today. Try it now and experience the power of real-time forex data.
A currency exchange API is a web service that provides real-time and historical exchange rate data for various currencies. It allows developers to integrate accurate and up-to-date exchange rates into their applications, enabling features like currency conversion, invoicing, and more.
Exchange rate data is essential for developers building applications that involve international transactions, travel, or e-commerce. With our API, developers can access accurate and reliable exchange rates, ensuring that their applications provide the most up-to-date and accurate currency conversions.
To get started with our currency exchange rate API, simply sign up for a free account at https://api.commandsector.in/signup. Once you have your API key, you can start making requests to our API endpoints, including /api/currency/rates, /api/currency/convert, and /api/currency/history.
Our API provides several endpoints for accessing exchange rate data. The following parameters are available:
base_currency: The base currency for the exchange rate (e.g. USD)target_currency: The target currency for the exchange rate (e.g. EUR)amount: The amount to convert (e.g. 100)date: The date for historical exchange rate data (e.g. 2022-01-01)| Currency Code | Currency Name |
|---|---|
| USD | United States Dollar |
| EUR | Euro |
| GBP | British Pound |
| JPY | Japanese Yen |
| CAD | Canadian Dollar |
| AUD | Australian Dollar |
| CHF | Swiss Franc |
| CNY | Chinese Yuan |
| INR | Indian Rupee |
| BRL | Brazilian Real |
curl -X GET \ https://api.commandsector.in/api/currency/rates \ -H 'X-API-Key: YOUR_API_KEY' \ -H 'Content-Type: application/json'
curl -X GET \
https://api.commandsector.in/api/currency/convert \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"base_currency": "USD", "target_currency": "EUR", "amount": 100}'
import requests
api_key = 'YOUR_API_KEY'
base_url = 'https://api.commandsector.in'
response = requests.get(f'{base_url}/api/currency/rates', headers={'X-API-Key': api_key})
print(response.json())
const axios = require('axios');
const api_key = 'YOUR_API_KEY';
const base_url = 'https://api.commandsector.in';
axios.get(`${base_url}/api/currency/rates`, {
headers: {
'X-API-Key': api_key
}
})
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error(error);
});
Our currency exchange rate API has numerous use cases, including:
| Code | Currency Name | Symbol |
|---|---|---|
| USD | United States Dollar | $ |
| EUR | European Euro | € |
| GBP | British Pound | £ |
| JPY | Japanese Yen | ¥ |
| CAD | Canadian Dollar | $ |
| AUD | Australian Dollar | $ |
| CHF | Swiss Franc | CHF |
| CNY | Chinese Yuan | ¥ |
| INR | Indian Rupee | ₹ |
| BRL | Brazilian Real | R$ |
| KRW | South Korean Won | ₩ |
| Mxn | Mexican Peso | $ |
| SGD | Singapore Dollar | $ |
| HKD | Hong Kong Dollar | $ |
| NOK | Norwegian Krone | kr |
| SEK | Swedish Krona | kr |
| DKK | Danish Krone | kr |
| NZD | New Zealand Dollar | $ |
| ZAR | South African Rand | R |
| TRY | Turkish Lira | ₺ |
import requests
amount = 100
base_currency = "USD"
target_currencies = ["EUR", "GBP", "JPY"]
response = requests.get(
f"https://api.commandsector.in/convert",
params={"amount": amount, "base": base_currency, "currencies": ",".join(target_currencies)}
)
print(response.json())
The response would look something like this:
{
"base": "USD",
"amount": 100,
"rates": {
"EUR": 88.72,
"GBP": 76.73,
"JPY": 10923.00
}
}
curl https://api.commandsector.in/historical/2022-01-01?base=USD&symbols=EUR,GBP
Or in Python:
import requests
date = "2022-01-01"
base_currency = "USD"
target_currencies = ["EUR", "GBP"]
response = requests.get(
f"https://api.commandsector.in/historical/{date}",
params={"base": base_currency, "symbols": ",".join(target_currencies)}
)
print(response.json())
This can be useful for building a rate history chart or analyzing past trends.
fetch("https://api.commandsector.in/convert?amount=100&base=USD¤cies=EUR,GBP")
.then(response => response.json())
.then(data => {
console.log(data.rates);
// Update prices on your page using the rates
});
This example fetches the conversion rates for 100 USD to EUR and GBP, then logs the result. You can expand on this to update the prices on your webpage dynamically.
| API | Free Tier | Update Frequency | Currencies | Historical Data | HTTPS on Free |
|---|---|---|---|---|---|
| DevProToolkit | 1000 requests/month | Every 60 minutes | 150+ currencies | Yes, 10 years | Yes |
| Open Exchange Rates | 1000 requests/month | Every 60 minutes | 170+ currencies | Yes, 10 years | Yes |
| Fixer.io | 1000 requests/month | Every 60 minutes | 170+ currencies | Yes, 10 years | Yes |
| ExchangeRate-API | 1500 requests/month | Every 24 hours | 150+ currencies | No | Yes |
| Plan | Requests per Day | Price |
|---|---|---|
| Free | 100 | $0 |
| Pro | 10,000 | $9.99/mo |
| Enterprise | Unlimited | Contact us |
Our exchange rates are updated in real-time and are accurate to within a few minutes of the current market rate.
Our exchange rates are updated every few minutes to reflect the current market rate.
Yes, we provide historical exchange rate data for the past 365 days.
The free tier limit is 100 requests per day.
We support over 170 currencies, including major currencies like USD, EUR, GBP, and more.
curl "https://api.commandsector.in/api/currency/convert/100/USD/EUR" \
-H "X-API-Key: YOUR_API_KEY"
import requests
result = requests.get("https://api.commandsector.in/api/currency/convert/100/USD/EUR",
headers={"X-API-Key": "YOUR_API_KEY"}).json()
print(f"100 USD = {result['result']} EUR")
print(f"Rate: {result['rate']}")
Get a free API key with 100 requests/day. No credit card required.
Get Free API Key