Zum Inhalt springen
GET /v1/rates

All daily KGS reference rates

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/nbkr-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "base": "KGS",
        "date": "11.06.2026",
        "count": 5,
        "rates": [
            {
                "code": "CNY",
                "value": 12.9016,
                "nominal": 1,
                "per_unit": 12.9016
            },
            {
                "code": "EUR",
                "value": 101.0387,
                "nominal": 1,
                "per_unit": 101.0387
            },
            {
                "code": "KZT",
                "value": 0.1789,
                "nominal": 1,
                "per_unit": 0.1789
            },
            {
                "code": "RUB",
                "value": 1.218,
                "nominal": 1,
                "per_unit": 1.218
            },
            {
                "code": "USD",
                "value": 87.4491,
                "nominal": 1,
                "per_unit": 87.4491
            }
        ],
        "source": "NBKR"
    },
    "meta": {
        "timestamp": "2026-06-11T07:48:52.566Z",
        "request_id": "8c76544e-6b06-4d95-bcfe-f2538b5422dd"
    },
    "status": "ok",
    "message": "Rates retrieved successfully",
    "success": true
}