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

# Find Solana Snipers, Bundlers, and Early Buyers

> Find early Solana token buyers, inspect their positions and PnL, and query bundler, sniper, and insider activity with Solana Tracker APIs.

Use first-buyer data to inspect launch activity and the bundler endpoint to check related wallet holdings. Timing and wallet labels help narrow a review; they do not establish a trader's intent.

## First buyers

The [first-buyers endpoint](https://docs.solanatracker.io/data-api/pnl-v2/token/get-token-first-buyers.md) returns buyers in chronological order, with positions, PnL, and available identity labels.

```bash cURL theme={null}
curl "https://data.solanatracker.io/v2/pnl/tokens/{token}/first-buyers?limit=50" \
  -H "x-api-key: YOUR_API_KEY"
```

```javascript JavaScript theme={null}
const token = "38PgzpJYu2HkiYvV8qePFakB8tuobPdGm2FFEn7Dpump";

const res = await fetch(
  `https://data.solanatracker.io/v2/pnl/tokens/${token}/first-buyers?limit=50`,
  { headers: { "x-api-key": "YOUR_API_KEY" } }
);
const { traders } = await res.json();

traders.forEach((t, i) => {
  console.log(`#${i + 1} ${t.wallet} — first trade ${new Date(t.timing.firstTrade).toISOString()}`);
  console.log(`Token PnL: $${t.pnl.token.total.toFixed(2)}, balance: ${t.position.balance}`);
});
```

## Find snipers who already sold

Compare current balance with realized PnL to find first buyers who have already closed a position.

```javascript theme={null}
const token = "38PgzpJYu2HkiYvV8qePFakB8tuobPdGm2FFEn7Dpump";

const res = await fetch(
  `https://data.solanatracker.io/v2/pnl/tokens/${token}/first-buyers?limit=50`,
  { headers: { "x-api-key": "YOUR_API_KEY" } }
);
const { traders } = await res.json();

// Find snipers who already sold
const sold = traders.filter(t => t.position.balance === 0 && t.pnl.token.realized > 0);

console.log(`${sold.length} early buyers already sold at a profit`);
sold.forEach(t => {
  const holdMins = (t.timing.lastTrade - t.timing.firstTrade) / 60000;
  console.log(`  ${t.wallet}: +$${t.pnl.token.realized.toFixed(2)}, held ${holdMins.toFixed(0)} minutes`);
});
```

### What to look for

| Signal | What it means |
| - | - |
| Balance = 0, profit > 0 | No remaining balance and positive realized PnL |
| Hold time \< 5 minutes | Short holding period; review the trades and wallet labels |
| Multiple first-buyer appearances | Same wallet sniping many launches |
| Large buy size relative to pool | Whale entry that moved the price |

## Bundler detection

The [bundlers endpoint](https://docs.solanatracker.io/data-api/tokens/get-token-bundlers.md) identifies wallets involved in bundled transactions on a token.

```bash theme={null}
curl "https://data.solanatracker.io/tokens/{token}/bundlers" \
  -H "x-api-key: YOUR_API_KEY"
```

Bundle labels describe detected transaction activity. Inspect the associated balances and trades before interpreting that activity.

* Launch sniping (buy in the same block as liquidity add)
* Sandwich attacks
* Coordinated wallet clusters

## Chart-based detection

Use the chart endpoints to compare how detected wallet groups changed their holdings over time.

### Sniper activity chart

The [snipers chart](https://docs.solanatracker.io/data-api/chart/get-snipers-chart-data.md) shows sniper activity over time for a token.

```bash theme={null}
curl "https://data.solanatracker.io/snipers/chart/{token}" \
  -H "x-api-key: YOUR_API_KEY"
```

### Bundler activity chart

The [bundlers chart](https://docs.solanatracker.io/data-api/chart/get-bundlers-chart-data.md) tracks bundled transaction activity over time.

```bash theme={null}
curl "https://data.solanatracker.io/bundlers/chart/{token}" \
  -H "x-api-key: YOUR_API_KEY"
```

### Insider activity chart

The [insiders chart](https://docs.solanatracker.io/data-api/chart/get-insiders-chart-data.md) shows insider wallet activity patterns.

```bash theme={null}
curl "https://data.solanatracker.io/insiders/chart/{token}" \
  -H "x-api-key: YOUR_API_KEY"
```

## Example: full sniper report

Build a quick sniper report for any token:

```javascript theme={null}
const token = "38PgzpJYu2HkiYvV8qePFakB8tuobPdGm2FFEn7Dpump";
const headers = { "x-api-key": "YOUR_API_KEY" };

// 1. Get first buyers with PnL data
const { traders } = await fetch(
  `https://data.solanatracker.io/v2/pnl/tokens/${token}/first-buyers?limit=50`,
  { headers }
).then(r => r.json());

// 2. Get bundler data
const bundlers = await fetch(
  `https://data.solanatracker.io/tokens/${token}/bundlers`,
  { headers }
).then(r => r.json());

// 3. Analyze
const snipers = traders.filter(t => {
  const holdMins = (t.timing.lastTrade - t.timing.firstTrade) / 60000;
  return holdMins < 10 && t.pnl.token.realized > 0;
});

const bundlerWallets = new Set(bundlers.wallets.map(b => b.wallet));
const sniperBundlers = snipers.filter(s => bundlerWallets.has(s.wallet));

console.log(`First 50 buyers: ${traders.length}`);
console.log(`Quick-flip snipers (< 10 min hold, profitable): ${snipers.length}`);
console.log(`Bundler wallets: ${bundlers.wallets.length}`);
console.log(`Snipers who also bundled: ${sniperBundlers.length}`);
```

> [card] [Token overview](https://docs.solanatracker.io/guides/token-research.md)
>
> Full token lookup: stats, holders, trades, and events.

> [card] [Token traders](https://docs.solanatracker.io/guides/pnl-v2/token-intelligence.md)
>
> All traders on a token with PnL, sorting, and filtering.

> [card] [Live risk signals](https://docs.solanatracker.io/guides/datastream-safety.md)
>
> Track snipers, bundlers, and insiders in real time via WebSocket.

> [card] [Token launches](https://docs.solanatracker.io/guides/datastream-tokens.md)
>
> Spot new tokens before the crowd and filter by graduation status.


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