PolymarketScan API: Free Polymarket Data
REST API for Polymarket data with a free API key. Access wallet profiles, PnL, trade history, market data, an indexed-trader leaderboard, whale trades, and alerts. A free key allows 30 requests per minute and 50,000 per month.
API Overview
- Base URL
- https://polymarketscan.org/functions/v1/public-api
- Authentication
- An API key, sent in the x-api-key header
- Rate Limit
- 30 requests per minute and 50,000 per month on a free key. The monthly allowance resets on the 1st at UTC midnight.
- Format
- REST / JSON
- Cost
- Free to get started
Quick Start
Send your API key in the x-api-key header. Keep the key on your server: not in public browser code, and not in a URL.
curl --fail-with-body -H "x-api-key: YOUR_API_KEY" "https://polymarketscan.org/functions/v1/public-api?endpoint=markets&limit=10"
Data Endpoints
Wallet Profile
Get trading stats for a wallet: PnL, volume, win rate, best trade.
GET ?endpoint=wallet_profile&address=0x1234...abcd
Wallet Trades
Get paginated trade history for a specific wallet: its taker fills, newest first. Supports limit (max 500). To page, pass meta.next_cursor back as cursor until it comes back null.
GET ?endpoint=wallet_trades&address=0x1234...abcd&limit=50
Wallet PnL
Get PnL summary and daily timeseries for a wallet. The daily series is Polymarket's trade P&L; a day Polymarket could not compute is left out, never shown as 0.
GET ?endpoint=wallet_pnl&address=0x1234...abcd
Markets List
Get cached unresolved markets whose close time is in the future, sorted by measured 24h volume. Supports pagination and a category filter.
GET ?endpoint=markets&limit=10&category=crypto
Market Data
Get cached data for a specific market by slug or market_id.
GET ?endpoint=market_data&slug=will-bitcoin-hit-100k
Leaderboard
Get indexed traders ranked by total PnL, with a minimum of 10 recorded trades. Supports limit (max 100).
GET ?endpoint=leaderboard&limit=25
Whale Trades
Recent archived trades with a size of at least 1,000 shares across markets. size is a share count, not USD: multiply size by price for the cash amount. This is a bounded result from the trade archive, not a complete live tape.
GET ?endpoint=whale_trades&limit=10
Market Whale Trades
Cached whale trades for a specific market, filtered by USD size. The aggregate stats (volume, buy/sell split, unique wallets) describe the returned page, not the whole market.
GET ?endpoint=market_whales&market_slug=will-bitcoin-hit-100k&min_size=5000&limit=20
Deposits and Withdrawals
Fetch incoming or outgoing native and bridged USDC transfers for a Polygon wallet. Each reads the latest 1,000 transfers per token contract, so neither is a complete lifetime history.
GET ?endpoint=deposits&address=0x1234...abcd
GET ?endpoint=withdrawals&address=0x1234...abcd
Alerts API
Create price, liquidity, and time alerts, and save whale-alert configurations. Requires an API key with a linked wallet address. These are POST requests: the endpoint goes in the query string and the parameters in a JSON body.
Price Alerts
Alert when a market outcome price crosses a threshold (above or below).
POST ?endpoint=alerts_create_price
{"token_id":"YOUR_TOKEN_ID","outcome":"Yes","above_threshold":0.8}
Liquidity Alerts
Alert based on fill simulation: triggers when a trade of given size can fill at target price.
POST ?endpoint=alerts_create_liquidity
{"token_id":"YOUR_TOKEN_ID","outcome":"Yes","side":"BUY","size_shares":500}
Time Alerts
Alert before a market closes/expires.
POST ?endpoint=alerts_create_time
{"market_end_date":"2027-01-01T00:00:00Z","alert_before_minutes":30}
Whale Trade Alerts
Save a whale-trade alert configuration for any wallet, or a specific one, and a USD threshold. Notification delivery is not active.
POST ?endpoint=whale_alerts_create_trade
{"min_size_usd":10000,"target_wallet":"YOUR_WALLET_ADDRESS"}
Whale Deposit Alerts
Save a USDC deposit or withdrawal alert configuration for a tracked wallet. Notification delivery is not active.
POST ?endpoint=whale_alerts_create_deposit
{"target_wallet":"YOUR_WALLET_ADDRESS","min_amount_usd":50000}
Response Format
A successful response is JSON with ok, data, and response_time_ms fields. An error is JSON with an error string, and a rate-limit error answers HTTP 429. Example success response:
{"ok":true,"data":{...},"response_time_ms":142}
MCP Server
PolymarketScan also provides a read-only MCP (Model Context Protocol) server at https://mcp.polymarketscan.org/mcp, so AI agents can query Polymarket data through structured tool calls with no API key. In ChatGPT the same server is listed as the PredictionScan app.