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

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

const data = await client.batchPnlV2WalletSummaries(['FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF']);
{
  "count": 1,
  "wallets": [
    {
      "wallet": "CyaE1VxvBrahnPWkqm5VsdCvyS2QmNht2UFrKJHga54o",
      "identity": {
        "name": "Cented",
        "twitter": "@Cented7",
        "avatar": "https://kol-avatar.solanatracker.io/CyaE1VxvBrahnPWkqm5VsdCvyS2QmNht2UFrKJHga54o",
        "platforms": [
          "axiom",
          "bloom"
        ],
        "type": "kol",
        "tags": [
          "kol",
          "axiom",
          "bloom"
        ]
      },
      "summary": {
        "pnl": {
          "realized": 10705447.32,
          "unrealized": 1395.74,
          "total": 10706843.06
        },
        "invested": 49779099.94,
        "proceeds": 60484547.26,
        "openPositions": {
          "cost": 8614.39,
          "value": 10010.13
        },
        "counts": {
          "buys": 193041,
          "sells": 141762,
          "trades": 334803,
          "tokensTraded": 78676,
          "tokensHeldEver": 78195
        },
        "averages": {
          "buy": 257.87,
          "sell": 426.66
        },
        "roi": 21.51,
        "timing": {
          "firstTrade": 1713909067699,
          "lastTrade": 1777034218124
        }
      },
      "tags": {
        "isArbitrage": false,
        "platforms": [
          "axiom",
          "bloom"
        ]
      },
      "updatedAt": 1777034218124
    }
  ],
  "notFound": [
    "vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg"
  ]
}

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.batchPnlV2WalletSummaries(['FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF']);

授权

x-api-key
string
header
必填

用于鉴权的 API Key

请求体

application/json
wallets
string[]
必填

Wallet addresses to summarize. Up to 100 unique valid wallets are processed.

Maximum array length: 100
示例:
[
"CyaE1VxvBrahnPWkqm5VsdCvyS2QmNht2UFrKJHga54o",
"vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg"
]

响应

Wallet summaries found.

count
integer

Number of wallets returned.

wallets
object[]
notFound
string[]

Valid wallets with no indexed summary. Omitted when empty.

invalid
string[]

Wallet addresses that failed Base58 validation. Omitted when empty.

truncated
object

Returned when more than 100 unique valid wallets are submitted.