SDK
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
const data = await client.getTokenHolders('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN');{
"total": 2,
"enrich": [
"identity",
"walletPnl"
],
"accounts": [
{
"wallet": "HYLHTXn74S378oYQHmoJa9yqrfr3DCd8TZtnFCNvySC5",
"amount": 1032622458.645721,
"value": {
"quote": 7.100269258380428,
"usd": 597.7253928072596
},
"percentage": 103.2622458645721,
"identity": {
"pool": {
"program": "pumpfun",
"poolAddress": "HYLHTXn74S378oYQHmoJa9yqrfr3DCd8TZtnFCNvySC5"
},
"type": "pool",
"tags": [
"pool"
]
}
},
{
"wallet": "BwWK17cbHxwWBKZkUYvzxLcNQ1YVyaFezduWbtm2de6s",
"amount": 967377541.354279,
"value": {
"quote": 6.651647909279076,
"usd": 559.9588853192754
},
"percentage": 96.7377541354279,
"pnl": {
"wallet": {
"realized": 63155439.72,
"unrealized": 21353443.56,
"total": 84508883.29,
"invested": 203648590.41,
"proceeds": 266804030.13,
"totalTrades": 24242430,
"tokensTraded": 639911
},
"token": {
"realized": 63.48,
"unrealized": -2.48,
"total": 61,
"invested": 48.27,
"proceeds": 109.27,
"roi": 126.36,
"buys": 5,
"sells": 6,
"totalTrades": 11,
"balance": 967377541.354279,
"costBasis": 2.48,
"value": 0,
"price": 0,
"avgCost": 0,
"totalBought": 31796306.208048,
"totalSold": 64418764.853769004,
"avgBuy": 9.65,
"avgSell": 18.21,
"firstBuy": 1779813188896,
"lastBuy": 1779813195367,
"firstSell": 1779813188038,
"lastSell": 1779813194596,
"firstTrade": 1779813188038,
"lastTrade": 1779813195367,
"holdTimeSecs": 26
}
},
"identity": {
"bot": {
"name": "Mayhem Bot",
"avatar": "https://kol-avatar.solanatracker.io/BwWK17cbHxwWBKZkUYvzxLcNQ1YVyaFezduWbtm2de6s"
},
"name": "Mayhem Bot",
"avatar": "https://kol-avatar.solanatracker.io/BwWK17cbHxwWBKZkUYvzxLcNQ1YVyaFezduWbtm2de6s",
"type": "bot",
"tags": [
"bot"
]
}
}
]
}Tokens
Get Token Holders (Top 100)
返回指定代币持币量前 100 的地址及合计。可选扩展可附带钱包身份、单币维度与全生命周期盈亏(PnL)。
GET
/
tokens
/
{tokenAddress}
/
holders
SDK
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
const data = await client.getTokenHolders('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN');{
"total": 2,
"enrich": [
"identity",
"walletPnl"
],
"accounts": [
{
"wallet": "HYLHTXn74S378oYQHmoJa9yqrfr3DCd8TZtnFCNvySC5",
"amount": 1032622458.645721,
"value": {
"quote": 7.100269258380428,
"usd": 597.7253928072596
},
"percentage": 103.2622458645721,
"identity": {
"pool": {
"program": "pumpfun",
"poolAddress": "HYLHTXn74S378oYQHmoJa9yqrfr3DCd8TZtnFCNvySC5"
},
"type": "pool",
"tags": [
"pool"
]
}
},
{
"wallet": "BwWK17cbHxwWBKZkUYvzxLcNQ1YVyaFezduWbtm2de6s",
"amount": 967377541.354279,
"value": {
"quote": 6.651647909279076,
"usd": 559.9588853192754
},
"percentage": 96.7377541354279,
"pnl": {
"wallet": {
"realized": 63155439.72,
"unrealized": 21353443.56,
"total": 84508883.29,
"invested": 203648590.41,
"proceeds": 266804030.13,
"totalTrades": 24242430,
"tokensTraded": 639911
},
"token": {
"realized": 63.48,
"unrealized": -2.48,
"total": 61,
"invested": 48.27,
"proceeds": 109.27,
"roi": 126.36,
"buys": 5,
"sells": 6,
"totalTrades": 11,
"balance": 967377541.354279,
"costBasis": 2.48,
"value": 0,
"price": 0,
"avgCost": 0,
"totalBought": 31796306.208048,
"totalSold": 64418764.853769004,
"avgBuy": 9.65,
"avgSell": 18.21,
"firstBuy": 1779813188896,
"lastBuy": 1779813195367,
"firstSell": 1779813188038,
"lastSell": 1779813194596,
"firstTrade": 1779813188038,
"lastTrade": 1779813195367,
"holdTimeSecs": 26
}
},
"identity": {
"bot": {
"name": "Mayhem Bot",
"avatar": "https://kol-avatar.solanatracker.io/BwWK17cbHxwWBKZkUYvzxLcNQ1YVyaFezduWbtm2de6s"
},
"name": "Mayhem Bot",
"avatar": "https://kol-avatar.solanatracker.io/BwWK17cbHxwWBKZkUYvzxLcNQ1YVyaFezduWbtm2de6s",
"type": "bot",
"tags": [
"bot"
]
}
}
]
}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.
SDK Example
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
const data = await client.getTokenHolders('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN');
授权
用于鉴权的 API Key
路径参数
查询参数
可选扩展模块:填 identity、walletPnl、identity,walletPnl、all 或 *;省略则不执行额外扩展。
示例:
"all"
此页面对您有帮助吗?
⌘I