/v1/rate
Single-currency BAM rate
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/bosnia-fx-api/v1/rate" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bosnia-fx-api/v1/rate", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bosnia-fx-api/v1/rate");
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/bosnia-fx-api/v1/rate",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"buy": 1.95583,
"iso": "EUR",
"base": "BAM",
"date": "2026-06-13",
"sell": 1.95583,
"units": 1,
"middle": 1.95583,
"country": "EMU",
"per_unit_bam": 1.95583
},
"meta": {
"timestamp": "2026-06-15T11:15:32.087Z",
"request_id": "af15f991-2e13-42fb-ab90-c24854f05cc2"
},
"status": "ok",
"message": "Rate retrieved successfully",
"success": true
}