/v1/exchangerate
The network HBAR/USD rate (current + next)
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/hederanetwork-api/v1/exchangerate" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hederanetwork-api/v1/exchangerate", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hederanetwork-api/v1/exchangerate");
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/hederanetwork-api/v1/exchangerate",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"next": {
"usd_per_hbar": 0.07739433333333333,
"cent_equivalent": 232183,
"expiration_time": 1781463600,
"hbar_equivalent": 30000
},
"note": "The live HBAR↔USD exchange rate the Hedera network itself pins for fee calculation — the current and next period each as a cent/HBAR pair, plus a derived USD-per-HBAR price. This is the protocol's own oracle rate, not a market ticker.",
"source": "Hedera Mirror Node",
"current": {
"usd_per_hbar": 0.077422,
"cent_equivalent": 232266,
"expiration_time": 1781460000,
"hbar_equivalent": 30000
},
"timestamp": "1781456458.975673387"
},
"meta": {
"timestamp": "2026-06-14T17:04:01.538Z",
"request_id": "3fdecb8f-5aef-49cb-9d8d-411c19884e39"
},
"status": "ok",
"message": "Exchange rate retrieved successfully",
"success": true
}