跳转到主要内容
GET
/
v2
/
pnl
/
wallets
/
{wallet}
/
performance
SDK
import { Client } from '@solana-tracker/data-api';

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

const data = await client.getPnlV2WalletPerformance('FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF', { period: '30d' });
{
  "wallet": "CyaE1VxvBrahnPWkqm5VsdCvyS2QmNht2UFrKJHga54o",
  "identity": {
    "name": "Cented",
    "twitter": "@Cented7",
    "avatar": "https://kol-avatar.solanatracker.io/CyaE1VxvBrahnPWkqm5VsdCvyS2QmNht2UFrKJHga54o",
    "platforms": [
      "axiom",
      "bloom"
    ],
    "type": "kol",
    "tags": [
      "kol",
      "axiom",
      "bloom"
    ]
  },
  "window": 30,
  "totals": {
    "realizedPnl": 511646.27,
    "volume": 4525541.11,
    "trades": 8612631
  },
  "bestDay": {
    "date": "2026-03-23",
    "realizedPnl": 85718.59,
    "volume": 266262.59,
    "totalPnl": 10264040.54,
    "trades": 308520
  },
  "worstDay": {
    "date": "2026-04-10",
    "realizedPnl": 3543.36,
    "volume": 30954.42,
    "totalPnl": 10509957.54,
    "trades": 323507
  },
  "streaks": {
    "positive": 27,
    "negative": 0,
    "currentPositive": 27,
    "currentNegative": 0
  },
  "drawdown": {
    "amount": 0,
    "percent": 0
  },
  "days": [
    {
      "date": "2026-03-20",
      "realizedPnl": 21677.68,
      "unrealizedPnl": 0,
      "totalPnl": 10133634.03,
      "volume": 252414.51,
      "trades": 304888
    },
    {
      "date": "2026-03-21",
      "realizedPnl": 20060.91,
      "unrealizedPnl": 0,
      "totalPnl": 10153694.95,
      "volume": 190766.56,
      "trades": 306189
    }
  ],
  "updatedAt": "2026-04-19T17:53:30.439Z"
}

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.getPnlV2WalletPerformance('FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF', { period: '30d' });

授权

x-api-key
string
header
必填

用于鉴权的 API Key

路径参数

wallet
string
必填

Solana 钱包地址(Base58,约 32–44 字符)

Pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$

查询参数

period
enum<string>

周期简写(如 30d),与 days 二选一

可用选项:
1d,
7d,
14d,
30d,
90d,
all
days
integer
默认值:30

滚动窗口天数,默认 30,最大 365

必填范围: x <= 365

响应

Successful response.

wallet
string
identity
object

Unified wallet identity. Only fields with known values are returned; a wallet can carry multiple tags at once.

window
integer

Number of days in the window.

totals
object
bestDay
object
worstDay
object
streaks
object

Win/loss streaks in consecutive trading days.

drawdown
object

Maximum drawdown from peak total PnL within the window.

days
object[]

Day-by-day PnL and volume for the window.

updatedAt
string<date-time> | null