Developers
Build on the whale flow.
The Polywhaler API serves the whale trades, wallet scores and market signals behind the app, as JSON over REST, with webhooks, bulk exports and bulk backtests.
curl -G "https://polywhaler.com/api/v2/trades" \
-d minAmount=50000 \
-d minInsiderScore=60 \
-d limit=1 \
-H "Authorization: Bearer $POLYWHALER_API_KEY"{
"data": [
{
"id": "0x6f1c…ddee",
"venue": "polymarket",
"wallet": "0x5c1d…d913",
"side": "BUY",
"outcome": "Yes",
"priceProbability": 0.18,
"amountUsd": 72500,
"tradedAt": "2026-10-09T14:03:27.000Z",
"market": { "title": "Fed Decision in October?", "category": "economy", … },
"insider": { "score": 74, "breakdown": { "conviction": 32, "timing": 10, … } }
}
],
"meta": { "venue": "polymarket" },
"pagination": { "limit": 1, "hasMore": true, "nextCursor": "eyJ2Ijox…" }
}Developer portal
Keys, logs and webhooks in one place.
Shown here with sample data.
The data behind the app.
The same trades, scores and rankings as Polywhaler itself, so what you build matches what you see. Every endpoint is in the OpenAPI spec.
Whale trades
Polymarket and Kalshi whale trades, filtered by size, side, category and insider score, newest first.
Wallets
Any wallet's profile, rank, open positions, trade history and the clusters it trades in.
Smart Money
The ranked board, the top wallets' trades, flow by category and each wallet's score history, with the methodology version on every response.
Insider signals
Insider scores and their factors on Polymarket buys, suspicious events and coordinated clusters.
Markets and flow
Whale volume by event, smart-money flow by category, and the positions your whales agree on.
Crypto and research
Polymarket's open crypto price markets by asset, window and type, the Bitcoin forecast and its markets, The Prophet's editions and the black swan radar.
Smart Money
Follow the wallets that keep winning.
Pull the ranked leaderboard, the cohort's trades as they land, net flow by category and any wallet's score history, or subscribe to trade.smart_money and wallet.rank_changed.
curl -G "https://polywhaler.com/api/v2/smart-money/trades" \
-d maxRank=25 \
-d minAmount=25000 \
-H "Authorization: Bearer $POLYWHALER_API_KEY"
# Each trade carries the wallet's standing on the board:
# "smartMoney": { "rank": 3, "score": 87.4, "tier": "genius", … }Webhooks
Push, don't poll.
Register an https endpoint and Polywhaler posts each event to it, Polymarket trades seconds after the fill, signed to the Standard Webhooks spec so you can check it came from us and reject replays. Trade events can be narrowed by venue, size, category, side, insider score and rank; failed deliveries are retried with backoff for about a day.
- trade.whale
- trade.smart_money
- trade.followed_wallet
- trade.insider_flagged
- trade.vindicated
- wallet.rank_changed
- wallet.score_changed
- leaderboard.updated
- cluster.detected
- consensus.detected
- black_swan.status_changed
- oracle.edition_published
- export.completed
- export.failed
- backtest.completed
- btc_forecast.updated
import { Webhook } from "standardwebhooks"
// Standard Webhooks: webhook-id, webhook-timestamp, webhook-signature
const wh = new Webhook(process.env.POLYWHALER_WEBHOOK_SECRET) // "whsec_..."
export function receive(rawBody, headers) {
// Throws on a bad signature or a replayed, stale timestamp.
return wh.verify(rawBody, headers)
}Bulk exports
Export it for your backtests.
Ask for up to 100,000 Polymarket whale trades or resolved outcomes at a time, as CSV, JSON or Parquet. The file is usually ready within minutes, and an export.completed webhook tells you when it is.
curl -X POST "https://polywhaler.com/api/v2/exports" \
-H "Authorization: Bearer $POLYWHALER_API_KEY" \
-H "Idempotency-Key: backtest-2026-10" \
-H "Content-Type: application/json" \
-d '{ "dataset": "outcomes", "format": "parquet" }'Bulk backtests
Backtest fifty traders in one call.
Send up to 50 copy-trading runs: wallets, a start date up to a year back, fixed or proportional sizing. Orca's engine replays each one twice, at the traders' own prices and at prices a copier could have gotten, and returns the return, drawdown and daily equity curve of both.
curl -X POST "https://polywhaler.com/api/v2/backtests" \
-H "Authorization: Bearer $POLYWHALER_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "runs": [{
"wallets": ["0x5c1d7e93a0b4f26c8e1a9d3b7f05c2e4a6b8d913"],
"startAt": "2026-08-01",
"startingBalanceUsd": 10000,
"sizing": { "mode": "proportional", "ratio": 0.05 }
}] }'Part of Quant.
The API comes with the Quant plan, Regular price $99, now $59 a month, or Regular price $599, now $359 a year for a limited time, along with everything in Pro.
- requests a day
- 10,000
- requests a day
- requests a minute per key
- 100
- requests a minute per key
- webhook events
- 16
- webhook events
FAQs
Which plan includes the API?
Quant. API keys, webhooks, bulk exports and bulk backtests are part of the Quant plan, $59 a month, or $359 a year on a limited-time offer (regularly $99 a month, or $599 a year). Pro does not include API access.
Can I backtest copy-trading strategies through the API?
Yes. POST /v2/backtests runs up to 50 Orca copy-trading backtests in one request: different wallets, start dates up to a year back, and fixed or proportional sizing. Each run comes back priced at the traders' own prices and at prices a copier could have gotten after a detection delay and fees, with return, drawdown, win rate and a daily equity curve. Results also show in the Developer portal, and a backtest.completed webhook tells you when a batch is done.
How do I authenticate?
Create a key in the Developer portal and send it as a Bearer token in the Authorization header. Keys start with pwhk_, are shown once, can be read-only or limited to the scopes you pick, can expire, and you can have up to 5 at a time.
What are the rate limits?
10,000 requests a day, reset at midnight UTC, and up to 100 requests a minute per key. Every response carries RateLimit headers, and a 429 says when to retry. The Developer portal shows your usage by day, endpoint and key, and 14 days of request logs.
Does the API cover Kalshi?
The trades endpoint and the trade.whale webhook cover Polymarket and Kalshi (venue=kalshi or venue=all). The other endpoints, webhooks and exports cover Polymarket.
Is there an SDK?
Not yet. The API is JSON over HTTPS with a public OpenAPI 3.1 document at /api/v2/openapi.json, so any HTTP client works, and you can generate a typed client from it.
How fresh is the data?
Whale trades sync every minute. The leaderboard refreshes every 15 minutes and the Bitcoin forecast every hour. Crypto markets are refreshed from Polymarket every minute and the short up-or-down rounds every 15 seconds; meta.updatedAt says when a copy was read, and meta.stale marks the last good copy while Polymarket does not answer.

