# Polymarket Whale Tracker — Insider Scores, AI/MCP Ready (`mrlarryjohnson/polymarket-whale-tracker-pro`) Actor

Track Polymarket whales: large-trade feed with 0-100 insider scores, top holders per market, and full wallet P\&L reports. Dedup billing — the same trade is never charged twice.

- **URL**: https://apify.com/mrlarryjohnson/polymarket-whale-tracker-pro.md
- **Developed by:** [Larry Johnson](https://apify.com/mrlarryjohnson) (community)
- **Categories:** AI, MCP servers, Business
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 whale trade records

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Polymarket Whale Tracker — Insider-Scored Trades, Top Holders & Wallet P&L

Track the **smart money on Polymarket** without building a data pipeline: a clean, deduplicated **whale alert feed** of large trades (each scored 0–100 for "how unusual is this?"), **top holders** for any prediction market, and full **wallet P&L reports** — from Polymarket's public APIs, normalized into one schema. Perfect for whale alerts, copy-trading research, smart-money dashboards, and prediction-market analytics.

### Why this tracker
- **Insider-style scoring, not just size.** Every trade gets a 0–100 score from heuristics built for a private prediction-market trading engine: conviction longshots (big money at extreme odds), niche-market concentration (big fish in small pools), late-certainty sweeps (resolution-sniping pattern).
- **You are never billed twice for the same trade.** Whale-feed mode keeps a cross-run dedup store of transaction hashes — schedule it hourly and you only pay for *new* events.
- **Partial-failure resilient.** One delisted market or bad wallet never kills your run; you get the error inline and everything else completes.
- **Every record carries the on-chain `tx` hash** — verify any trade independently on Polygonscan. No black-box numbers.
- **No API keys, no wallet, no login** — public Polymarket endpoints only. Works out of the box.

### Modes
| Mode | What you get | Typical use |
|---|---|---|
| `whale-feed` | All trades ≥ `minTradeUsd` across Polymarket, insider-scored | Whale alerts (webhook/Slack/Telegram), smart-money dashboards |
| `market-whales` | Top holders + recent whale trades for given market slugs | Research one election/race/event in depth |
| `wallet-tracker` | Positions, open P&L, recent activity per wallet | Follow specific proven traders (copy-trading research) |

### Quick start
1. Pick a mode (default `whale-feed` works with zero config).
2. Run once to see the data, then **schedule it** (every 10–60 min) for a continuous feed.
3. Add an Apify **webhook integration** to pipe new whales straight into Slack, Discord, Telegram, or your own endpoint.

### Input reference
| Field | Mode | Default | Notes |
|---|---|---|---|
| `mode` | — | `whale-feed` | `whale-feed` \| `market-whales` \| `wallet-tracker` |
| `minTradeUsd` | whale-feed, market-whales | 10000 | Only trades at/above this USD size |
| `maxResults` | whale-feed | 100 | Hard cap per run — bounds your cost |
| `dedupAcrossRuns` | whale-feed | true | Never output (or bill) the same tx twice |
| `markets` | market-whales | [] | Market slugs from the polymarket.com URL (max 25) |
| `topHolders` | market-whales | 10 | Largest holders returned per market |
| `wallets` | wallet-tracker | [] | Proxy wallet addresses 0x… (max 50) |
| `maxPositions` | wallet-tracker | 25 | Open positions per wallet report |
| `activityLimit` | wallet-tracker | 25 | Recent trades/redemptions per wallet report |

### Sample output (whale-feed)
```json
{
  "detectedAt": "2026-06-09T19:40:11+00:00",
  "tx": "0x8be0...",
  "wallet": "0xd1049158a102840ce595efc6ab683a0cb6fbacef",
  "trader": "pilimili",
  "side": "BUY",
  "outcome": "Yes",
  "price": 0.9705,
  "shares": 19419.75,
  "usd": 18847.27,
  "title": "Israel closes its airspace by June 9?",
  "slug": "israel-closes-its-airspace-by-june-9",
  "link": "https://polymarket.com/event/israel-closes-its-airspace-by-june-9",
  "score": 30
}
````

### What the 0–100 insider score means

| Signal | Points | Why it matters |
|---|---|---|
| Trade size ($1k → $100k+) | up to 45 | Bigger bets = stronger conviction |
| Conviction longshot (big BUY ≤ 15¢ / SELL ≥ 85¢) | +20 | Informed traders take asymmetric odds |
| Niche market (< $50k daily volume) | +25 | Big fish in small pools move first |
| Late-certainty sweep (≥ 95¢ BUY ≥ $20k) | +10 | Classic resolution-sniping pattern |

Score ≥ 60 is rare and worth a look; sort the dataset by `score` descending.

### Pricing

Pay-per-event: you're charged only for records actually delivered (new whale trades / market snapshots / wallet reports). Set `maxResults` to hard-cap any run's cost; dedup means scheduled runs only pay for genuinely new activity.

### Use with AI agents (Claude, Cursor, n8n — MCP)

This Actor works out of the box as an **MCP tool**. Point your agent at Apify's hosted MCP server and it can call the Actor directly:

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=mrlarryjohnson/polymarket-whale-tracker-pro"
    }
  }
}
```

OAuth sign-in happens on first connect (or use an `Authorization: Bearer <APIFY_TOKEN>` header). Your agent can then fetch live insider-scored whale trades, market holders, or wallet P\&L on demand and reason over the results — same pay-per-event pricing, no extra setup.

### FAQ

- **Do I need API keys or a crypto wallet?** No — public Polymarket endpoints only.
- **How fresh is the data?** Each run pulls live data; schedule the actor (e.g. every 10–60 min) for a near-real-time whale feed.
- **Can I export to CSV / Excel / JSON?** Yes — standard Apify dataset export formats.
- **Does it cover sports, elections, crypto markets?** All of Polymarket — every market, every category.
- **Is this financial advice?** No. Informational data only.

### Changelog

- **0.1** — initial release: three modes (whale feed, market whales, wallet tracker), 0–100 insider scoring, cross-run dedup billing.

# Actor input Schema

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

whale-feed = global large-trade feed (insider-scored). market-whales = top holders + recent whale trades for given market slugs. wallet-tracker = positions, P\&L and activity for given wallets.

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

Only surface trades at or above this dollar size.

## `maxResults` (type: `integer`):

Cap on records returned per run — protects your pay-per-event budget.

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

Polymarket market slugs, e.g. from the URL polymarket.com/event/<slug>. Max 25.

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

Polymarket proxy wallet addresses (0x...). Max 50.

## `topHolders` (type: `integer`):

How many of the largest holders to return per market (market-whales mode).

## `maxPositions` (type: `integer`):

Cap on open positions included in each wallet report.

## `activityLimit` (type: `integer`):

How many recent trades/redemptions to include in each wallet report.

## `dedupAcrossRuns` (type: `boolean`):

Never output (or bill) the same transaction twice across scheduled runs.

## Actor input object example

```json
{
  "mode": "whale-feed",
  "minTradeUsd": 10000,
  "maxResults": 100,
  "markets": [],
  "wallets": [],
  "topHolders": 10,
  "maxPositions": 25,
  "activityLimit": 25,
  "dedupAcrossRuns": true
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("mrlarryjohnson/polymarket-whale-tracker-pro").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 = {}

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

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

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

```

## CLI example

```bash
echo '{}' |
apify call mrlarryjohnson/polymarket-whale-tracker-pro --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=mrlarryjohnson/polymarket-whale-tracker-pro",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Polymarket Whale Tracker — Insider Scores, AI/MCP Ready",
        "description": "Track Polymarket whales: large-trade feed with 0-100 insider scores, top holders per market, and full wallet P&L reports. Dedup billing — the same trade is never charged twice.",
        "version": "0.1",
        "x-build-id": "35DnNkOdqs4uMrrBb"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/mrlarryjohnson~polymarket-whale-tracker-pro/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-mrlarryjohnson-polymarket-whale-tracker-pro",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/mrlarryjohnson~polymarket-whale-tracker-pro/runs": {
            "post": {
                "operationId": "runs-sync-mrlarryjohnson-polymarket-whale-tracker-pro",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/mrlarryjohnson~polymarket-whale-tracker-pro/run-sync": {
            "post": {
                "operationId": "run-sync-mrlarryjohnson-polymarket-whale-tracker-pro",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "mode"
                ],
                "properties": {
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "whale-feed",
                            "market-whales",
                            "wallet-tracker"
                        ],
                        "type": "string",
                        "description": "whale-feed = global large-trade feed (insider-scored). market-whales = top holders + recent whale trades for given market slugs. wallet-tracker = positions, P&L and activity for given wallets.",
                        "default": "whale-feed"
                    },
                    "minTradeUsd": {
                        "title": "Minimum trade size (USD)",
                        "minimum": 100,
                        "type": "integer",
                        "description": "Only surface trades at or above this dollar size.",
                        "default": 10000
                    },
                    "maxResults": {
                        "title": "Max results (whale-feed)",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Cap on records returned per run — protects your pay-per-event budget.",
                        "default": 100
                    },
                    "markets": {
                        "title": "Market slugs (market-whales mode)",
                        "type": "array",
                        "description": "Polymarket market slugs, e.g. from the URL polymarket.com/event/<slug>. Max 25.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "wallets": {
                        "title": "Wallet addresses (wallet-tracker mode)",
                        "type": "array",
                        "description": "Polymarket proxy wallet addresses (0x...). Max 50.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "topHolders": {
                        "title": "Top holders per market",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "How many of the largest holders to return per market (market-whales mode).",
                        "default": 10
                    },
                    "maxPositions": {
                        "title": "Max positions per wallet (wallet-tracker mode)",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Cap on open positions included in each wallet report.",
                        "default": 25
                    },
                    "activityLimit": {
                        "title": "Recent activity rows per wallet (wallet-tracker mode)",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "How many recent trades/redemptions to include in each wallet report.",
                        "default": 25
                    },
                    "dedupAcrossRuns": {
                        "title": "Dedup across runs (whale-feed)",
                        "type": "boolean",
                        "description": "Never output (or bill) the same transaction twice across scheduled runs.",
                        "default": true
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
