Naar de inhoud
GET /v1/account

Account state + staking

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/hedera-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "memo": null,
        "source": "Hedera (Mirror Node)",
        "account": "0.0.2",
        "deleted": false,
        "token_count": 0,
        "hbar_balance": 16630126.37744658,
        "ethereum_nonce": 0,
        "staked_node_id": null,
        "declines_reward": false,
        "auto_renew_period": 7000000,
        "created_timestamp": "1605733260.898372007",
        "staked_account_id": null,
        "pending_reward_hbar": 0,
        "max_auto_token_associations": 0
    },
    "meta": {
        "timestamp": "2026-06-09T20:24:30.498Z",
        "request_id": "f7ce0b98-a611-48ec-b935-44c170196080"
    },
    "status": "ok",
    "message": "Account retrieved successfully",
    "success": true
}