Currency Converter API
Free REST API — 25 currencies, live rates, no sign-up
Base URL
https://www.currencyexchangetool.comSupported Currencies
25 currencies: USD, EUR, UAH, GBP, CHF, PLN, RON, CAD, AUD, JPY, CNY, TRY, INR, BRL, KRW, SEK, NOK, MXN, SGD, NZD, HKD, DKK, HUF, CZK, ILS. See full list →
Endpoints
GET
/api/convertConvert an amount from one currency to another at the live exchange rate.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
amount | number | Yes | The amount to convert (e.g. 100) |
from | string | Yes | Source currency code (e.g. USD) |
to | string | Yes | Target currency code (e.g. UAH) |
Example Request
https://www.currencyexchangetool.com/api/convert?amount=100&from=USD&to=UAHExample Response
{
"amount": 100,
"from": "USD",
"to": "UAH",
"rate": 41.2500,
"result": 4125.0000,
"symbol": "USDUAH=X",
"updatedAt": "2026-05-28T10:00:00.000Z"
}GET
/api/currenciesReturns a list of all supported currencies with their names.
Example Request
https://www.currencyexchangetool.com/api/currenciesExample Response
{
"currencies": [
{ "code": "USD", "name": "US Dollar" },
{ "code": "EUR", "name": "Euro" },
{ "code": "UAH", "name": "Ukrainian Hryvnia" }
// ... 22 more
],
"count": 25
}GET
/api/historyReturns historical daily exchange rates for a currency pair.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
from | string | Yes | Source currency code (e.g. USD) |
to | string | Yes | Target currency code (e.g. UAH) |
days | number | No | Number of days to return (1–365, default: 7) |
Example Request
https://www.currencyexchangetool.com/api/history?from=USD&to=UAH&days=7Example Response
{
"from": "USD",
"to": "UAH",
"days": 7,
"data": [
{ "date": "2026-05-22", "rate": 41.1200 },
{ "date": "2026-05-23", "rate": 41.2500 }
// ...
]
}Quick Start — JavaScript
// Convert 100 USD to UAH
const res = await fetch(
'https://www.currencyexchangetool.com/api/convert?amount=100&from=USD&to=UAH'
);
const data = await res.json();
console.log(`100 USD = ${data.result} UAH`);
// → 100 USD = 4125.0000 UAHQuick Start — Python
import requests
res = requests.get(
'https://www.currencyexchangetool.com/api/convert',
params={'amount': 100, 'from': 'USD', 'to': 'UAH'}
)
data = res.json()
print(f"100 USD = {data['result']} UAH")Error Codes
| Status | Meaning |
|---|---|
200 | Success |
400 | Bad request — invalid amount or unsupported currency |
404 | Rate not found for this pair |
429 | Rate limit exceeded |
500 | Internal server error |