# Polymarket Whale & Smart Money Tracker (`donzely/polymarket-whale-tracker`) Actor

Track Polymarket whale trades, top holders and smart-money wallets (Data API v2). Each trade shows market, outcome, side, USD size, wallet PnL, win rate, smart-money tier and new/adding/exit labels. Schedule with onlyNewSinceLastRun for whale alerts. Data only, not financial advice.

- **URL**: https://apify.com/donzely/polymarket-whale-tracker.md
- **Developed by:** [Grzegorz Pryjma](https://apify.com/donzely) (community)
- **Categories:** Automation, Developer tools, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.50 / 1,000 result rows

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Polymarket Whale & Smart Money Tracker

Track **whale trades, top holders and smart-money wallets on Polymarket**. Every trade comes with the market title, outcome, side, USD size and price. It also shows **who placed it**: the wallet's all-time PnL, win rate, volume and a **smart-money tier**, and whether the trade **opened a new position, added to one or exited**.

Schedule it every few minutes with **`onlyNewSinceLastRun`** to get a whale-alert feed of only the new large trades.

Built on Polymarket's current **Data API v2** and Gamma API. Data API v1 was retired on 2 November 2026, and many older Polymarket scrapers still call it. Plain HTTP with no browser makes it fast (a 100-trade run takes ~10 s) and cheap.

> **Data only, not financial advice.** Wallets are pseudonymous on-chain addresses. The actor returns only what Polymarket's public API publishes: the address and its public username or pseudonym. It never tries to identify the people behind a wallet.

### What you can do

| Mode | What you get | Typical use |
|---|---|---|
| `largeTrades` (default) | Recent trades ≥ `minTradeUsd` across all markets, or filtered by markets, categories or keywords | Whale alerts, unusual-activity monitoring, insider-style "fresh wallet" bets |
| `topHolders` | Biggest holders of each outcome of given markets, with entry price, cost, value and PnL | Who is positioned on an election, a match or a crypto price market |
| `walletProfile` | PnL, win rate, tier, portfolio value, leaderboard rank, top open positions, recent trades | Due diligence on a wallet you saw in a trade |
| `smartMoney` | Top leaderboard wallets (day/week/month/all, any category) and their latest trades | Copy-trading research, following sharp money |

### Value-add per trade

- **`walletTier`**: `SMART_MONEY` (all-time realized PnL ≥ $250k, or ≥ $25k with a ≥ 55% win rate), `PROFITABLE` (≥ $1k), `NEUTRAL`, `LOSING` (≤ −$1k), or `NEW_WALLET` (almost no history).
- **`walletWinRate`**: share of the wallet's last 200 resolved or closed positions that made money. Held losing positions count as losses.
- **`freshWallet`**: fewer than 20 trades or an account younger than 14 days. A large bet from a fresh wallet is a classic signal worth a look.
- **`positionAction`**: `NEW_POSITION`, `ADDING`, `REDUCING` or `FULL_EXIT`, computed from the wallet's own fills in that market, plus shares before and after.
- **Market context**: event title, category and tags, current price of the traded outcome, 24 h volume, end date, closed flag and a direct link.
- **`isNew`**: whether the trade is new since the previous run with the same filters (change detection).

### Input

| Field | Default | Description |
|---|---|---|
| `mode` | `largeTrades` | `largeTrades`, `topHolders`, `walletProfile`, `smartMoney` |
| `minTradeUsd` | 10000 (500 in smartMoney) | Minimum trade value in USD |
| `lookbackHours` | 24 | How far back to look for trades |
| `markets` | – | Polymarket URLs, event or market slugs, Gamma event ids, 0x condition ids |
| `categories` | – | Tag slugs: `politics`, `sports`, `crypto`, `esports`, `geopolitics`, `finance`, `tech`, `culture`… |
| `keywords` | – | e.g. `bitcoin`, `trump`, `fed`. Matching active events are tracked |
| `side` | ANY | `BUY` or `SELL` only |
| `onlySmartMoney` | false | Keep only trades or holders from SMART_MONEY wallets |
| `wallets` | – | 0x addresses, `polymarket.com/profile/0x…` or `polymarket.com/@username` URLs |
| `leaderboardPeriod` / `leaderboardCategory` / `leaderboardSortBy` | month / overall / PNL | Smart-money leaderboard settings |
| `topWallets` | 20 | Leaderboard wallets to follow |
| `smartMoneyOutput` | trades | `trades` (one row per trade) or `wallets` (one row per wallet) |
| `tradesPerWallet` | 10 | Recent trades per wallet |
| `holdersPerOutcome` | 20 | topHolders: holders per outcome |
| `maxItems` | 100 | Maximum rows (and charges) per run |
| `enrichWallets` / `detectPositionChange` | true / true | Turn enrichment off for raw speed |
| `onlyNewSinceLastRun` / `monitorId` | false / – | Change detection for scheduled runs |
| `maxRunMinutes` | 4 | Soft time limit. Results found so far are kept |

An empty input `{}` returns the 100 newest trades ≥ $10,000 across all markets from the last 24 hours.

#### Examples

```json
{ "mode": "largeTrades", "minTradeUsd": 25000, "categories": ["politics"], "onlyNewSinceLastRun": true }
{ "mode": "topHolders", "markets": ["https://polymarket.com/event/democratic-presidential-nominee-2028"], "holdersPerOutcome": 10 }
{ "mode": "walletProfile", "wallets": ["0xbe23032d56a012c531b372c7739bc1dbd4dfb587"] }
{ "mode": "smartMoney", "leaderboardPeriod": "week", "leaderboardCategory": "crypto", "topWallets": 25, "lookbackHours": 48 }
```

### Output example (trade)

```json
{
  "recordType": "TRADE",
  "tradeTime": "2026-11-24T13:17:08.000Z",
  "side": "BUY",
  "outcome": "Yes",
  "price": 0.77,
  "shares": 27018.16,
  "sizeUsd": 20803.98,
  "marketTitle": "Will Javokhir Sindarov win the 2026 World Chess Championship?",
  "eventTitle": "2026 World Chess Championship: Winner",
  "category": "Sports",
  "marketUrl": "https://polymarket.com/event/2026-world-chess-championship-winner/will-javokhir-sindarov-win-the-2026-world-chess-championship",
  "marketCurrentPrice": 0.765,
  "positionAction": "NEW_POSITION",
  "positionSharesBefore": 0,
  "positionSharesAfter": 27018.16,
  "wallet": "0xa81eefec9c08fa157d855f1ac5caf8feab1903dc",
  "walletName": "Snow-White",
  "walletTier": "PROFITABLE",
  "isSmartMoney": false,
  "walletAllTimePnlUsd": 6853.88,
  "walletWinRate": 0.535,
  "walletResolvedPositions": 200,
  "walletVolumeUsd": 8471653.92,
  "freshWallet": false,
  "isNew": null,
  "transactionHash": "0x54a7…"
}
```

`topHolders` rows (`recordType: "HOLDER"`) add `holderRank`, `avgPrice`, `entryCostUsd`, `currentValueUsd` and `unrealizedPnlUsd`. `walletProfile` and `smartMoney` wallet rows (`recordType: "WALLET"`) add `portfolioValueUsd`, `allTimePnlRank`, `leaderboardRank`, `leaderboardPnlUsd`, `topOpenPositions[]` and `recentTrades[]`.

### Pricing

Pay per result: **$0.0025 per row** (trade, holder or wallet profile), i.e. $2.50 per 1,000 rows. No start fee. Wallet enrichment and position detection are included. Use `maxItems` to cap spend.

### Scheduling whale alerts

1. Set your filters and `onlyNewSinceLastRun: true`.
2. Create a schedule (for example every 5 or 10 minutes).
3. Each run returns only trades not returned before. Connect a webhook, Slack, Make or Zapier integration to get alerts.

The first run is the baseline and returns everything that matches.

### Limits & notes

- The global trade feed lists each fill once, on its taker side. Large passive (maker) fills appear on the counterparty's row.
- Multi-leg "combo" trades have no single event. Their category is `Combo (multi-leg)`.
- Win rate covers each wallet's last 200 resolved or closed positions. PnL is the all-time realized PnL that Polymarket reports (the same number as the leaderboard).
- `topHolders` returns at most 10 markets per run. Pass single market URLs to choose which.
- The Polymarket APIs are public and rate-limited. The actor uses ~6 parallel requests with backoff.

### FAQ

**Is this financial advice?** No. It is public market data with simple derived statistics. Do your own research.

**Can I find out who is behind a wallet?** No. Wallets are pseudonymous. The actor shows only the public username or pseudonym that Polymarket publishes.

**Why are some trades in markets that are already closed?** Sports and esports markets resolve within hours, so large trades from earlier in the day can sit in markets that have already resolved.

**Does it need an API key or a Polymarket account?** No.

# Actor input Schema

## `mode` (type: `string`):

What to return. Large trades: recent trades above minTradeUsd. Top holders: biggest holders of the given markets. Profile wallets: PnL, win rate, open positions and recent trades of given wallets. Smart money: top leaderboard wallets and their latest trades.

## `minTradeUsd` (type: `integer`):

Only trades worth at least this much (shares × price). Default 10,000 for large trades and 500 for smart money.

## `lookbackHours` (type: `integer`):

How far back to look for trades (large trades and smart money modes).

## `markets` (type: `array`):

Polymarket URLs (https://polymarket.com/event/...), event or market slugs, Gamma event ids or 0x condition ids. Required for topHolders; narrows largeTrades.

## `categories` (type: `array`):

Polymarket tag slugs, e.g. politics, sports, crypto, esports, geopolitics, finance, tech, culture. Tracks the 20 most active events of each category.

## `keywords` (type: `array`):

Search terms such as "bitcoin", "trump" or "fed". Matching active events are tracked.

## `side` (type: `string`):

Only buys or only sells.

## `onlySmartMoney` (type: `boolean`):

Keep only trades/holders whose wallet is tiered SMART_MONEY (all-time realized PnL ≥ $25k with ≥ 55% win rate, or ≥ $250k).

## `wallets` (type: `array`):

0x wallet addresses, polymarket.com/profile/0x… URLs or polymarket.com/@username URLs.

## `leaderboardPeriod` (type: `string`):

Smart money mode: leaderboard window.

## `leaderboardCategory` (type: `string`):

overall, politics, sports, crypto, esports, finance, culture, tech, ...

## `leaderboardSortBy` (type: `string`):

Rank wallets by profit or by volume.

## `topWallets` (type: `integer`):

Smart money mode: how many leaderboard wallets to follow.

## `smartMoneyOutput` (type: `string`):

One row per recent trade of the top wallets, or one profile row per wallet.

## `tradesPerWallet` (type: `integer`):

Recent trades fetched per wallet (smart money and wallet profiles).

## `holdersPerOutcome` (type: `integer`):

topHolders mode: how many holders per outcome (Yes/No).

## `maxItems` (type: `integer`):

Maximum rows returned (and charged).

## `enrichWallets` (type: `boolean`):

Add each wallet's all-time PnL, win rate, volume and smart-money tier.

## `detectPositionChange` (type: `boolean`):

Label each trade NEW_POSITION, ADDING, REDUCING or FULL_EXIT from the wallet's own fill history.

## `onlyNewSinceLastRun` (type: `boolean`):

Return only trades not returned by the previous run with the same filters. Schedule the actor every few minutes for whale alerts.

## `monitorId` (type: `string`):

Separate change-detection history for otherwise identical inputs.

## `maxRunMinutes` (type: `integer`):

The run stops gracefully after this time and keeps what it found.

## `proxyConfiguration` (type: `object`):

Not needed normally: the Polymarket APIs are public.

## Actor input object example

```json
{
  "mode": "largeTrades",
  "minTradeUsd": 10000,
  "lookbackHours": 24,
  "side": "ANY",
  "onlySmartMoney": false,
  "leaderboardPeriod": "month",
  "leaderboardCategory": "overall",
  "leaderboardSortBy": "PNL",
  "topWallets": 20,
  "smartMoneyOutput": "trades",
  "tradesPerWallet": 10,
  "holdersPerOutcome": 20,
  "maxItems": 100,
  "enrichWallets": true,
  "detectPositionChange": true,
  "onlyNewSinceLastRun": false,
  "maxRunMinutes": 4
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `wallets` (type: `string`):

No description

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "largeTrades",
    "minTradeUsd": 10000
};

// Run the Actor and wait for it to finish
const run = await client.actor("donzely/polymarket-whale-tracker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "largeTrades",
    "minTradeUsd": 10000,
}

# Run the Actor and wait for it to finish
run = client.actor("donzely/polymarket-whale-tracker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "largeTrades",
  "minTradeUsd": 10000
}' |
apify call donzely/polymarket-whale-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,donzely/polymarket-whale-tracker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/dTCjibHQEacN1vySq/builds/StPQwG2nrrTFwHFH9/openapi.json
