> ## 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.

# Show Solana Wallet Names with SNS Identity

> Read primary .sol domains from Solana wallet identity. Learn how SNS names appear alongside KOL, exchange, bot, and platform labels.

PnL V2 can add a wallet's primary `.sol` domain to `identity.sns.domain`. Use it as a display label while keeping the wallet address available for links and lookups.

> [!NOTE]
>
> Higher-priority labels (KOL, exchange, bot, and so on) keep `identity.name`. SNS is attached alongside when a primary domain exists. See [Solana Wallet Tags](https://docs.solanatracker.io/guides/pnl-v2/wallet-tags.md) for the full tag list.

## What clients see

### Wallet with only a primary domain

When no curated label exists, the primary domain becomes `identity.name` and `identity.type` is `sns`:

```json theme={null}
{
  "wallet": "9aoUCn5J4sxhvYERCVwVnakPQxyXTHQVXe86CUJYxY8p",
  "identity": {
    "name": "solanatracker.sol",
    "sns": { "domain": "solanatracker.sol" },
    "tags": ["sns"],
    "type": "sns"
  }
}
```

### Wallet that already has a label

A curated label keeps `identity.name`. The primary domain is returned separately in `identity.sns`:

```json theme={null}
{
  "identity": {
    "name": "SomeKolName",
    "sns": { "domain": "solanatracker.sol" },
    "tags": ["kol", "sns"],
    "type": "kol"
  }
}
```

### No primary domain set

If no primary domain is set, there is no `sns` field or tag. Any other known identity labels remain available.

## Fields

| Field | Description |
| - | - |
| `identity.sns.domain` | Primary `.sol` domain for the wallet |
| `identity.tags` | Includes `"sns"` when a primary domain is resolved |
| `identity.type` | `"sns"` when SNS is the highest-priority label; otherwise the primary tag (e.g. `kol`, `bot`) |
| `identity.name` | Curated label when present; otherwise the primary domain |

## Where it appears

Look for SNS fields in identity objects from these endpoint groups:

* `GET /v2/pnl/wallets/:wallet` and related wallet endpoints
* `GET /v2/pnl/tokens/:token/traders` and `/first-buyers`
* Leaderboard and KOL endpoints
* `POST /v2/pnl/wallets/batch` and position batch endpoints
* `GET /tokens/:tokenAddress/holders?enrich=identity` (and `?enrich=all`)

## UI tips

* Show `identity.sns.domain` as a secondary label when `identity.type` is not `sns` (e.g. display KOL name with `.sol` domain underneath).
* When `identity.type` is `sns`, treat `identity.name` as the human-readable wallet label.
* Always read `identity.tags` as an array. A wallet can be both `kol` and `sns`.

> [card] [getPrimaryDomain RPC](https://docs.solanatracker.io/solana-rpc/http/getprimarydomain.md)
>
> Resolve a wallet's primary `.sol` domain directly via RPC.

> [card] [Wallet labels](https://docs.solanatracker.io/guides/pnl-v2/wallet-tags.md)
>
> Full supported tag list, platform filters, and FAQ.

> [card] [PnL basics](https://docs.solanatracker.io/guides/pnl-v2/overview.md)
>
> Endpoint groups, identity tags, and enrichment on holders.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.