# Polymarket Top Traders Scraper — Whale Positions & Copy Feed (`tactful_anvil/polymarket-top-traders-scraper`) Actor

See what the most profitable Polymarket traders hold right now: rank, market, side, entry vs current price, size and live PnL for every whale position. Copy-trading feed, wallet watchlist, new-position alerts. HTTP-only, no login. Only position rows are charged.

- **URL**: https://apify.com/tactful\_anvil/polymarket-top-traders-scraper.md
- **Developed by:** [Mr Zack](https://apify.com/tactful_anvil) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 trader positions

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 Top Traders Scraper — Whale Positions & Copy-Trading Feed

**See exactly what the most profitable Polymarket traders are holding right now.** This Actor pulls the official Polymarket leaderboard (top PnL or top volume, daily to all-time) and then fetches every live position of those whales: market, side (Yes/No), entry price vs. current price, position size, live dollar PnL and % return.

One run = a ranked copy-trading feed. No wallet, no login, no proxies — pure fast HTTP.

### Who is this for?

- **Copy traders** — stop guessing. Follow the 25 most profitable wallets of the month and see the exact markets and sides they're betting on today, sorted by position size.
- **Prediction-market analysts & newsletter writers** — "what does smart money believe?" as a clean dataset: whale consensus per market, entry vs. current odds.
- **Quant / AI-agent builders** — a structured smart-money signal you can pull on a schedule and feed straight into your models or agents.
- **Journalists & researchers** — track how top traders position around elections, sports, crypto and macro events.

### What you get (per row)

| Field | Description |
|---|---|
| `rank`, `wallet`, `traderName`, `traderUrl` | Leaderboard rank + wallet + display name + profile link |
| `windowPnlUsd`, `windowVolumeUsd`, `window`, `rankType` | Trader's profit and volume in the chosen window (e.g. last 30 days) |
| `marketTitle`, `marketSlug`, `marketUrl`, `eventSlug` | The market they're in, with direct link |
| `outcome`, `oppositeOutcome` | Which side the whale is holding (Yes/No) |
| `sizeShares`, `avgPrice`, `curPrice` | Position size, their entry price and the current price |
| `initialValueUsd`, `currentValueUsd` | What they paid vs. what it's worth now |
| `cashPnlUsd`, `percentPnl`, `realizedPnlUsd` | Live unrealized PnL in $ and %, plus realized PnL |
| `redeemable`, `negativeRisk`, `endDate` | Market state + resolution date |
| `scrapedAt` | Snapshot timestamp |

**Modes:**

- **Leaderboard mode** (default): top N traders by PnL or volume — 24h, 7d, 30d or all-time.
- **Watchlist mode**: pass your own `wallets` list and monitor those specific traders — your private copy-trading watchlist.
- **Summary mode** (`maxPositionsPerTrader: 0`): one compact row per trader (open positions count, total open value, unrealized PnL).
- **Monitor mode** (`onlyNew: true`): remembers what it has seen and only outputs (and charges) **new** positions — perfect for "alert me when a whale opens a new bet".

### Pricing — pay only for what you get

Pay-per-event: **$0.008 per position row** ($8 per 1,000) + $0.001 per run start. Fair-play guarantee: traders with no qualifying positions, failed lookups, filtered-out positions and monitor-mode duplicates are **never charged**. Default settings (25 traders × max 25 positions) cost at most ~$5 per full snapshot, typically far less.

### Example input

```json
{
  "window": "1m",
  "rankType": "pnl",
  "topTraders": 25,
  "maxPositionsPerTrader": 25,
  "minPositionValueUsd": 1000,
  "onlyNew": false
}
```

### Schedule it (recommended)

Whale positions move daily. In Apify Console click **Schedule** on this Actor and pick e.g. `@daily`. Combine with `onlyNew: true` and you get a feed of *fresh* whale entries only — wire it to Slack/email/Zapier via Integrations, or export JSON/CSV/Excel from the dataset.

### Use with AI agents & MCP

This Actor works out of the box with the [Apify MCP server](https://mcp.apify.com) — let your AI agent (Claude, GPT, LangChain, CrewAI, n8n…) ask things like *"what are the top Polymarket whales buying today?"* and act on the answer. The output schema is stable and agent-friendly: call it via API at `https://api.apify.com/v2/acts/tactful_anvil~polymarket-top-traders-scraper/runs`, then read the default dataset items.

### Related Actors

- [Polymarket + Kalshi Arbitrage Scanner](https://apify.com/tactful_anvil/polymarket-kalshi-arbitrage-scanner) — risk-free price discrepancies across both platforms.
- [Kalshi Weather Markets Scraper](https://apify.com/tactful_anvil/kalshi-weather-markets-scraper) — every Kalshi weather market with live odds.

### Legal & fair use

This Actor reads only publicly available data from Polymarket's public API — the same data shown on public profile and leaderboard pages. No login, no scraping behind authentication. Respectful request rates. For research and information purposes; not financial advice — prediction markets involve risk, and past whale performance does not guarantee future results.

# Actor input Schema

## `window` (type: `string`):

Ranking period for the leaderboard: last day, last week, last month or all time.

## `rankType` (type: `string`):

Rank traders by realized+unrealized profit (pnl) or by traded volume (vol).

## `topTraders` (type: `integer`):

How many leaderboard traders to scan (max 50). Ignored when a wallet watchlist is given.

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

Track specific trader wallets (0x…) instead of the leaderboard — your own copy-trading watchlist.

## `maxPositionsPerTrader` (type: `integer`):

Cap the charged rows per trader (max 100). Set 0 to get one compact summary row per trader instead of positions.

## `minPositionValueUsd` (type: `integer`):

Skip positions currently worth less than this. Skipped positions are never charged.

## `includeResolved` (type: `boolean`):

Also output positions in already-resolved markets (won/lost, awaiting redeem). Off = live open positions only.

## `onlyNew` (type: `boolean`):

Remember seen positions between runs and only output (and charge) positions you have not seen before. Perfect for schedules and alerts.

## Actor input object example

```json
{
  "window": "1m",
  "rankType": "pnl",
  "topTraders": 25,
  "wallets": [],
  "maxPositionsPerTrader": 25,
  "minPositionValueUsd": 0,
  "includeResolved": false,
  "onlyNew": false
}
```

# Actor output Schema

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

// Run the Actor and wait for it to finish
const run = await client.actor("tactful_anvil/polymarket-top-traders-scraper").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("tactful_anvil/polymarket-top-traders-scraper").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 '{}' |
apify call tactful_anvil/polymarket-top-traders-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tactful_anvil/polymarket-top-traders-scraper"
        }
    }
}

```

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/8DGVE4nao2Wpymem7/builds/aGrwNvf6qBQstPWWV/openapi.json
