Install
openclaw skills install polymarket-odds-1-0-0Query Polymarket prediction market odds and events via CLI. Search for markets, get current prices, list events by category. Supports sports betting (NFL, NB...
openclaw skills install polymarket-odds-1-0-0Query real-time odds from Polymarket, the world's largest prediction market.
# Search for markets (instant via /public-search API)
polymarket search "Arsenal FC"
polymarket search "Super Bowl"
polymarket search "Bitcoin"
polymarket search "Trump"
# Browse by category
polymarket events --tag=sports
polymarket events --tag=crypto
polymarket events --tag=politics
# Get specific market details
polymarket market will-bitcoin-reach-100k
The CLI is at polymarket.mjs in this skill folder. Run with:
node /path/to/skill/polymarket.mjs <command>
| Command | Description |
|---|---|
search <query> | Search markets by keyword (recommended) |
events [options] | List active events |
market <slug> | Get market details by slug |
tags | List available categories |
price <token_id> | Get current price for a token |
book <token_id> | Get orderbook depth |
--tag=<slug> - Filter by category (crypto, politics, sports, etc.)--limit=<n> - Maximum results (default: 20)Prices = Probabilities:
Polymarket has individual match markets for soccer, NFL, NBA, and more.
# Soccer - use "FC" suffix for team names
polymarket search "Arsenal FC"
polymarket search "Manchester United FC"
polymarket search "Liverpool FC"
# NFL/NBA - team name works
polymarket search "Patriots"
polymarket search "Chiefs"
polymarket search "Lakers"
Market types available:
| Tag | Markets |
|---|---|
sports | NFL, NBA, soccer, tennis, etc. |
politics | Elections, legislation, appointments |
crypto | Price targets, ETFs, regulations |
business | IPOs, acquisitions, earnings |
tech | Product launches, AI developments |
The CLI uses these public endpoints (no auth required):
GET /public-search?q=<query> - keyword searchGET /events?active=true&closed=false - list eventsGET /markets?slug=<slug> - market detailsGET /tags - available categoriesBase URL: https://gamma-api.polymarket.com