Naar de inhoud
GET /v1/currency

One currency official rate

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "bank": "National Bank of Kazakhstan",
        "base": "KZT",
        "code": "USD",
        "date": "01.06.2026",
        "name": "US Dollar",
        "rate": 485.95,
        "trend": "flat",
        "change": 0,
        "source": "NBK",
        "nominal": 1,
        "name_local": "ДОЛЛАР США"
    },
    "meta": {
        "timestamp": "2026-06-11T16:46:54.551Z",
        "request_id": "b0caa06e-376a-4ab3-b10f-f934840e0101"
    },
    "status": "ok",
    "message": "Currency retrieved successfully",
    "success": true
}