# Polymarket Smart-Money & Whale Tracker (`quantfeeds/polymarket-smart-money`) Actor

Track top Polymarket wallets by profit, stream large whale trades, and rate any wallet's skill with a statistically-sound win rate.

- **URL**: https://apify.com/quantfeeds/polymarket-smart-money.md
- **Developed by:** [QuantFeeds](https://apify.com/quantfeeds) (community)
- **Categories:** AI, Agents
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 leaderboard wallet 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/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/docs.md):

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

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.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/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 Smart-Money & Whale Tracker** is a **Polymarket API** for smart-money intelligence: track the most profitable **Polymarket whale wallets**, stream **large prediction-market trades** in real time, and score any trader's skill with a statistically-sound win rate — not a naive percentage. Use it for **Polymarket copy trading research**, whale alerts, quant backtesting, or as clean structured data for **AI agents and LLM pipelines**. Run it on demand or on a schedule and pull JSON straight from the Apify API.

### What does Polymarket Smart-Money Tracker do?

It turns Polymarket's public on-chain activity into clean, structured data across three modes:

- **Smart-money leaderboard** — the top wallets ranked by all-time profit, each with trading volume and a **capital-efficiency** ratio (profit per dollar traded) so you can tell grinders from genuinely sharp traders.
- **Whale trades feed** — every recent trade above a USD threshold you set: who, which market, which side, how big, and when. This is your "smart money is moving right now" signal.
- **Wallet analysis** — a deep report on any wallet: open positions, realized and unrealized P&L, account age, top holdings, and a luck-resistant **hit-rate confidence bound** (95% Wilson lower bound — a lucky 4-for-4 wallet can't outrank a proven 180-for-300 one).

No login, no API keys, no browser automation — it reads Polymarket's own public data endpoints, so it's fast and reliable.

### Why use Polymarket Smart-Money Tracker?

- **Copy-trading research** — find and vet wallets worth following before you mirror them.
- **Alpha signals** — detect large informed trades as they land.
- **Backtesting & quant work** — export skill-rated wallet lists and trade history as structured data.
- **Market monitoring** — watch where serious capital is concentrating.

Unlike the other whale trackers on the store, this one separates **skill from luck**: a wallet with 180 wins from 300 trades outranks one with 4 from 4, because the score is confidence-adjusted.

### How to use Polymarket Smart-Money Tracker

1. Open the Actor and pick a **Mode**.
2. For the leaderboard, set how many wallets to return. For whale trades, set a minimum USD size. For wallet analysis, paste one or more wallet addresses.
3. Click **Start**.
4. Download the results as **JSON, CSV, Excel, or HTML**, or fetch them from the Apify API.

### Input

| Field | Mode | Description |
|---|---|---|
| `mode` | all | `leaderboard`, `whale_trades`, or `wallet_analysis` |
| `leaderboardLimit` | leaderboard | Number of top wallets to return (default 50) |
| `minTradeUsd` | whale_trades | Minimum trade notional in USD (default 1000) |
| `tradesLimit` | whale_trades | Max trades to return (default 100) |
| `wallets` | wallet_analysis | List of Polymarket proxy wallet addresses |

### Output

Wallet analysis returns rows like:

```json
{
  "wallet": "0xf0318c32136c2db7fec88b84869aee6a1106c80c",
  "accountAgeDays": 175,
  "portfolioValueUsd": 730516.30,
  "openPositions": 2,
  "openInvestedUsd": 358247.00,
  "openUnrealizedPnlUsd": 305921.00,
  "realizedPnlUsd": 372920.84,
  "resolvedTrades": 257,
  "resolvedWins": 12,
  "resolvedLosses": 245,
  "hitRate": 0.0467,
  "hitRateLowerBound": 0.0269,
  "topHoldings": [
    {"market": "Will Spain win the 2026 FIFA World Cup?", "outcome": "Yes", "currentValueUsd": 601963.44, "cashPnlUsd": 305498.24}
  ]
}
````

That example is a real profitable whale: a low-hit-rate longshot trader. This is why we report hit rate **and** P\&L separately instead of one misleading "score" — profitable prediction-market wallets are often right rarely but paid well when they are.

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### Data fields

| Field | Meaning |
|---|---|
| `wallet` | Polymarket proxy wallet address |
| `pnlUsd` | All-time profit (leaderboard mode) |
| `volumeUsd` | Total traded volume |
| `capitalEfficiency` | Profit divided by volume |
| `hitRate` / `hitRateLowerBound` | Share of resolved bets won, and its 95% Wilson lower bound (luck-resistant) |
| `realizedPnlUsd` / `openUnrealizedPnlUsd` | Settled vs live P\&L, reported separately |
| `portfolioValueUsd` | Current value of open positions |
| `usdValue` | Notional size of a whale trade |
| `market` / `outcome` / `side` | What was traded |

### How much does it cost?

The Actor reads lightweight JSON endpoints, so runs are cheap and fast. You are charged per result returned (see the Pricing tab). A leaderboard of 50 wallets or a feed of 100 whale trades costs a fraction of a cent in most cases; wallet analysis costs a little more because it fetches positions and history per wallet.

### Tips

- Schedule the **whale trades** mode every few minutes and connect it to Slack, Telegram, or a webhook via Apify Integrations to get live large-trade alerts.
- Feed the **leaderboard** into **wallet analysis** to rank top wallets by hit-rate confidence and realized P\&L, not just headline profit.

### FAQ and support

**Is there an official Polymarket API for whale tracking?** Polymarket exposes public data endpoints, but no ready-made smart-money layer. This Actor adds the intelligence: leaderboards, whale trade feeds, and skill-rated wallet analysis, delivered as JSON/CSV.

**Can I use this for Polymarket copy trading?** Yes — that's the core use case. Find consistently profitable wallets, check their hit-rate confidence bound and P\&L decomposition, then monitor their new large trades with the whale feed.

**Does it work for AI agents?** Yes. Output is structured JSON designed for LLM tools, RAG pipelines, and agent frameworks. Schedule it and webhook the results anywhere.

**How fresh is the data?** Every run reads Polymarket's live public endpoints — no cached databases, no stale snapshots.

**Is this legal?** The Actor only reads Polymarket's public, no-auth data endpoints and does not collect private personal information. As always, review Polymarket's terms and your local rules before commercial use.

**Why is `hitRateLowerBound` lower than `hitRate`?** By design — it's a statistical lower bound, so it stays conservative until a wallet has a real track record.

Found a bug or need a field added? Open an issue on the Actor's **Issues** tab.

# Actor input Schema

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

What to fetch. 'leaderboard' = top wallets by all-time profit. 'whale\_trades' = recent large trades. 'wallet\_analysis' = deep P\&L + skill rating for specific wallets.

## `leaderboardLimit` (type: `integer`):

How many top wallets to return (leaderboard mode).

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

Only return trades at or above this notional (whale\_trades mode).

## `tradesLimit` (type: `integer`):

Maximum number of recent large trades to return (whale\_trades mode).

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

One or more Polymarket proxy wallet addresses (wallet\_analysis mode).

## Actor input object example

```json
{
  "mode": "leaderboard",
  "leaderboardLimit": 50,
  "minTradeUsd": 1000,
  "tradesLimit": 100,
  "wallets": [
    "0xf0318c32136c2db7fec88b84869aee6a1106c80c"
  ]
}
```

# Actor output Schema

## `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 = {
    "wallets": [
        "0xf0318c32136c2db7fec88b84869aee6a1106c80c"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("quantfeeds/polymarket-smart-money").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 = { "wallets": ["0xf0318c32136c2db7fec88b84869aee6a1106c80c"] }

# Run the Actor and wait for it to finish
run = client.actor("quantfeeds/polymarket-smart-money").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 '{
  "wallets": [
    "0xf0318c32136c2db7fec88b84869aee6a1106c80c"
  ]
}' |
apify call quantfeeds/polymarket-smart-money --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Polymarket Smart-Money & Whale Tracker",
        "description": "Track top Polymarket wallets by profit, stream large whale trades, and rate any wallet's skill with a statistically-sound win rate.",
        "version": "0.1",
        "x-build-id": "8HO8M4hoBdFf0OnWY"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/quantfeeds~polymarket-smart-money/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-quantfeeds-polymarket-smart-money",
                "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/quantfeeds~polymarket-smart-money/runs": {
            "post": {
                "operationId": "runs-sync-quantfeeds-polymarket-smart-money",
                "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/quantfeeds~polymarket-smart-money/run-sync": {
            "post": {
                "operationId": "run-sync-quantfeeds-polymarket-smart-money",
                "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": [
                            "leaderboard",
                            "whale_trades",
                            "wallet_analysis"
                        ],
                        "type": "string",
                        "description": "What to fetch. 'leaderboard' = top wallets by all-time profit. 'whale_trades' = recent large trades. 'wallet_analysis' = deep P&L + skill rating for specific wallets.",
                        "default": "leaderboard"
                    },
                    "leaderboardLimit": {
                        "title": "Leaderboard size",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "How many top wallets to return (leaderboard mode).",
                        "default": 50
                    },
                    "minTradeUsd": {
                        "title": "Minimum trade size (USD)",
                        "minimum": 100,
                        "type": "integer",
                        "description": "Only return trades at or above this notional (whale_trades mode).",
                        "default": 1000
                    },
                    "tradesLimit": {
                        "title": "Max trades",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Maximum number of recent large trades to return (whale_trades mode).",
                        "default": 100
                    },
                    "wallets": {
                        "title": "Wallets to analyse",
                        "type": "array",
                        "description": "One or more Polymarket proxy wallet addresses (wallet_analysis mode).",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
