Vai al contenuto
GET /v1/holders

Holders of a token and their balances

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "The holders of one HTS token and their decimal-adjusted balances, largest first — the distribution view the per-account reader can't give you. Pass token_id for a specific token, or omit to use the first token on the network.",
        "count": 1,
        "source": "Hedera Mirror Node",
        "holders": [
            {
                "account": "0.0.107593",
                "balance": 0,
                "decimals": 3,
                "balance_raw": "0"
            }
        ],
        "token_id": "0.0.107594",
        "timestamp": "1695438729.989508003"
    },
    "meta": {
        "timestamp": "2026-06-14T17:04:02.187Z",
        "request_id": "2895d4ee-c1e9-43e6-a29c-7ecdf9a0ad81"
    },
    "status": "ok",
    "message": "Holders retrieved successfully",
    "success": true
}