/v1/rates
CNB daily fixing (all currencies)
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/cnb-api/v1/rates" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cnb-api/v1/rates", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cnb-api/v1/rates");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/cnb-api/v1/rates",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"base": "CZK",
"note": "rate = CZK per `amount` units of the currency; unit_rate = CZK per 1 unit",
"count": 30,
"rates": [
{
"code": "AUD",
"rate": 14.856,
"amount": 1,
"country": "Australia",
"currency": "dollar",
"unit_rate": 14.856
},
{
"code": "BRL",
"rate": 4.082,
"amount": 1,
"country": "Brazil",
"currency": "real",
"unit_rate": 4.082
},
{
"code": "CAD",
"rate": 15.079,
"amount": 1,
"country": "Canada",
"currency": "dollar",
"unit_rate": 15.079
},
{
"code": "CNY",
"rate": 3.098,
"amount": 1,
"country": "China",
"currency": "renminbi",
"unit_rate": 3.098
},
{
"code": "DKK",
"rate": 3.243,
"amount": 1,
"country": "Denmark",
"currency": "krone",
"unit_rate": 3.243
},
{
"code": "EUR",
"rate": 24.24,
"amount": 1,
"country": "EMU",
"currency": "euro",
"unit_rate": 24.24
},
{
"code": "HKD",
"rate": 2.681,
"amount": 1,
"country": "Hongkong",
"currency": "dollar",
"unit_rate": 2.681
},
{
"code": "HUF",
"rate": 6.815,
"amount": 100,
"country": "Hungary",
"currency": "forint",
"unit_rate": 0.06815
},
{
"code": "ISK",
"rate": 16.88,
"amount": 100,
"country": "Iceland",
"currency": "krona",
"unit_rate": 0.1688
},
{
"code": "XDR",
"rate": 28.757,
"amount": 1,
"country": "IMF",
"currency": "SDR",
"unit_rate": 28.757
},
{
"code": "INR",
"rate": 21.951,
"amount": 100,
"country": "India",
"currency": "rupee",
"unit_rate": 0.21951
},
{
"code": "IDR",
"rate": 1.156,
"amount": 1000,
"country": "Indonesia",
"currency": "rupiah",
"unit_rate": 0.001156
},
{
"code": "ILS",
…