/v1/history
Daily time series of a currency official rate over a date range
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/nbrb-api/v1/history" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nbrb-api/v1/history", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nbrb-api/v1/history");
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/history",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"to": "2026-05-31",
"base": "BYN",
"from": "2026-05-01",
"name": "Доллар США",
"count": 31,
"scale": 1,
"source": "National Bank of Belarus",
"currency": "USD",
"observations": [
{
"date": "2026-05-31",
"byn_per_unit": 2.7596,
"official_rate": 2.7596
},
{
"date": "2026-05-30",
"byn_per_unit": 2.7596,
"official_rate": 2.7596
},
{
"date": "2026-05-29",
"byn_per_unit": 2.7596,
"official_rate": 2.7596
},
{
"date": "2026-05-28",
"byn_per_unit": 2.7638,
"official_rate": 2.7638
},
{
"date": "2026-05-27",
"byn_per_unit": 2.7703,
"official_rate": 2.7703
},
{
"date": "2026-05-26",
"byn_per_unit": 2.7549,
"official_rate": 2.7549
},
{
"date": "2026-05-25",
"byn_per_unit": 2.7506,
"official_rate": 2.7506
},
{
"date": "2026-05-24",
"byn_per_unit": 2.7315,
"official_rate": 2.7315
},
{
"date": "2026-05-23",
"byn_per_unit": 2.7315,
"official_rate": 2.7315
},
{
"date": "2026-05-22",
"byn_per_unit": 2.7315,
"official_rate": 2.7315
},
{
"date": "2026-05-21",
"byn_per_unit": 2.7304,
"official_rate": 2.7304
},
{
"date": "2026-05-20",
"byn_per_unit": 2.7293,
"official_rate": 2.7293
},
{
"date": "2026-05-19",
"byn_per_unit": 2.7473,
"official_rate": 2.7473
},
{
"date": "2026-05-18",
"byn_per_unit": 2.7535,
"official_rate": 2.7535
},
{
"date": "2026-05-17",
"byn_per_unit": 2.7697,
"official_rate": 2.7697
},
{
"date": "2026-05-16",
"byn_per_unit": 2.7697,
"official_rate": 2.7697
},
{
"date": "2026-05-15",
"byn_per_unit": 2.7697,
"official_rate": 2.7697
},
{
"date": "2026-05-14",
"byn_per_unit": 2.7772,
"official_rate": 2.7772
},
{
"date": "2026-05-13",
"byn_per_unit": 2.7
…