# Solana Token Holders & Rug Check - Top Holders, Dev Wallet (`offgrid-labs/token-holder-concentration`) Actor

Solana token holders, top-holder concentration and rug pull check, Token-2022 aware: holder count, top-10 concentration, dev wallet holdings and sells, fresh wallets, mint/freeze authority, LP burn status. Built in Rust. $0.01 per token report.

- **URL**: https://apify.com/offgrid-labs/token-holder-concentration.md
- **Developed by:** [OFFGRID LABS](https://apify.com/offgrid-labs) (community)
- **Categories:** Developer tools, Automation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 token reports

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What does Solana Token Holders & Rug Check do?

**Solana Token Holders & Rug Check** analyses the holders of any Solana token, Token-2022 included. It reports the holder count, top-N concentration, how much the creator/dev wallet holds and whether it sold, the share of fresh wallets among the top holders, mint/freeze authority, Token-2022 extensions and PumpSwap LP burn status. Pricing is pay per result: **$0.01 per token report** and **$2.00 per 1,000 holder rows**, no subscription, bring your own Solana RPC for large tokens.

Built in Rust for speed, for quant and HFT research, signal generation and screening datasets. It is a batch data job, not a trading tool.

### What data you get

| Record | Key fields |
|---|---|
| `token_report` (one per token) | holder count, wallet holders, token accounts, **top 1/5/10/20/50/100 wallet share %**, HHI, % held by pools/curves, % burned, labelled protocol holders, creator wallet + holding %, creator sells/transfers/buys with recent moves, fresh-wallet count/share/supply %, mint & freeze authority, Token-2022 extensions (permanent delegate, transfer fee, transfer hook...), bonding-curve progress, **LP status + LP burned %**, price/liquidity/market cap, rule-based risk flags |
| `holder` (top N) | rank, owner, balance, % of supply, token accounts, label (wallet, pumpfun_bonding_curve, pumpswap_pool, raydium\_*, meteora\_*, orca_whirlpool, pda, burn), creator flag, fresh-wallet flag, wallet tx count, first seen |

Concentration is measured on **wallets only**. Pools, bonding curves and other program-derived accounts are listed separately, so a PumpSwap pool holding 40% does not show up as a whale.

### Use cases

- **Screening**: run a list of mints and filter on top-10 %, creator %, fresh-wallet share and authorities.
- **Research datasets**: snapshot holder distribution on a schedule to study concentration over a token's life.
- **Dev-wallet monitoring**: see whether the creator still holds and whether recent moves were sells or transfers out.
- **Token-2022 due diligence**: surface extensions such as permanent delegate, transfer fee or transfer hook.

### How to use it

1. Keep the prefilled input (one pump.fun token, top 10 holders). Click **Start**.
2. Add mints to **Token mint addresses** (up to 50 per run). Set **Top holders to list**.
3. For tokens with more than a few tens of thousands of holders, use your own Solana RPC URL (encrypted secret, never logged). The public endpoint refuses very large holder queries.
4. Turn holder rows off for report-only screening at $0.01 per token.

### Input example

```json
{
  "tokenMints": ["HsprHxBRgiVaQdRf3TnKNuZZtaX9JUSPgMFdAkk6pump"],
  "topHolders": 20,
  "includeHolderRows": true,
  "freshWalletCheckTop": 10,
  "freshWalletMaxAgeHours": 72,
  "creatorTxLimit": 20
}
```

### Output example

```json
{
  "recordType": "token_report",
  "symbol": "GATO",
  "isToken2022": true,
  "holderCount": 10210,
  "walletHolderCount": 10107,
  "top1Pct": 3.3245,
  "top10Pct": 13.2494,
  "protocolHeldPct": 1.6887,
  "creator": "5MVneCfDge5vtf4C7QZmczCJbBB8vfvDbMqvopvkBLJm",
  "creatorHoldingPct": 3.3245,
  "creatorSells": 0,
  "freshWalletSharePct": 0.0,
  "mintAuthority": null,
  "freezeAuthority": null,
  "lpStatus": "pumpswap_lp_burned",
  "lpBurnedPct": 100.0,
  "riskFlags": []
}
```

```json
{
  "recordType": "holder",
  "rank": 1,
  "owner": "5xa62vSVVRtEUvYdUBHZWQGMYvcm47YYRewH3kTob3ko",
  "pctOfSupply": 99.7217,
  "label": "pumpswap_pool",
  "isCreator": false
}
```

### How much does it cost?

| Event | Price | Per 1,000 |
|---|---|---|
| `token-report` | $0.01 | $10.00 |
| `holder` | $0.002 | $2.00 |

Worked example: screening 100 tokens with the top 20 holders each = 100 × $0.01 + 2,000 × $0.002 = **$5.00**. Report-only screening of 1,000 tokens = **$10.00**. Apify compute is small: about $0.0002 per report in our measured runs. The run's max total charge is respected.

### How fast is it? (measured)

- GATO (10,209 holders, 10,288 Token-2022 accounts): full report + 10 holder rows in **13.3 s** on the public RPC, i.e. **~770 holder accounts/s** end to end. Holder aggregation is done in Rust in memory; the RPC response time dominates.
- Very large tokens (hundreds of thousands of holders) need your own RPC. On the public endpoint they fail cleanly and are not charged.

### How it works

- **Token-2022 aware**: holders come from `getProgramAccounts` on the mint's own token program (Token-2022 `TokenzQd...` or SPL Token), filtered by `memcmp(offset 0 = mint)`. Only owner + amount are downloaded (`dataSlice`), then aggregated per owner.
- **Labels**: owners that are program-derived addresses (off the ed25519 curve) or accounts owned by a DEX/launchpad program are labelled and excluded from wallet concentration. The incinerator address counts as burned.
- **Creator**: read from the pump.fun bonding curve, or set **creatorWallet**. Recent transactions of the creator's token account are classified as sell, buy, transfer out or transfer in from the creator's token and SOL balance changes.
- **Fresh wallets**: for the N largest wallets, the signature history is read. A wallet is fresh when its whole history (< 1,000 transactions) started within the threshold.
- **LP status**: pump.fun tokens still on the curve show `bonding_curve`. Graduated tokens: the PumpSwap pool's `lp_supply` is compared with the LP mint's current supply, so burned % = 1 − supply ÷ lp_supply. Other DEXes show `unverified` plus liquidity from DexScreener.
- Read-only. The actor never signs, trades or touches private keys.

### How it compares

| Approach | Token-2022 holders | Creator / fresh wallets / LP burn | Effort | Terms |
|---|---|---|---|---|
| This actor | full holder set via getProgramAccounts on the right program | yes, in one report | one click or one API call | public blockchain data + public APIs |
| `getTokenLargestAccounts` RPC call | top 20 token accounts only, no owners merged | no | low, but incomplete | your RPC provider's terms |
| DIY full scan | yes | build yourself | medium–high | your RPC provider's terms |
| Scraping token-checker websites | what the page shows | what the page shows | brittle | check the site's terms first |

### FAQ

#### How do I check the holders of a Solana token?

Add the mint and click Start. You get the holder count, top-N concentration and a ranked list of the largest holders with labels.

#### How do I check if a pump.fun token is a rug?

No tool can tell you that. This actor reports measurable indicators instead: authorities, creator holdings and sells, wallet concentration, fresh-wallet share and LP burn status. `riskFlags` lists the rules that matched. These are informational flags, not a verdict.

#### Does it work with Token-2022 tokens?

Yes. New pump.fun tokens are Token-2022, and the actor queries the correct program automatically. It also lists Token-2022 extensions.

#### Is the pump.fun LP burned after graduation?

For PumpSwap pools the actor checks on-chain: `lpBurnedPct` compares the pool's recorded LP supply with the LP mint's current supply.

#### What is a fresh wallet?

A wallet whose entire on-chain history started within `freshWalletMaxAgeHours` (default 72 h). Many fresh wallets among top holders can point to coordinated buying.

#### Why does a large token fail on the public RPC?

The public Solana endpoint refuses very large account scans. Use your own RPC URL. Nothing is charged for a token that could not be analysed.

#### How is concentration calculated?

`topNPct` = share of total supply held by the N largest wallets, excluding pools, curves, PDAs and burn. `hhi` is the Herfindahl index over wallet-held amounts (0–10,000).

#### Is it legal?

The data comes from the public Solana blockchain via JSON-RPC, plus public price/pair APIs within their documented limits. No scraping, no logins.

### Integrations

Use the Apify API (`run-sync-get-dataset-items`), the Python and JavaScript API clients (`apify-client`), schedules, webhooks, and the Apify integrations for **n8n, Make, Zapier**, Google Sheets and Slack. AI agents can call it through the **Apify MCP server** (`actors: offgrid-labs/token-holder-concentration`). Every field has a schema description with units.

### Changelog

- 2026-11-03 · 0.1 · First release: Token-2022-aware holder concentration, labelled protocol holders, creator holdings and moves, fresh wallets, authorities and extensions, PumpSwap LP burn check.

### Related actors

| Actor | What it does |
|---|---|
| Pump.fun New Tokens & Graduations Feed | New pump.fun launches with dev buy and bundle data, plus graduations to PumpSwap |
| Solana DEX Trades & Order Flow | Swap tape, net flow, whales, first buyers and snipers for any token |

*Not financial advice. Data is provided as-is for research. Nothing here is a recommendation to buy or sell any token.*

***

```
// OFFGRID LABS ─────────────────────────────────────────────
// status: monitored 24/7 by a self-hosted agent swarm
// health checks: every 6h · auto-repair + rollback on failure
// sources: official public APIs and open data only
// support: open an issue — human-reviewed response within 24h
// ───────────────────────────────────────────────────────────
```

# Actor input Schema

## `tokenMints` (type: `array`):

One Solana token mint per line (Token-2022 or SPL Token). Each token gets one report. Max 50. Example: HsprHxBRgiVaQdRf3TnKNuZZtaX9JUSPgMFdAkk6pump.

## `topHolders` (type: `integer`):

Number of largest holders saved as holder rows. Example: 20.

## `includeHolderRows` (type: `boolean`):

One row per top holder (charged per row). Off = only the token report.

## `freshWalletCheckTop` (type: `integer`):

Check the on-chain history of the N largest wallet holders. 0 = off. Each check costs 1 RPC request. Example: 10.

## `freshWalletMaxAgeHours` (type: `number`):

A wallet whose whole history started within this many hours counts as fresh. Example: 72 = 3 days.

## `creatorTxLimit` (type: `integer`):

Recent transactions of the creator's token account to classify as sells, buys and transfers. 0 = off. Example: 20.

## `creatorWallet` (type: `string`):

Override the creator wallet. pump.fun tokens use the creator stored in the bonding curve automatically. Example: 5MVneCfDge5vtf4C7QZmczCJbBB8vfvDbMqvopvkBLJm.

## `rpcUrl` (type: `string`):

Your own Solana JSON-RPC endpoint (Helius, Triton, QuickNode, your node...). Stored encrypted and never logged. Empty = the public mainnet endpoint, which is rate-limited (about 3 requests/s), so large runs are slow.

## `maxRequestsPerSecond` (type: `integer`):

Throttle for your RPC plan. 0 = automatic (3/s on the public endpoint, 10/s on a custom URL). The public endpoint is always capped at 3.5/s.

## Actor input object example

```json
{
  "tokenMints": [
    "HsprHxBRgiVaQdRf3TnKNuZZtaX9JUSPgMFdAkk6pump"
  ],
  "topHolders": 10,
  "includeHolderRows": true,
  "freshWalletCheckTop": 5,
  "freshWalletMaxAgeHours": 72,
  "creatorTxLimit": 10,
  "maxRequestsPerSecond": 0
}
```

# Actor output Schema

## `results` (type: `string`):

All token reports and holders, every field (default dataset).

## `overview` (type: `string`):

Overview view: key fields only, one token-report row per mint (concentration, dev wallet, authorities, LP status) plus optional per-holder rows.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "tokenMints": [
        "HsprHxBRgiVaQdRf3TnKNuZZtaX9JUSPgMFdAkk6pump"
    ],
    "topHolders": 10,
    "freshWalletCheckTop": 5,
    "creatorTxLimit": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("offgrid-labs/token-holder-concentration").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "tokenMints": ["HsprHxBRgiVaQdRf3TnKNuZZtaX9JUSPgMFdAkk6pump"],
    "topHolders": 10,
    "freshWalletCheckTop": 5,
    "creatorTxLimit": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("offgrid-labs/token-holder-concentration").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "tokenMints": [
    "HsprHxBRgiVaQdRf3TnKNuZZtaX9JUSPgMFdAkk6pump"
  ],
  "topHolders": 10,
  "freshWalletCheckTop": 5,
  "creatorTxLimit": 10
}' |
apify call offgrid-labs/token-holder-concentration --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,offgrid-labs/token-holder-concentration"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/hU8BXT91VBPFHBOBk/builds/O5il4kmYwc3clNwXF/openapi.json
