# Get top holders (Premium)

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

GET https://api.g.alchemy.com/trading/v1/{apiKey}/premium/tokens/{network}/{tokenAddress}/holders

**Private preview:** Paths, parameters, response fields, and tier names are provisional.

**Compute units:** 350 (proposed; pending validation).

Read the largest token holdings.

Use pageKey until it is null.

Reference: https://www.alchemy.com/docs/data/trading-api/endpoints/tokens/get-top-holders-premium

## Path Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| apiKey | string | Yes |  |
| network | enum | Yes | Supported networks for this operation during private preview. |
| tokenAddress | string | Yes |  |

## Query Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| pageKey | string | No | Omit for the first page. Reuse the returned key unchanged; stop when the response key is null. |
| pageSize | integer | No | Maximum rows per page; provisional limit. |

## Code Examples

### cURL

```bash
curl --request GET \
  --url https://api.g.alchemy.com/trading/v1/docs-demo/premium/tokens/eth-mainnet/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/holders
```

### JavaScript

```javascript
const options = {method: 'GET'};

fetch('https://api.g.alchemy.com/trading/v1/docs-demo/premium/tokens/eth-mainnet/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/holders', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.g.alchemy.com/trading/v1/docs-demo/premium/tokens/eth-mainnet/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/holders"

response = requests.get(url)

print(response.text)
```

### Go

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.g.alchemy.com/trading/v1/docs-demo/premium/tokens/eth-mainnet/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/holders"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(string(body))

}
```

### Java

```java
HttpResponse<String> response = Unirest.get("https://api.g.alchemy.com/trading/v1/docs-demo/premium/tokens/eth-mainnet/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/holders")
  .asString();
```

### C#

```csharp
using RestSharp;


var options = new RestClientOptions("https://api.g.alchemy.com/trading/v1/docs-demo/premium/tokens/eth-mainnet/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/holders");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);

Console.WriteLine("{0}", response.Content);

```


## Operation Specification

```yaml
path: /{apiKey}/premium/tokens/{network}/{tokenAddress}/holders
method: GET
operation:
  summary: Get top holders (Premium)
  operationId: get-top-holders-premium
  tags:
    - Tokens
  x-shape-pending: true
  description: |-
    **Private preview:** Paths, parameters, response fields, and tier names are provisional.

    **Compute units:** 350 (proposed; pending validation).

    Read the largest token holdings.

    Use pageKey until it is null.
  parameters:
    - name: apiKey
      in: path
      required: true
      schema:
        type: string
        default: docs-demo
        description: For higher throughput, [create your own API key](https://dashboard.alchemy.com/signup)
    - name: network
      in: path
      required: true
      description: Supported networks for this operation during private preview.
      schema:
        x-shape-pending: true
        type: string
        enum:
          - eth-mainnet
          - base-mainnet
          - arb-mainnet
          - bnb-mainnet
          - avax-mainnet
          - hyperliquid-mainnet
    - name: tokenAddress
      in: path
      required: true
      schema:
        type: string
        description: Token address.
        x-shape-pending: true
      example: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2'
    - name: pageKey
      in: query
      description: Omit for the first page. Reuse the returned key unchanged; stop when the response key is null.
      schema:
        type: string
        x-shape-pending: true
    - name: pageSize
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 25
        x-shape-pending: true
      description: Maximum rows per page; provisional limit.
  responses:
    '200':
      description: Successful response.
      content:
        application/json:
          schema:
            type: object
            properties:
              data:
                type: array
                items:
                  type: object
                  properties:
                    network:
                      description: Alchemy network slug.
                      x-shape-pending: true
                      type: string
                      enum:
                        - eth-mainnet
                        - base-mainnet
                        - arb-mainnet
                        - bnb-mainnet
                        - solana-mainnet
                        - opt-mainnet
                        - matic-mainnet
                        - avax-mainnet
                        - linea-mainnet
                        - hyperliquid-mainnet
                        - robinhood-mainnet
                        - arc-mainnet
                        - tempo-mainnet
                    address:
                      type: string
                      description: Holder address.
                      x-shape-pending: true
                    amount:
                      type:
                        - string
                        - 'null'
                      pattern: ^-?[0-9]+(\.[0-9]+)?$
                      description: Tokens held. Decimal string; null means unknown.
                      x-shape-pending: true
                    valueUsd:
                      type:
                        - string
                        - 'null'
                      pattern: ^-?[0-9]+(\.[0-9]+)?$
                      description: Value of the holding in USD. Decimal string; null means unknown.
                      x-shape-pending: true
                  required:
                    - network
                    - address
                    - amount
                    - valueUsd
                x-shape-pending: true
              pageKey:
                type:
                  - string
                  - 'null'
                description: Opaque continuation key. Pass it unchanged to the next request; null marks the last page.
                x-shape-pending: true
            required:
              - data
              - pageKey
          example:
            data:
              - network: eth-mainnet
                address: '0x4d5f47fa6a74757f35c14fd3a6ef8e3c9bc514e8'
                amount: '299809.453314693'
                valueUsd: '672385118.6441882'
              - network: eth-mainnet
                address: '0xf04a5cc80b1e94c69b48f5ee68a08cd2f09a7c3e'
                amount: '293296.0349973506'
                valueUsd: '657777421.9899784'
            pageKey: null
    '400':
      description: Invalid request parameters.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                properties:
                  message:
                    type: string
                    description: Detailed error message.
                    x-shape-pending: true
                required:
                  - message
                x-shape-pending: true
            required:
              - error
          example:
            error:
              message: Invalid request parameters.
    '401':
      description: Invalid API key.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                properties:
                  message:
                    type: string
                    description: Detailed error message.
                    x-shape-pending: true
                required:
                  - message
                x-shape-pending: true
            required:
              - error
          example:
            error:
              message: Invalid API key.
    '429':
      description: Request limit reached. Retry with backoff.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                properties:
                  message:
                    type: string
                    description: Detailed error message.
                    x-shape-pending: true
                required:
                  - message
                x-shape-pending: true
            required:
              - error
          example:
            error:
              message: Request limit reached. Retry with backoff.
    '503':
      description: Data temporarily unavailable. Retry with backoff.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                properties:
                  message:
                    type: string
                    description: Detailed error message.
                    x-shape-pending: true
                required:
                  - message
                x-shape-pending: true
            required:
              - error
          example:
            error:
              message: Data temporarily unavailable. Retry with backoff.
```
