/v1/convert
Convert between KZT and a currency
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/nbkz-api/v1/convert" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nbkz-api/v1/convert", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nbkz-api/v1/convert");
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/convert",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"to": "KZT",
"bank": "National Bank of Kazakhstan",
"date": "01.06.2026",
"from": "USD",
"note": "Official NBK rate; one tenge side. rate is units of `to` per 1 unit of `from`.",
"rate": 485.95,
"amount": 100,
"result": 48595,
"source": "NBK"
},
"meta": {
"timestamp": "2026-06-11T16:46:54.656Z",
"request_id": "42a803cb-bd5a-4a89-adfe-fd72902c6d2b"
},
"status": "ok",
"message": "Conversion successful",
"success": true
}