Access real-time Polymarket prediction markets with comprehensive data analysis. Track trending events, monitor odds fluctuations, and analyze price movements across all markets. Search and filter by category, volume, or popularity to identify high-interest opportunities. Stay ahead with historical
Data & analysis
Polymarket
Try itQuery live Polymarket prediction market data including odds, trending markets, live sports, and schedules.
What it does
Read live data from Polymarket's prediction markets via the bundled Python script that calls the public Gamma API. Look up market odds and prices, browse trending and high-volume markets, search by keyword across categories such as sports, politics, crypto, business, and entertainment. Pull sports metadata, league series (NFL, NBA, MLB), tournament brackets (March Madness, World Cup), daily match schedules by sport and date, and live/in-play markets. Prices are returned on a 0–1 scale representing implied probability, which can be converted to implied odds.
When to use it
- Checking current Polymarket odds for a specific market
- Browsing trending or live sports prediction markets
- Looking up NBA, NFL, or World Cup match schedules by date
- Searching prediction markets by keyword across categories
The skill document
Polymarket Real-time Query Skill
Purpose
Query real-time prediction market data from Polymarket, including:
- Sports metadata, series, and tournament brackets
- Current odds/prices for any market
- Trending and most actively traded markets
- Live/in-play sports markets
- Search for specific markets by keyword
- Detailed event and market information with sub-markets
When to Use
Use this skill when the user asks about:
- Polymarket markets, odds, or predictions
- Current betting odds for events (sports, politics, crypto, etc.)
- Live or in-play markets
- Trending prediction markets
- Specific market or event details on Polymarket
- Tournament brackets (March Madness, World Cup)
- Sports series information (NFL, NBA, MLB seasons)
- Prediction market probabilities for real-world events
How to Use
Primary Tool: Python Query Script
Execute the bundled Python script scripts/polymarket_query.py to query Polymarket data:
python "/scripts/polymarket_query.py" [options]
A PowerShell version (scripts/polymarket_query.ps1) is available in the GitHub repository but is not included in the ClawHub package due to file type restrictions.
Schedule Sport Keywords
When using the schedule command, supported sport keywords are:
nba,basketball→ NBAnfl,football→ NFLmlb,baseball→ MLBnhl,hockey→ NHLsoccer,epl,premierleague→ English Premier League (soccer also covers all soccer leagues + World Cup + UEFA tournaments)laliga→ La Ligaligue1→ Ligue 1ucl,championsleague→ UEFA Champions Leagueuel,europaleague→ UEFA Europa Leagueueu,europaconference→ UEFA Conference Leagueworldcup,fifaworldcup,fifawc,fifa,wc,fifwc→ FIFA World Cup (slug prefixfifwc-)mls→ MLSatp,tennis→ ATP Tenniswta→ WTA Tennisufc,mma→ UFC/MMAcs2,csgo→ Counter-Strike 2lol,leagueoflegends→ League of Legendsf1,racing→ Formula 1pga,golf→ PGA Golfboxing→ Boxingcricket→ Cricket
Soccer note: The
soccerkeyword maps to multiple league prefixes (epl,lal,serie,bundes,ligue,fifwc,ucl,uel,ueu) so it returns matches from all major soccer competitions including the FIFA World Cup. Useworldcupfor World Cup matches only.
Available Commands
| Command | Parameters | Description |
|---|---|---|
categories | — | List sports metadata & popular tags (uses /sports + /tags) |
sports-meta | --limit N (default 100) | List sports metadata from /sports endpoint |
series | --limit N (default 20) | List series (NFL/NBA/etc.) from /series endpoint |
tournaments | --limit N (default 20) | List tournaments (March Madness, World Cup) from /tournaments |
trending | --limit N (default 10) | Top trending markets by 24h volume |
search | `` --limit N | Search markets by keyword in question/description |
market | ID | Get detailed market info with odds, volume, dates |
event | ID | Get event with all sub-markets and their odds |
odds | ID | Get focused odds/prices for a market |
sports | --limit N (default 15) | Show sports markets |
politics | --limit N (default 15) | Show politics markets |
crypto | --limit N (default 15) | Show crypto markets |
category | --slug X --limit N | Markets in a specific category slug |
live | --limit N (default 20) | Show live/in-play sports markets |
schedule | --sport X --date YYYY-MM-DD | Show sports schedule by sport & date |
Note on
--limit: All limit-accepting commands support both--limit Nand a bare positional integer (e.g.,trending 5works the same astrending --limit 5) for backward compatibility.
Execution Examples
# List sports metadata and popular tags (replaces old categories command)
python "/scripts/polymarket_query.py" categories
# Browse all 306 sports metadata entries
python "/scripts/polymarket_query.py" sports-meta --limit 50
# List series (NFL, NBA, MLB, etc.)
python "/scripts/polymarket_query.py" series --limit 20
# Show tournament brackets (March Madness, World Cup)
python "/scripts/polymarket_query.py" tournaments
# Top 10 trending markets
python "/scripts/polymarket_query.py" trending --limit 10
# Search for Bitcoin markets
python "/scripts/polymarket_query.py" search --keyword "Bitcoin" --limit 5
python "/scripts/polymarket_query.py" search Bitcoin 5
# Get market details
python "/scripts/polymarket_query.py" market 1862566
# Get odds for a specific market
python "/scripts/polymarket_query.py" odds 1862566
# Get event details with sub-markets
python "/scripts/polymarket_query.py" event 320112
# Show sports markets
python "/scripts/polymarket_query.py" sports --limit 15
# Show live/in-play markets
python "/scripts/polymarket_query.py" live
# Show NBA schedule for a specific date
python "/scripts/polymarket_query.py" schedule --sport nba --date 2026-04-12
# Show soccer/EPL schedule
python "/scripts/polymarket_query.py" schedule --sport soccer --date 2026-04-12
Workflow
- Identify user intent: Determine what type of Polymarket data the user wants
- Select appropriate command: Choose the script command that best matches the query
- Execute the script: Run the Python script using
execute_commandtool - Format the response: Present the results in a clear, readable format to the user in their language
Common Query Patterns
- "Polymarket上有什么热门的?" → Use
trendingcommand - "X的赔率是多少?" → Use
searchto find the market, thenoddsormarketwith the market ID - "有什么体育比赛市场?" → Use
sportscommand - "有哪些政治预测市场?" → Use
politicscommand - "有什么正在进行的比赛?" → Use
livecommand - "搜索比特币相关市场" → Use
search --keyword "Bitcoin"command - "Polymarket有哪些运动项目?" → Use
categoriesorsports-metacommand - "March Madness / 世界杯赛程结构" → Use
tournamentscommand - "NFL/NBA赛季系列信息" → Use
seriescommand - "今天NBA有什么比赛?" → Use
schedule --sport nba --date YYYY-MM-DDcommand - "4月12日的足球比赛" → Use
schedule --sport soccer --date 2026-04-12command
Understanding Odds
Polymarket uses a price-based system where:
- Price ranges from 0 to 1 (displayed as percentage, e.g., 65%)
- A "Yes" price of 0.65 means the market thinks there's a 65% probability
- Implied odds = 1 / price (e.g., 0.65 → 1.54x)
- For multi-outcome markets (e.g., "Who will win X?"), each option has its own price
Direct API Fallback
If the script is unavailable or needs adjustment, query the Gamma API directly:
# Sports metadata (replaces /categories)
curl "https://gamma-api.polymarket.com/sports?limit=100"
curl "https://gamma-api.polymarket.com/series?limit=20&active=true"
curl "https://gamma-api.polymarket.com/tournaments?limit=20"
curl "https://gamma-api.polymarket.com/tags?limit=50"
# Markets and events
curl "https://gamma-api.polymarket.com/markets?limit=10&active=true&closed=false&order=volume24hr&ascending=false"
curl "https://gamma-api.polymarket.com/markets/{market_id}"
curl "https://gamma-api.polymarket.com/events/{event_id}"
For detailed API documentation, refer to references/api_reference.md.
Important Notes
- Polymarket is a prediction market (not a traditional sportsbook). "Odds" represent probability estimates, not fixed payouts.
- There is no "real-time score" feed in the Polymarket API — for live scores of sports events, consult sports-specific APIs. However, price movements on Polymarket often reflect game progress.
- Market data is updated frequently but may have slight delays (typically seconds to minutes).
- The Python script uses
certififor SSL certificate verification if available, otherwise tries system CA bundles. On Windows systems withoutcertifi, it falls back to disabling cert verification with a warning. Installcertifi(pip install certifi) for secure connections. - A PowerShell version is available in the GitHub repository for Windows users who prefer it.
- API changes (July 2026): The
/categoriesendpoint was removed by Polymarket. Thecategoriescommand now uses/sports+/tagsendpoints. New commandssports-meta,series, andtournamentswere added to expose the new endpoints. Thecategoryquery parameter on/marketsstill works but may return loosely-related markets — for precise sport filtering, theschedulecommand uses slug-prefix matching which is more reliable. - Time zone note: Beijing time (UTC+8) is 12-13 hours ahead of US Eastern Time. NBA games played on US evening of May 4 correspond to Beijing time morning/afternoon of May 5. When the user specifies a Beijing date, query the same date OR the previous US date depending on game time.
- Legacy category slugs (still work as
categoryparam but with loose matching):sports,politics,crypto,business,coronavirus,pop-culture,science,ai
Related skills
Pulls prediction-market odds, order books, and forecast questions from Polymarket, Kalshi, and Metaculus via the Crawlora API, returning clean JSON. Use when the user asks what the market thinks will happen, wants current odds/prices for an event, wants a market's price history or order book, or wants a forecasting community's aggregate prediction on a question.
Trade Polymarket, follow top traders, and scan logical-implication hedge opportunities with enriched wallet analytics.
Query Polymarket prediction market data via The Graph subgraphs + Polymarket REST APIs (Gamma + CLOB) — 35 tools for market search, live prices, on-chain analytics, trader P&L, open interest, resolution status, and CLOB V2 builder attribution.
Use when a claim about the future comes up and you want a number instead of a guess - elections, rate decisions, sports, court dates, releases. Looks up what a Polymarket prediction market is currently pricing for that exact claim.
Research Polymarket markets, track whale flow and smart money, and (with authorization) trade via a Polygon wallet behind strict guard-rails.