Skip to main content
GET
/
tokens
/
{tokenAddress}
/
holders
/
top
SDK
import { Client } from '@solana-tracker/data-api';

const client = new Client({ apiKey: 'YOUR_API_KEY' });

const data = await client.getTopHolders('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN');
curl --request GET \
--url https://data.solanatracker.io/tokens/{tokenAddress}/holders/top \
--header 'x-api-key: <api-key>'
import requests

url = "https://data.solanatracker.io/tokens/{tokenAddress}/holders/top"

headers = {"x-api-key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};

fetch('https://data.solanatracker.io/tokens/{tokenAddress}/holders/top', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://data.solanatracker.io/tokens/{tokenAddress}/holders/top",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

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

func main() {

url := "https://data.solanatracker.io/tokens/{tokenAddress}/holders/top"

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

req.Header.Add("x-api-key", "<api-key>")

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

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

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://data.solanatracker.io/tokens/{tokenAddress}/holders/top")
.header("x-api-key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://data.solanatracker.io/tokens/{tokenAddress}/holders/top")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'

response = http.request(request)
puts response.read_body
[
  {
    "address": "2RH6rUTPBJ9rUDPpuV9b8z1YL56k1tYU6Uk5ZoaEFFSK",
    "amount": 800000026.907734,
    "percentage": 80.00005992080315,
    "value": {
      "quote": 4746506158.216048,
      "usd": 4746506158.216048
    }
  },
  {
    "address": "8Tp9fFkZ2KcRBLYDTUNXo98Ez6ojGb6MZEPXfGDdeBzG",
    "amount": 19180672.272106,
    "percentage": 1.9180685993486095,
    "value": {
      "quote": 113801469.99516904,
      "usd": 113801469.99516904
    }
  },
  {
    "address": "8N2ssXZGJbvVLszanERuCJpLZd2nuADgpZwLkDDxwNnS",
    "amount": 18498416.227844,
    "percentage": 1.8498429461154942,
    "value": {
      "quote": 109753554.4868572,
      "usd": 109753554.4868572
    }
  },
  {
    "address": "CBEADkb8TZAXHjVE3zwad4L995GZE7rJcacJ7asebkVG",
    "amount": 10621464.851442,
    "percentage": 1.0621472449776113,
    "value": {
      "quote": 63018558.28869768,
      "usd": 63018558.28869768
    }
  },
  {
    "address": "8Mm46CsqxiyAputDUp2cXHg41HE3BfynTeMBDwzrMZQH",
    "amount": 9201481.906,
    "percentage": 0.9201488488513317,
    "value": {
      "quote": 54593611.3281902,
      "usd": 54593611.3281902
    }
  },
  {
    "address": "C68a6RCGLiPskbPYtAcsCjhG8tfTWYcoB4JjCrXFdqyo",
    "amount": 5818518.189861,
    "percentage": 0.5818522352285473,
    "value": {
      "quote": 34522039.36369684,
      "usd": 34522039.36369684
    }
  },
  {
    "address": "42brAgAVNzMBP7aaktPvAmBSPEkehnFQejiZc53EpJFd",
    "amount": 5150000.501203,
    "percentage": 0.5150004185386399,
    "value": {
      "quote": 30555635.339491077,
      "usd": 30555635.339491077
    }
  },
  {
    "address": "8NBEbxLknGv5aRYefFrW2qFXoDZyi9fSHJNiJRvEcMBE",
    "amount": 3022400.362534,
    "percentage": 0.3022402524684711,
    "value": {
      "quote": 17932301.81355555,
      "usd": 17932301.81355555
    }
  },
  {
    "address": "4xLpwxgYuPwPvtQjE94RLS4WZ4aD8NJYYKr2AJk99Qdg",
    "amount": 2548865.187026,
    "percentage": 0.25488670104213196,
    "value": {
      "quote": 15122754.874702929,
      "usd": 15122754.874702929
    }
  },
  {
    "address": "3B7XAQrLoEMDEGvX8569F9GRb9PcXXocJmj5wvhhei9z",
    "amount": 2031521.758214,
    "percentage": 0.2031523211514584,
    "value": {
      "quote": 12053287.764482478,
      "usd": 12053287.764482478
    }
  },
  {
    "address": "FQEmsV5A6jZdmb3KuP3YBLmHfFNoKuoWddBGMQuW1M9f",
    "amount": 2000009,
    "percentage": 0.2000010430757134,
    "value": {
      "quote": 11866318.394614726,
      "usd": 11866318.394614726
    }
  },
  {
    "address": "2qo8jvuc49pFmTjmUHLiARSV6ppPTaE7gw27ZJ6DnNZy",
    "amount": 1939011.175822,
    "percentage": 0.1939012562942794,
    "value": {
      "quote": 11504410.221664065,
      "usd": 11504410.221664065
    }
  },
  {
    "address": "qcjtKjw2rMiA6cYkSaV8nbMDf99ASpukzhmg9a4CaN1",
    "amount": 1750668.358759,
    "percentage": 0.1750669611143986,
    "value": {
      "quote": 10386947.332942948,
      "usd": 10386947.332942948
    }
  },
  {
    "address": "22Wnk8PwyWZV7BfkZGJEKT9jGGdtvu7xY6EXeRh7zkBa",
    "amount": 1691553.436847,
    "percentage": 0.1691554646942628,
    "value": {
      "quote": 10036210.668617649,
      "usd": 10036210.668617649
    }
  },
  {
    "address": "5z7gxL5u4jCW9D6acu28LEw4RKTiBSG1EmXbtCX7efg2",
    "amount": 1362110.991617,
    "percentage": 0.13621119660376244,
    "value": {
      "quote": 8081584.990533398,
      "usd": 8081584.990533398
    }
  }
]

SDK Example

import { Client } from '@solana-tracker/data-api';

const client = new Client({ apiKey: 'YOUR_API_KEY' });

const data = await client.getTopHolders('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN');

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

tokenAddress
string
required

Response

200 - application/json

Successful response

address
string
amount
number
percentage
number
value
object