SDK
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
const data = await client.getPnlV2TokenTraders('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', { limit: 50 });{
"meta": {
"symbol": "TRUMP",
"name": "OFFICIAL TRUMP",
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Farweave.net%2FVQrPjACwnQRmxdKBTqNwPiyo65x7LAT773t8Kd7YBzw",
"decimals": 6,
"price": 2.8078556911015307,
"snapshotPrice": null,
"marketCap": 2807853276.49,
"liquidity": 66749438.29,
"primaryMarket": "meteora-dlmm"
},
"traders": [
{
"wallet": "3w8k9sBq4143HexEPbe4z4zBk4keNJSFswyMUg6uU8e3",
"pnl": {
"token": {
"realized": 0,
"unrealized": 495195.19,
"total": 495195.19
},
"wallet": {
"realized": 58523.47,
"unrealized": -11351.36,
"total": 47172.11,
"invested": 699558.43,
"proceeds": 758081.9,
"totalTrades": 13111,
"tokensTraded": 2258
}
},
"identity": {
"platforms": [
"axiom"
],
"type": "axiom",
"tags": [
"axiom"
]
},
"position": {
"balance": 393688.543322,
"costBasis": 610225.42,
"value": 1105420.62,
"price": 2.8078556911015307
},
"buyUsd": 610225.42,
"sellUsd": 0,
"counts": {
"buys": 1,
"sells": 0,
"total": 1
},
"roi": 81.15,
"invested": 610225.42,
"proceeds": 0,
"volume": {
"tokensBought": 393688.543322,
"tokensSold": 0,
"buyUsd": 610225.42,
"sellUsd": 0
},
"averages": {
"buy": 610225.42,
"sell": 0
},
"current": {
"balance": 393688.543322,
"costBasis": 610225.42,
"value": 1105420.62,
"price": 2.8078556911015307,
"avgCost": 1.5497
},
"timing": {
"firstTrade": 1775290706905,
"lastTrade": 1775290706905,
"firstBuy": 1775290706905,
"lastBuy": 1775290706905,
"firstSell": null,
"lastSell": null,
"holdTimeSecs": 86400
}
},
{
"wallet": "5cvQpjBpobuLEKf2myqpwrkcX4u1ct1XuEqmgcubAV7f",
"pnl": {
"token": {
"realized": 7164833.65,
"unrealized": -5205002.11,
"total": 1959831.54
},
"wallet": {
"realized": 4554030.67,
"unrealized": 32140.55,
"total": 4586171.22,
"invested": 2314000,
"proceeds": 6868030,
"totalTrades": 18432,
"tokensTraded": 1247
}
},
"identity": {
"type": "developer",
"tags": [
"developer"
],
"developer": {
"token": "TRUMPSo1111111111111111111111111111111111111",
"via": [
"token_creator"
]
}
},
"position": {
"balance": 275000.420021,
"costBasis": 5977163.61,
"value": 772161.49,
"price": 2.8078556911015307
},
"buyUsd": 13158433.11,
"sellUsd": 14346103.15,
"counts": {
"buys": 6,
"sells": 6,
"total": 12
},
"roi": 14.89,
"invested": 13158433.11,
"proceeds": 14346103.15,
"volume": {
"tokensBought": 550000.420021,
"tokensSold": 275000.420021,
"buyUsd": 13158433.11,
"sellUsd": 14346103.15
},
"averages": {
"buy": 2193072.19,
"sell": 2391017.19
},
"current": {
"balance": 275000.420021,
"costBasis": 5977163.61,
"value": 772161.49,
"price": 2.8078556911015307,
"avgCost": 21.7351
},
"timing": {
"firstTrade": 1737167236000,
"lastTrade": 1765823606000,
"firstBuy": 1737167236000,
"lastBuy": 1765823606000,
"firstSell": 1740000000000,
"lastSell": 1765823606000,
"holdTimeSecs": 28656360
}
}
],
"pagination": {
"hasMore": true,
"nextCursor": "eyJzb3J0VmFsdWUiOjI3NTAwMC40MjAwMjEsInRpZUJyZWFrZXIiOjQ4NzUxNTA0fQ==",
"count": 2,
"total": 2
}
}Token
Get Token Traders
返回曾交易该代币的钱包及完整仓位:已实现/未实现盈亏、剩余仓位、成交次数与时间等。
GET
/
v2
/
pnl
/
tokens
/
{token}
/
traders
SDK
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
const data = await client.getPnlV2TokenTraders('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', { limit: 50 });{
"meta": {
"symbol": "TRUMP",
"name": "OFFICIAL TRUMP",
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Farweave.net%2FVQrPjACwnQRmxdKBTqNwPiyo65x7LAT773t8Kd7YBzw",
"decimals": 6,
"price": 2.8078556911015307,
"snapshotPrice": null,
"marketCap": 2807853276.49,
"liquidity": 66749438.29,
"primaryMarket": "meteora-dlmm"
},
"traders": [
{
"wallet": "3w8k9sBq4143HexEPbe4z4zBk4keNJSFswyMUg6uU8e3",
"pnl": {
"token": {
"realized": 0,
"unrealized": 495195.19,
"total": 495195.19
},
"wallet": {
"realized": 58523.47,
"unrealized": -11351.36,
"total": 47172.11,
"invested": 699558.43,
"proceeds": 758081.9,
"totalTrades": 13111,
"tokensTraded": 2258
}
},
"identity": {
"platforms": [
"axiom"
],
"type": "axiom",
"tags": [
"axiom"
]
},
"position": {
"balance": 393688.543322,
"costBasis": 610225.42,
"value": 1105420.62,
"price": 2.8078556911015307
},
"buyUsd": 610225.42,
"sellUsd": 0,
"counts": {
"buys": 1,
"sells": 0,
"total": 1
},
"roi": 81.15,
"invested": 610225.42,
"proceeds": 0,
"volume": {
"tokensBought": 393688.543322,
"tokensSold": 0,
"buyUsd": 610225.42,
"sellUsd": 0
},
"averages": {
"buy": 610225.42,
"sell": 0
},
"current": {
"balance": 393688.543322,
"costBasis": 610225.42,
"value": 1105420.62,
"price": 2.8078556911015307,
"avgCost": 1.5497
},
"timing": {
"firstTrade": 1775290706905,
"lastTrade": 1775290706905,
"firstBuy": 1775290706905,
"lastBuy": 1775290706905,
"firstSell": null,
"lastSell": null,
"holdTimeSecs": 86400
}
},
{
"wallet": "5cvQpjBpobuLEKf2myqpwrkcX4u1ct1XuEqmgcubAV7f",
"pnl": {
"token": {
"realized": 7164833.65,
"unrealized": -5205002.11,
"total": 1959831.54
},
"wallet": {
"realized": 4554030.67,
"unrealized": 32140.55,
"total": 4586171.22,
"invested": 2314000,
"proceeds": 6868030,
"totalTrades": 18432,
"tokensTraded": 1247
}
},
"identity": {
"type": "developer",
"tags": [
"developer"
],
"developer": {
"token": "TRUMPSo1111111111111111111111111111111111111",
"via": [
"token_creator"
]
}
},
"position": {
"balance": 275000.420021,
"costBasis": 5977163.61,
"value": 772161.49,
"price": 2.8078556911015307
},
"buyUsd": 13158433.11,
"sellUsd": 14346103.15,
"counts": {
"buys": 6,
"sells": 6,
"total": 12
},
"roi": 14.89,
"invested": 13158433.11,
"proceeds": 14346103.15,
"volume": {
"tokensBought": 550000.420021,
"tokensSold": 275000.420021,
"buyUsd": 13158433.11,
"sellUsd": 14346103.15
},
"averages": {
"buy": 2193072.19,
"sell": 2391017.19
},
"current": {
"balance": 275000.420021,
"costBasis": 5977163.61,
"value": 772161.49,
"price": 2.8078556911015307,
"avgCost": 21.7351
},
"timing": {
"firstTrade": 1737167236000,
"lastTrade": 1765823606000,
"firstBuy": 1737167236000,
"lastBuy": 1765823606000,
"firstSell": 1740000000000,
"lastSell": 1765823606000,
"holdTimeSecs": 28656360
}
}
],
"pagination": {
"hasMore": true,
"nextCursor": "eyJzb3J0VmFsdWUiOjI3NTAwMC40MjAwMjEsInRpZUJyZWFrZXIiOjQ4NzUxNTA0fQ==",
"count": 2,
"total": 2
}
}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.getPnlV2TokenTraders('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', { limit: 50 });
授权
用于鉴权的 API Key
路径参数
Solana 代币 mint 地址(Base58,约 32–44 字符)
Pattern:
^[1-9A-HJ-NP-Za-km-z]{32,44}$查询参数
交易者排序字段
可用选项:
holding, value, pnl, realized, unrealized, invested, roi, last_trade, first_trade 排序方向
可用选项:
asc, desc 每页条数
必填范围:
x <= 200分页游标,取自上一页响应的 pagination.nextCursor
按交易平台筛选交易者(逗号分隔)
可用选项:
axiom, axiom-flash, bloom, photon 默认排除标为套利机器人的钱包;传 false 则包含
可用选项:
true, false 默认排除买入笔数为 0 的钱包;传 false 则包含
可用选项:
true, false 仅包含当前仍持仓的钱包(余额 > 0)
可用选项:
true, false 该代币最低成交笔数
此页面对您有帮助吗?
⌘I