Naar de inhoud
GET /v1/holders

A token's holders and balances

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "note": "The holders of one Tezos token and their decimal-adjusted balances, largest first — the distribution view the per-address reader can't give you. Pass token_id (the TzKT numeric id from /v1/tokens), or omit to use the most-held token.",
        "count": 25,
        "source": "TzKT",
        "holders": [
            {
                "account": "tz1gmaNHLuVwKTSdpmctSCJiSbrPqoqeXe6f",
                "balance": 2173,
                "balance_raw": "2173"
            },
            {
                "account": "tz2XBntayJQK5sDaSWsYgtGC2YUmZev1R73F",
                "balance": 558,
                "balance_raw": "558"
            },
            {
                "account": "tz1doeUTjrqhorDgNeft8rvTKV2hrb8FbAg7",
                "balance": 340,
                "balance_raw": "340"
            },
            {
                "account": "tz1dxePVAGzSY7tvDX7U2sEfCu8Dk2YRGhpN",
                "balance": 122,
                "balance_raw": "122"
            },
            {
                "account": "tz2FaWoJsNeLDVbrq5T6Y63nPY4y65iKhmhS",
                "balance": 78,
                "balance_raw": "78"
            },
            {
                "account": "tz1PzUW1iCEBEFaUZC9wWyoQ5HAsg7TvSgyd",
                "balance": 53,
                "balance_raw": "53"
            },
            {
                "account": "tz1hVhFAK2jUQm7miNXZZUgZxLxmobKajnVK",
                "balance": 48,
                "balance_raw": "48"
            },
            {
                "account": "tz1d3SsL3LEVaQasysW3WTv5VSUwiH4kTvEb",
                "balance": 27,
                "balance_raw": "27"
            },
            {
                "account": "tz1gNGRk1CYsdTRruPgBEvNkj8wPTDVG1KrP",
                "balance": 24,
                "balance_raw": "24"
            },
            {
                "account": "tz1RJVEx4HpmG5ez3Gto4ob9C4rXpREPXEZi",
                "balance": 21,
                "balance_raw": "21"
            },
            {
                "account": "tz1dnDxXsmyA2oHUez1Z55Rgru41ZzCyjh1S",
                "balance": 19,
                "balance_raw": "19"
            },
            {
                "account": "tz1byUxVutxjGtczXJZFwwTQVijqshxVVsSH",
                "balance": 17,
                "balance_raw": "17"
            },
            {
                "account": "tz1RwpwrabAnrLERjfcrCK4H3wF8mbES9zdv",
                "balance": 17,
                "balance_raw": "17"
            },
            {
                "account": "tz1PRMYq6PS7v5MqsQ4foWyf87iNBRVhCJpD",
                "balance": 13,
                "balance_raw": "13"
            },
            {
                "account": "tz1UpVuAwYSWrpioQzpYbpdCSYYK9Jg8vy79",
                "balance": 13,
                "balance_raw": "13"
            },
            {
                "account": "tz1QPQFwE98bF5KcYW9RFpDcq8g5i82XYtMU",
                "balance": 13,
                "balance_raw": "13"
            },
            {
                "account": "tz1
…