# Polymarket Top Traders Leaderboard, Verified P\&L + Signals (`mrlarryjohnson/polymarket-top-traders`) Actor

Polymarket trader leaderboard by P\&L or volume, per category and time window — enriched with live positions, verified open P\&L, cross-window consistency, and activity stats for copy-trading research.

- **URL**: https://apify.com/mrlarryjohnson/polymarket-top-traders.md
- **Developed by:** [Larry Johnson](https://apify.com/mrlarryjohnson) (community)
- **Categories:** AI, MCP servers, Agents
- **Features:** Limited permissions
- **Stats:** 28 total users, 3 monthly users, 37.5% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 leaderboard 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 Top Traders — Leaderboard + Verified P\&L Profiles

> **Not financial advice.** Informational data only. Scores are statistical heuristics about trade size and patterns; they do not mean anyone has inside or non-public information.

The Polymarket **trader leaderboard** (by P\&L or volume, per category, per time window) — plus what raw leaderboards never tell you: **is this trader actually worth following?** Enriched mode adds each trader's **live open positions, verified open P\&L, cross-window consistency, and recent activity stats**, straight from Polymarket's public APIs. Built for copy-trading research, smart-money tracking, and prediction-market analytics.

### Why this one

- **Leaderboards lie by omission.** A trader can top the DAY board with one lucky longshot. We check every top trader against **all four windows (DAY / WEEK / MONTH / ALL)** and report how many they rank in — one-hit wonders are obvious at a glance.
- **Verified open P\&L, not just the headline number.** For each enriched trader you get their current positions, portfolio value, and open P\&L computed from the live positions API — every number traceable, nothing modeled.
- **Copy-trading signals included:** `tradesLast7d`, `avgTradeUsd7d`, `activeLast7d`, `lastActivityAt` — know whether the trader is still active before you follow them.
- **Partial-failure resilient.** One bad wallet never kills your run.
- **No API keys, no wallet, no login** — public Polymarket endpoints only.

### Modes

| Mode | What you get | Typical use |
|---|---|---|
| `leaderboard` | Raw ranked rows: rank, P\&L, volume, username, wallet | Cheap bulk ranking data, dashboards |
| `enriched` | Top N traders + consistency across windows + live positions/P\&L + activity stats | "Who is worth copying?" research |
| `profiles` | The same rich profile for explicit wallet addresses | Track specific traders over time |

### Categories & windows

All 10 Polymarket categories (`OVERALL`, `POLITICS`, `SPORTS`, `CRYPTO`, `CULTURE`, `MENTIONS`, `WEATHER`, `ECONOMICS`, `TECH`, `FINANCE`) × 4 time windows (`DAY`, `WEEK`, `MONTH`, `ALL`), ranked by `PNL` or `VOL`.

### Sample output (enriched)

```json
{
  "rank": 2,
  "wallet": "0x3496...",
  "userName": "skk1ch",
  "pnlUsd": 441523.58,
  "volumeUsd": 202503.98,
  "category": "OVERALL",
  "window": "WEEK",
  "windowsRanked": {"DAY": 5, "WEEK": 2, "MONTH": 11, "ALL": 40},
  "consistency": "4/4 windows in top 50",
  "profile": {
    "openPositions": 12,
    "portfolioValueUsd": 380211.40,
    "openPnlUsd": 25103.22,
    "topPositions": [{"title": "...", "outcome": "Yes", "cashPnl": 8121.50}],
    "tradesLast7d": 34,
    "avgTradeUsd7d": 11842.10,
    "activeLast7d": true
  },
  "profileUrl": "https://polymarket.com/profile/0x3496..."
}
```

### Quick start

1. Run with defaults — top 25 `OVERALL` weekly P\&L leaders.
2. Switch to `enriched` mode to vet the top 10 before following anyone.
3. Schedule it daily and diff the results to catch new names entering the boards.
4. Pipe into the **Polymarket Whale Tracker** actor (same author) to watch the wallets you picked in real time.

### Pricing

Pay-per-event: cheap `leaderboard-row` events for raw rows; `trader-profile` events only for the rich enriched/profile records you actually receive.

### 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-top-traders"
    }
  }
}
```

OAuth sign-in happens on first connect (or use an `Authorization: Bearer <APIFY_TOKEN>` header). Your agent can then fetch trader leaderboards and verified P\&L profiles 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.
- **Where do the numbers come from?** Polymarket's own leaderboard, positions, and activity APIs — every record links to the trader's public profile page.
- **Can I export CSV / Excel / JSON?** Yes — standard Apify dataset exports.
- **Is this financial advice?** No. Informational data only.

### Changelog

- **0.1** — initial release: leaderboard / enriched / profiles modes, cross-window consistency, live open P\&L verification.

### More tools by this maker

| Tool | What it does |
|---|---|
| [Polymarket Whale Tracker Pro](https://apify.com/mrlarryjohnson/polymarket-whale-tracker-pro) | Unusual-activity-scored large trades, top holders, wallet P\&L |
| [Polymarket Top Traders](https://apify.com/mrlarryjohnson/polymarket-top-traders) | Leaderboards with cross-window consistency + verified P\&L |
| [Polymarket MCP Server](https://apify.com/mrlarryjohnson/polymarket-mcp-server) | The same live data as native AI-agent tools (MCP) |
| [Hyperliquid Whale Tracker](https://apify.com/mrlarryjohnson/hyperliquid-whale-tracker) | Scored perp trades w/ counterparty addresses, funding/OI, wallet PnL |
| [Web Search MCP Server](https://apify.com/mrlarryjohnson/web-search-mcp-server) | Multi-engine web/news search + instant answers for AI agents |

Same engineering rules everywhere: fail-loud data integrity, dedup-before-billing, errors never billed.

# Actor input Schema

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

leaderboard = raw ranked rows (cheap). enriched = top traders with live positions, open P\&L, cross-window consistency. profiles = the same rich profile for explicit wallet addresses.

## `category` (type: `string`):

Market category to rank traders in.

## `timePeriod` (type: `string`):

Ranking window for the leaderboard.

## `orderBy` (type: `string`):

Rank traders by realized profit (PNL) or by trading volume (VOL).

## `limit` (type: `integer`):

How many leaderboard rows to return (Polymarket caps at 50 per page; use offset to page).

## `offset` (type: `integer`):

Pagination offset into the leaderboard (0-1000).

## `enrichTop` (type: `integer`):

How many of the top leaderboard traders get the full profile treatment. Each enriched trader is one billable trader-profile event.

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

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

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

How many of the largest open positions to include in each trader profile.

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

How many recent activity rows to sample when computing trade stats (tradesLast7d, avgTradeUsd7d).

## Actor input object example

```json
{
  "mode": "leaderboard",
  "category": "OVERALL",
  "timePeriod": "WEEK",
  "orderBy": "PNL",
  "limit": 10,
  "offset": 0,
  "enrichTop": 10,
  "wallets": [],
  "maxPositions": 10,
  "activityLimit": 50
}
```

# Actor output Schema

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

All records produced by this run as JSON items.

# 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": "leaderboard",
    "category": "OVERALL",
    "timePeriod": "WEEK",
    "orderBy": "PNL",
    "limit": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrlarryjohnson/polymarket-top-traders").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": "leaderboard",
    "category": "OVERALL",
    "timePeriod": "WEEK",
    "orderBy": "PNL",
    "limit": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("mrlarryjohnson/polymarket-top-traders").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": "leaderboard",
  "category": "OVERALL",
  "timePeriod": "WEEK",
  "orderBy": "PNL",
  "limit": 10
}' |
apify call mrlarryjohnson/polymarket-top-traders --silent --output-dataset

```

## MCP server setup

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

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/En1FkMUwfOK0D9SJD/builds/CAB7FvnwJ6NLWRp7b/openapi.json
