---
title: "Get Token First Buyers"
method: GET
path: "/v2/pnl/tokens/{token}/first-buyers"
tags: ["Token"]
---

# Get Token First Buyers

`GET /v2/pnl/tokens/{token}/first-buyers`

Returns the same trader dataset as `/traders`, but only in chronological earliest-first order. Omit `sort` or use `sort=first_trade`, and use `direction=asc`. For ROI, PnL, position size, latest trade, or descending order, use `/v2/pnl/tokens/{token}/traders`.

## Path parameters

- `token` string, required

## Query parameters

- `sort` 'first_trade'
- `direction` 'asc'
- `limit` integer
- `cursor` string
- `platform` 'axiom' | 'axiom-flash' | 'bloom' | 'photon'
- `excludeArbitrage` 'true' | 'false'
- `excludeZeroBuys` 'true' | 'false'
- `activeOnly` 'true' | 'false'
- `minTrades` integer

## Response `200`

Successful response.

- object
  - `meta` TokenMeta — Basic token metadata and current market data.
    - `symbol` string, nullable
    - `name` string, nullable
    - `decimals` integer, nullable
    - `price` number, nullable — Current price in USD.
    - `liquidity` number, nullable — Current liquidity in USD.
    - `marketCap` number, nullable — Current market cap in USD.
    - `primaryMarket` string, nullable — Primary DEX where this token trades (e.g. Raydium, Orca).
  - `traders` Holder[]
    - `wallet` string
    - `pnl` object
      - `token` PnlBlock — Realized, unrealized, and total profit/loss in USD.
        - `realized` number, nullable — Profit/loss from closed trades (tokens fully or partially sold).
        - `realizedRaw` number, nullable — Unfiltered realized PnL before `pnlMode` adjustments. Present on position rows and leaderboard period stats when available.
        - `unrealized` number, nullable — Paper profit/loss on tokens still held, based on current market price.
        - `total` number, nullable — Sum of realized + unrealized PnL.
      - `wallet` WalletLifetimePnl — Lifetime PnL summary for a wallet, used on token-scoped enrichment responses.
        - `realized` number, nullable
        - `unrealized` number, nullable
        - `total` number, nullable
        - `invested` number, nullable
        - `proceeds` number, nullable
        - `totalTrades` integer
        - `tokensTraded` integer
    - `identity` Identity — Unified wallet identity. Only fields with known values are returned; a wallet can carry multiple tags at once.
      - `name` string, nullable — Display name, if known.
      - `twitter` string, nullable — Twitter/X handle, if known.
      - `avatar` string, uri, nullable — Avatar image URL.
      - `type` string, nullable — Primary label for single-badge UIs, such as `kol`, `developer`, `pool`, `bot`, `hacker`, `spam_dusting`, `exchange`, or a platform tag.
      - `tags` string[] — All resolved labels for the wallet, including KOL, platform, pool, developer, bot, arbitrage, hacker, spam-dusting, or exchange tags.
      - `platforms` string[] — Normalized trading frontend tags such as `axiom`, `bloom`, or `photon`. Query filters also accept `axiom-flash`, which is normalized to `axiom` in identity responses.
      - `bot` object
        - `name` string, nullable
        - `avatar` string, uri, nullable
      - `pool` object
        - `program` string, nullable
        - `poolAddress` string, nullable
      - `developer` object
        - `token` string, nullable
        - `via` string[]
        - `pools` string[]
        - `creationTx` string, nullable
        - `createdAt` integer, nullable — Unix timestamp in seconds.
      - `hacker` object — Curated exploit/scam wallet label, when known.
        - `label` string, nullable
      - `spamDusting` object — Curated spam-dusting wallet label, when known.
        - `label` string, nullable
      - `exchange` object — Known centralized exchange hot wallet label, when known.
        - `name` string, nullable
    - `position` object — Legacy position snapshot. Same underlying values as `current`.
      - `balance` number, nullable — Current token balance.
      - `costBasis` number, nullable
      - `value` number, nullable — Current USD value.
      - `price` number, nullable — Current token price.
    - `buyUsd` number, nullable — Total USD spent on buys (legacy; same value as `invested` and `volume.buyUsd`).
    - `sellUsd` number, nullable — Total USD received from sells (legacy; same value as `proceeds` and `volume.sellUsd`).
    - `counts` object
      - `buys` integer
      - `sells` integer
      - `total` integer
    - `roi` number, nullable
    - `invested` number, nullable — Total cost basis (USD spent buying this token).
    - `proceeds` number, nullable — Total USD received from sales of this token.
    - `volume` object
      - `tokensBought` number, nullable — Total tokens purchased (native units).
      - `tokensSold` number, nullable — Total tokens sold (native units).
      - `buyUsd` number, nullable — Total USD spent on buys.
      - `sellUsd` number, nullable — Total USD received from sells.
    - `averages` object
      - `buy` number, nullable — Average buy size in USD.
      - `sell` number, nullable — Average sell size in USD.
    - `current` object — Current position state. Mirrors `position` with an additional `avgCost` field.
      - `balance` number, nullable — Current token balance (native units).
      - `costBasis` number, nullable — Cost basis of remaining held tokens.
      - `value` number, nullable — Current USD value of held tokens.
      - `price` number, nullable — Current token price in USD.
      - `avgCost` number, nullable — Average cost per token in USD.
    - `timing` object
      - `firstTrade` integer, nullable — Unix ms.
      - `lastTrade` integer, nullable — Unix ms.
      - `firstBuy` integer, nullable — Unix ms.
      - `lastBuy` integer, nullable — Unix ms.
      - `firstSell` integer, nullable — Unix ms.
      - `lastSell` integer, nullable — Unix ms.
      - `holdTimeSecs` integer, nullable — How long the position has been (or was) held, in seconds (first buy to last sell for closed bags, live duration for open bags).
  - `pagination` Pagination — Cursor-based pagination metadata.
    - `hasMore` boolean, required — Whether more pages exist after this one.
    - `nextCursor` string, nullable, required — Opaque cursor to pass as `?cursor=` for the next page. Null when there are no more results.
    - `count` integer, required — Number of items returned in this page.
    - `total` integer, required — Total number of matching items across all pages.
    - `pnlMode` 'strict' | 'adjusted' | 'raw' — Resolved PnL treatment mode when the endpoint supports `pnlMode`.
    - `enrich` string[] — List of enrichment modules applied to the response when supported.

## Other responses

- `400` — Invalid request parameters.
- `500` — Server error.

---

[API](https://skmtc.net/solanatracker/apis/solana-tracker-data-api.md) · [All operations](https://skmtc.net/solanatracker/apis/solana-tracker-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/solanatracker/solana-tracker-data-api/versions/c07c6f82d0c4/schema)
