Skip to content
GET /v1/exchangerate

The network HBAR/USD rate (current + next)

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/hederanetwork-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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_..."}
)

Example response

A real response from this endpoint, captured by the latest 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
}