跳转到主要内容
GET
/
top-traders
/
all
/
{page}
SDK
import { Client } from '@solana-tracker/data-api';

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

const data = await client.getTopTraders(2);
{
  "wallets": [
    {
      "wallet": "<string>",
      "summary": {
        "realized": 123,
        "unrealized": 123,
        "total": 123,
        "totalInvested": 123,
        "averageBuyAmount": 123,
        "totalWins": 123,
        "totalLosses": 123,
        "winPercentage": 123,
        "lossPercentage": 123
      }
    }
  ]
}

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.getTopTraders(2);

授权

x-api-key
string
header
必填

用于鉴权的 API Key

路径参数

page
integer
必填

查询参数

expandPnl
boolean

为 true 时包含各代币详细盈亏。

sortBy
enum<string>

按指标排序结果

可用选项:
total,
winPercentage

响应

200 - application/json

Successful response

wallets
object[]