Naar de inhoud
GET /v1/rates

NBRB official rate for every currency vs the rouble

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/nbrb-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/nbrb-api/v1/rates" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nbrb-api/v1/rates", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nbrb-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/nbrb-api/v1/rates",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "base": "BYN",
        "date": "2026-06-10",
        "count": 30,
        "rates": [
            {
                "date": "2026-06-10",
                "name": "Дирхамов ОАЭ",
                "scale": 10,
                "cur_id": 513,
                "currency": "AED",
                "byn_per_unit": 0.75346,
                "official_rate": 7.5346
            },
            {
                "date": "2026-06-10",
                "name": "Армянских драмов",
                "scale": 1000,
                "cur_id": 510,
                "currency": "AMD",
                "byn_per_unit": 0.0075085,
                "official_rate": 7.5085
            },
            {
                "date": "2026-06-10",
                "name": "Австралийский доллар",
                "scale": 1,
                "cur_id": 440,
                "currency": "AUD",
                "byn_per_unit": 1.9514,
                "official_rate": 1.9514
            },
            {
                "date": "2026-06-10",
                "name": "Бразильских реалов",
                "scale": 10,
                "cur_id": 514,
                "currency": "BRL",
                "byn_per_unit": 0.53336,
                "official_rate": 5.3336
            },
            {
                "date": "2026-06-10",
                "name": "Канадский доллар",
                "scale": 1,
                "cur_id": 371,
                "currency": "CAD",
                "byn_per_unit": 1.9854,
                "official_rate": 1.9854
            },
            {
                "date": "2026-06-10",
                "name": "Швейцарский франк",
                "scale": 1,
                "cur_id": 426,
                "currency": "CHF",
                "byn_per_unit": 3.4745,
                "official_rate": 3.4745
            },
            {
                "date": "2026-06-10",
                "name": "Китайских юаней",
                "scale": 10,
                "cur_id": 462,
                "currency": "CNY",
                "byn_per_unit": 0.40827,
                "official_rate": 4.0827
            },
            {
                "date": "2026-06-10",
                "name": "Чешских крон",
                "scale": 100,
                "cur_id": 463,
                "currency": "CZK",
                "byn_per_unit": 0.132272,
                "official_rate": 13.2272
            },
            {
                "date": "2026-06-10",
                "name": "Датских крон",
                "scale": 10,
                "cur_id": 450,
                "currency": "DKK",
                "byn_per_unit": 0.42801,
                "official_rate": 4.2801
            },
            {
                "date": "2026-06-10",
                "name": "Евро",
                "scale": 1,
                "cur_id": 451,
                "currency": "EUR",
                "byn_per_unit": 3.1995,
                "official_rate": 3.1995
            },
            {
                "date": "2
…