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

# Token Holders API

> Returns the top holders of a token contract with their balances and known entity labels.

`POST /v1/data/crypto/token-holders/run`

**Pricing:** $0.0025 per token holder ($2.50 per 1,000).

## Request

Send the inputs under `params`. Only the keys below are accepted; any other key returns `422 invalid_params`.

**tokenAddress** `string` *required*

The contract address of the token to look up holders for.

**chain** `string` *required*

The blockchain network the token contract is deployed on.

Allowed values: `ethereum` (Ethereum), `polygon` (Polygon), `bsc` (BSC), `solana` (Solana), `avalanche` (Avalanche), `arbitrum` (Arbitrum), `optimism` (Optimism), `base` (Base).

**maxResults** `integer` (default: 20)

How many token holders to return in total. Defaults to 20; use 0 for all.

Max `100`.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/crypto/token-holders/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
    "chain": "ethereum",
    "maxResults": 5
  }
}'
```

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

r = requests.post(
    "https://api.mindcase.co/v1/data/crypto/token-holders/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
    "chain": "ethereum",
    "maxResults": 5
}},
)
job = r.json()
rows = job.get("data", [])  # if job["status"] == "running", poll /v1/jobs/{job_id}/results
```

```javascript Node.js theme={null}
const r = await fetch("https://api.mindcase.co/v1/data/crypto/token-holders/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
  "chain": "ethereum",
  "maxResults": 5
} }),
});
const job = await r.json();
const rows = job.data ?? []; // if job.status === "running", poll /v1/jobs/{job_id}/results
```

## Response fields

Each row in `data` is one token holder, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `token` | Token | text |
| `chain` | Chain | text |
| `holderAddress` | Holder Address | text |
| `balance` | Balance | number |
| `entityName` | Entity Name | text |
| `entityType` | Entity Type | text |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "crypto/token-holders",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "entityName": "Sky (MakerDAO)",
      "chain": "ethereum",
      "token": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
      "holderAddress": "0x37305b1cd40574e4c5ce33f8e8306be057fd7341",
      "balance": "3346855994.097886",
      "entityType": "cdp"
    }
  ]
}
```

## Related APIs

To label the holder addresses use [`crypto/wallets`](https://docs.mindcase.co/apis/crypto/wallets); for a wallet's transfers use [`crypto/wallet-transfers`](https://docs.mindcase.co/apis/crypto/wallet-transfers).


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