polymarket-query
This skill should be used when the user wants to query real-time data from Polymarket (https://polymarket.com/), including market categories, trending markets, event details, market odds/prices, live/in-play sports markets, and search for specific prediction markets across all categories such as sports, politics, crypto, business, entertainment, and more. It provides access to Polymarket's public Gamma API and CLOB API for real-time odds, volumes, and market information.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/amurtiger01/polymarket-queryPolymarket Real-time Query Skill
Purpose
Query real-time prediction market data from Polymarket, including:
- All market categories (Sports, Politics, Crypto, Business, Entertainment, AI, etc.)
- 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
- 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 "<skill_dir>/scripts/polymarket_query.py" <command> [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 Leaguelaliga→ La Ligaligue1→ Ligue 1ucl,championsleague→ UEFA Champions Leaguemls→ 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
Available Commands
| Command | Parameters | Description |
|---|---|---|
categories | — | List all market categories and sub-categories |
trending | --limit N (default 10) | Show top trending markets by 24h volume |
search | --keyword X --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 10) | Show sports markets |
politics | --limit N (default 10) | Show politics markets |
crypto | --limit N (default 10) | Show crypto markets |
category | --slug X --limit N | Markets in a specific category slug |
live | — | Show live/in-play sports markets |
schedule | --sport X --date YYYY-MM-DD | Show sports schedule by sport & date |
Execution Examples
# List all categories
python "<skill_dir>/scripts/polymarket_query.py" categories
# Top 10 trending markets
python "<skill_dir>/scripts/polymarket_query.py" trending --limit 10
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-amurtiger01-polymarket-query": {
"enabled": true,
"auto_update": true
}
}
}