/v1/rates
BNM official rate for every currency vs the leu
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/bnm-api/v1/rates" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bnm-api/v1/rates", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bnm-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/bnm-api/v1/rates",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"base": "MDL",
"date": "2026-06-10",
"count": 40,
"rates": [
{
"name": "U.A.E. Dirham",
"value": 4.7244,
"nominal": 1,
"currency": "AED",
"code_numeric": 784,
"mdl_per_unit": 4.7244
},
{
"name": "Albanian lek",
"value": 2.1067,
"nominal": 10,
"currency": "ALL",
"code_numeric": 8,
"mdl_per_unit": 0.21067
},
{
"name": "Armenian Dram",
"value": 0.4705,
"nominal": 10,
"currency": "AMD",
"code_numeric": 51,
"mdl_per_unit": 0.04705
},
{
"name": "Australian Dollar",
"value": 12.2459,
"nominal": 1,
"currency": "AUD",
"code_numeric": 36,
"mdl_per_unit": 12.2459
},
{
"name": "Azerbaijanian Manat",
"value": 10.2074,
"nominal": 1,
"currency": "AZN",
"code_numeric": 944,
"mdl_per_unit": 10.2074
},
{
"name": "Belarussian Ruble",
"value": 6.2729,
"nominal": 1,
"currency": "BYN",
"code_numeric": 933,
"mdl_per_unit": 6.2729
},
{
"name": "Canadian Dollar",
"value": 12.455,
"nominal": 1,
"currency": "CAD",
"code_numeric": 124,
"mdl_per_unit": 12.455
},
{
"name": "Swiss Franc",
"value": 21.7945,
"nominal": 1,
"currency": "CHF",
"code_numeric": 756,
"mdl_per_unit": 21.7945
},
{
"name": "Chinese yuan renminbi",
"value": 2.5625,
"nominal": 1,
"currency": "CNY",
"code_numeric": 156,
"mdl_per_unit": 2.5625
},
{
"name": "Czech Koruna",
"value": 0.8302,
"nominal": 1,
"currency": "CZK",
"code_numeric": 203,
"mdl_per_unit": 0.8302
},
{
"name": "Danish Krone",
"value": 2.6853,
"nominal": 1,
"currency": "DKK",
"code_numeric": 208,
"mdl_per_unit": 2.6853
},
{
"name": "Euro",
"value": 20.0703,
"nominal": 1,
"currency": "EUR",
"code_numeric": 978,
…