> ## Documentation Index
> Fetch the complete documentation index at: https://docs.solanatracker.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Solana Token Holders API: Top Holders and Full List

> Fetch top Solana token holders or paginate through the full list. Calculate wallet concentration and connect holder snapshots to live updates.

Choose a holder endpoint based on the number of wallets you need: top 20, top 100, or the full paginated list. Use wallet balances and supply percentages to show how holdings are distributed.

## Top 100 holders

Use [top 100 holders](https://docs.solanatracker.io/data-api/tokens/get-token-holders-top-100.md) for a ranked holder table without pagination.

```bash cURL theme={null}
curl "https://data.solanatracker.io/tokens/6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN/holders" \
  -H "x-api-key: YOUR_API_KEY"
```

```javascript JavaScript theme={null}
const token = "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN";

const res = await fetch(`https://data.solanatracker.io/tokens/${token}/holders`, {
  headers: { "x-api-key": "YOUR_API_KEY" }
});
const { accounts: holders, total } = await res.json();

console.log(`Total holders: ${total}`);
holders.forEach((h, i) => {
  console.log(`#${i + 1} ${h.wallet} — ${h.percentage.toFixed(2)}% (${h.amount.toLocaleString()} tokens)`);
});
```

```python Python theme={null}
import requests

token = "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"
res = requests.get(
    f"https://data.solanatracker.io/tokens/{token}/holders",
    headers={"x-api-key": "YOUR_API_KEY"}
)
data = res.json()
print(f"Total holders: {data['total']}")
for i, h in enumerate(data["accounts"]):
    print(f"#{i+1} {h['wallet']} — {h['percentage']:.2f}%")
```

## Top 20 holders

Use [top 20 holders](https://docs.solanatracker.io/data-api/tokens/get-top-20-token-holders.md) when only the largest positions matter.

```bash theme={null}
curl "https://data.solanatracker.io/tokens/6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN/holders/top" \
  -H "x-api-key: YOUR_API_KEY"
```

**Quick concentration check:**

```javascript theme={null}
const res = await fetch(`https://data.solanatracker.io/tokens/${token}/holders/top`, {
  headers: { "x-api-key": "YOUR_API_KEY" }
});
const holders = await res.json();

const top10Pct = holders.slice(0, 10).reduce((sum, h) => sum + h.percentage, 0);
console.log(`Top 10 wallets hold ${top10Pct.toFixed(1)}% of supply`);

if (top10Pct > 50) {
  console.log("Top 10 concentration exceeds the 50% alert threshold");
} else if (top10Pct > 30) {
  console.log("Top 10 concentration exceeds the 30% alert threshold");
} else {
  console.log("Top 10 concentration is at or below 30%");
}
```

## All holders (paginated)

Use [paginated holders](https://docs.solanatracker.io/data-api/tokens/get-all-token-holders-paginated.md) for a full export or a supply-distribution snapshot. Each page can contain up to 5,000 holders.

Pass the response's `cursor` unchanged in the next request. Continue until there is no next page.

```bash cURL theme={null}
# First page
curl "https://data.solanatracker.io/tokens/6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN/holders/paginated?limit=1000" \
  -H "x-api-key: YOUR_API_KEY"

# Subsequent pages — pass the cursor from the previous response
curl "https://data.solanatracker.io/tokens/6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN/holders/paginated?limit=1000&cursor=CURSOR_FROM_PREV_RESPONSE" \
  -H "x-api-key: YOUR_API_KEY"
```

```javascript JavaScript theme={null}
async function getAllHolders(token) {
  const allHolders = [];
  let cursor = null;

  do {
    const url = new URL(`https://data.solanatracker.io/tokens/${token}/holders/paginated`);
    url.searchParams.set("limit", "1000");
    if (cursor) url.searchParams.set("cursor", cursor);

    const res = await fetch(url.toString(), {
      headers: { "x-api-key": "YOUR_API_KEY" }
    });
    const data = await res.json();

    allHolders.push(...data.accounts);
    cursor = data.hasMore ? data.cursor : null;

    console.log(`Fetched ${allHolders.length} / ${data.total} holders`);
  } while (cursor);

  return allHolders;
}

const token = "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN";
const holders = await getAllHolders(token);
console.log(`Total holders fetched: ${holders.length}`);
```

```python Python theme={null}
import requests

def get_all_holders(token, api_key):
    all_holders = []
    cursor = None
    base_url = f"https://data.solanatracker.io/tokens/{token}/holders/paginated"
    headers = {"x-api-key": api_key}

    while True:
        params = {"limit": 1000}
        if cursor:
            params["cursor"] = cursor

        res = requests.get(base_url, headers=headers, params=params)
        data = res.json()

        all_holders.extend(data["accounts"])
        print(f"Fetched {len(all_holders)} / {data['total']} holders")

        cursor = data.get("cursor") if data.get("hasMore") else None
        if not cursor:
            break

    return all_holders

holders = get_all_holders(
    "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
    "YOUR_API_KEY"
)
print(f"Done — {len(holders)} total holders")
```

## Holder concentration analysis

Sum the largest holders' percentages to measure concentration. Check wallet labels before treating pool accounts or other infrastructure accounts as individual traders.

![Holder table showing wallet labels beside top token holders](https://mintcdn.com/solanatracker/ZM5vWoSAJUJFeh6A/images/guides/holders-wallet-tags.png?fit=max\&auto=format\&n=ZM5vWoSAJUJFeh6A\&q=85\&s=1823b98bbf8e0e8af9d34de2f59a3ea3)

```javascript theme={null}
async function analyzeConcentration(token) {
  const res = await fetch(
    `https://data.solanatracker.io/tokens/${token}/holders/top`,
    { headers: { "x-api-key": "YOUR_API_KEY" } }
  );
  const holders = await res.json();

  const top5   = holders.slice(0, 5).reduce((s, h) => s + h.percentage, 0);
  const top10  = holders.slice(0, 10).reduce((s, h) => s + h.percentage, 0);
  const top20  = holders.reduce((s, h) => s + h.percentage, 0);

  console.log(`Top 5 wallets:  ${top5.toFixed(1)}%`);
  console.log(`Top 10 wallets: ${top10.toFixed(1)}%`);
  console.log(`Top 20 wallets: ${top20.toFixed(1)}%`);
  console.log(`Largest single holder: ${(holders[0]?.percentage ?? 0).toFixed(2)}%`);

  // Example display thresholds; choose thresholds for your application
  if ((holders[0]?.percentage ?? 0) > 20) console.log("Largest account holds more than 20%");
  if (top10 > 50)                  console.log("Top 10 accounts hold more than 50%");
}
```

> [!TIP]
>
> Cross-reference holder data with the [risk score](https://docs.solanatracker.io/data-api/risk.md) returned by the token info endpoint — it already factors in top-10 concentration and single-wallet ownership thresholds. See the [Token Safety & Rugcheck](https://docs.solanatracker.io/guides/token-safety.md) guide for details.

## Use cases

| What you're building | Endpoint to use |
| - | - |
| Quick concentration check before buying | Top 20 holders |
| Holder count badge on a token page | Top 100 (check `total` field) |
| Full holder export / CSV | Paginated (cursor loop) |
| Whale alert — detect large positions | Top 100 or Top 20, filter by `percentage` |
| Historical holder distribution | Paginated snapshots over time |

## Live holder updates

For live count and concentration changes, follow the [holder updates guide](https://docs.solanatracker.io/guides/live-holder-updates.md). Use paginated REST snapshots when you need the full wallet list.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.