Vai al contenuto
GET /v1/account

Account state + staking

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/hedera-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}