REST API to convert amounts between 100+ world currencies in real-time. One call. Instant results.
- Convert between 100+ currencies (USD, EUR, GBP, JPY, AUD, CAD, CHF, CNY, and more)
- Real-time exchange rates from authoritative financial data providers
- ISO 4217 standard currency codes
- 100 requests/month on free tier
- Example Response:
{
"source_currency": "USD",
"target_currency": "JPY",
"source_amount": 100.0,
"target_amount": 15664.3
}Create an account at omkar.cloud to get your API key, and use it in requests. 100 requests are free every month.
curl -X GET "https://convert-currency-api.omkar.cloud/convert?have=USD&want=JPY&amount=100" \ -H "API-Key: YOUR_API_KEY"
{
"source_currency": "USD",
"target_currency": "JPY",
"source_amount": 100.0,
"target_amount": 15664.3
}pip install requests
import requests response = requests.get( "https://convert-currency-api.omkar.cloud/convert", params={"have": "USD", "want": "JPY", "amount": 100}, headers={"API-Key": "YOUR_API_KEY"} ) data = response.json() print(f"{data['source_amount']} {data['source_currency']} = {data['target_amount']} {data['target_currency']}")
npm install axios
import axios from "axios"; const response = await axios.get("https://convert-currency-api.omkar.cloud/convert", { params: { have: "USD", want: "JPY", amount: 100 }, headers: { "API-Key": "YOUR_API_KEY" } }); console.log(`${response.data.source_amount} ${response.data.source_currency} = ${response.data.target_amount} ${response.data.target_currency}`);
GET https://convert-currency-api.omkar.cloud/convert
| Header | Required | Description |
|---|---|---|
API-Key |
Yes | API key from omkar.cloud/api-key |
All parameters are required.
| Parameter | Required | Description |
|---|---|---|
have |
Yes | Source currency code (e.g., USD, GBP, EUR) |
want |
Yes | Target currency code (e.g., JPY, AUD, CAD) |
amount |
Yes | Amount to convert (e.g., 100, 5000, 49.99) |
| Field | Type | Description |
|---|---|---|
source_currency |
string | Currency you're converting from |
target_currency |
string | Currency you're converting to |
source_amount |
float | Original amount sent |
target_amount |
float | Converted amount in target currency |
response = requests.get( "https://convert-currency-api.omkar.cloud/convert", params={"have": "USD", "want": "EUR", "amount": 250}, headers={"API-Key": "YOUR_API_KEY"} ) data = response.json() print(f"{data['source_amount']} USD = {data['target_amount']} EUR")
response = requests.get( "https://convert-currency-api.omkar.cloud/convert", params={"have": "GBP", "want": "INR", "amount": 500}, headers={"API-Key": "YOUR_API_KEY"} ) data = response.json() print(f"{data['source_amount']} GBP = {data['target_amount']} INR")
response = requests.get( "https://convert-currency-api.omkar.cloud/convert", params={"have": "EUR", "want": "JPY", "amount": 1000}, headers={"API-Key": "YOUR_API_KEY"} ) data = response.json() print(f"{data['source_amount']} EUR = {data['target_amount']} JPY")
response = requests.get( "https://convert-currency-api.omkar.cloud/convert", params={"have": "USD", "want": "JPY", "amount": 100}, headers={"API-Key": "YOUR_API_KEY"} ) if response.status_code == 200: data = response.json() elif response.status_code == 401: # Invalid API key pass elif response.status_code == 429: # Rate limit exceeded pass
| Plan | Price | Requests/Month |
|---|---|---|
| Free | 0ドル | 100 |
| Starter | 16ドル | 3,000 |
| Grow | 48ドル | 15,000 |
| Scale | 148ドル | 75,000 |
Reach out anytime. We will solve your query within 1 working day.