/v1/history
A currency official rate on a specific past date
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/nbk-api/v1/history" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nbk-api/v1/history", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nbk-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/nbk-api/v1/history",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"base": "KZT",
"date": "2026-05-15",
"name": "ДОЛЛАР США",
"change": 6.41,
"source": "National Bank of Kazakhstan",
"nominal": 1,
"currency": "USD",
"direction": "up",
"kzt_per_unit": 474.04,
"unit_per_kzt": 0.00210953
},
"meta": {
"timestamp": "2026-06-10T14:00:05.835Z",
"request_id": "c7ba09b8-4557-430c-8a7d-96a63c53fd22"
},
"status": "ok",
"message": "History retrieved successfully",
"success": true
}