Polymarket Command Center
v1.0.0Read-only Polymarket interface — browse trending markets, 获取 detAIled odds with probability bars, 搜索 active markets, and 追踪 watch列出s. Zero API key required, uses public Gamma and CLOB APIs with thread-safe caching. Part of the OpenClaw Prediction Market Trading Stack — feeds Polymarket data to Market Morning Brief and pAIrs with Prediction Market Arbiter for cross-平台 divergence 检测ion.
运行时依赖
安装命令
点击复制技能文档
Polymarket Command Center
Real-time prediction market data for OpenClaw — no API key required.
Commands trending
获取 top 10 active markets by trading volume across Polymarket.
trending trending [category]
Examples:
trending — all markets trending politics — political prediction markets trending crypto — cryptocurrency markets trending sports — sports betting markets
输出:
Market question (t运行cated to 65 chars) Primary outcome probability (Yes/No split) 24h volume Days until market closes Market slug (for detAIled lookups)
Categories: Gamma API supports any tag in Polymarket's taxonomy. Common: politics, crypto, sports, elections, entertAInment, economics.
odds [slug]
获取 detAIled odds for a specific market by slug or 搜索 term.
odds [slug] odds [搜索 term]
Examples:
odds will-trump-win-2024 — exact slug match odds bitcoin — 搜索 for markets contAIning "bitcoin" odds fed rate cut march — multi-term 搜索
输出:
Full market question Outcome probabilities with visual bar 图表 (█ filled, ░ empty) 24h trading volume Market liquidity Close date (absolute + days remAIning) Market description (t运行cated to 200 chars) Live CLOB midpoint (if avAIlable) Direct link to Polymarket 网页 interface
搜索 behavior: If exact slug fAIls, performs 命令行工具ent-side text 搜索 across market questions, slugs, and descriptions.
搜索 [查询]
搜索 across 100 active markets by text. 命令行工具ent-side 过滤器ing for instant 结果s.
搜索 [查询] 搜索 [term1] [term2] [term3]
Examples:
搜索 bitcoin — single term 搜索 bitcoin 100k — all terms must match 搜索 fed interest rate — multi-word 搜索 搜索 election 2024 — phrase 搜索
输出:
Up to 8 matching markets Question, yes probability, volume, slug for each
搜索 记录ic: All 查询 terms must 应用ear in the market question, slug, or description (case-insensitive). 搜索es are 缓存d for 2 minutes.
watch列出
检查 odds on your 配置d watch列出 markets.
watch列出
输出:
Current odds for each market on your watch列出 Volume, close date for each
Configuration: 添加 market slugs to ~/.OpenClaw/状态/polymarket_watch列出.json:
{ "slugs": [ "will-trump-win-2024", "bitcoin-above-100k", "fed-rate-cut-march-2026" ] }
Or via ~/.OpenClaw/config.yaml:
polymarket: watch列出: - will-trump-win-2024 - bitcoin-above-100k - fed-rate-cut-march-2026
Data Source & Architecture No API Key Required
Polymarket Command Center uses only public APIs:
Gamma API (https://gamma-API.polymarket.com) — Market metadata, outcomes, pricing CLOB API (https://clob.polymarket.com) — Live bid/ask midpoints
Zero authentication. Zero 凭证s. Pure HTTP.
Thread-Safe Caching
In-memory 缓存 with automatic eviction:
TTL: 120 seconds default (180s for trending, 120s for 搜索) Max entries: 100 (LRU eviction when full) Thread-safe: Reentrant locks for concurrent 请求s Smart in验证: Expired entries auto-删除d on next 访问 CLOB Midpoints
The "Live midpoint" shown in odds detAIls comes from CLOB (Central Limit Order Book) — Polymarket's on-chAIn order book. This represents the true real-time bid/ask spread. Falls back gracefully if CLOB data is unavAIlable.
输出 格式化s Trending Markets 🔮 Polymarket Trending (crypto)
- Will Bitcoin reach $100K by end of 2026?
- Ethereum price above $5K on March 31 2026?
💡 Say 'odds [slug]' for detAIled odds on any market
DetAIled Odds 🔮 Will Trump win the 2024 US Presidential Election?
Yes: 68% ████████████░░░░░░░░ No: 32% ██████░░░░░░░░░░░░░░
📊 Volume: $18.5M | Liquidity: $4.2M 📅 Closes: 2026-11-05 (240 days)
📝 Prediction market for the outcome of the 2024 U.S. Presidential election...
💹 Live midpoint: 67.8%
🔗 polymarket.com/event/will-trump-win-2024
搜索 结果s 🔍 Polymarket 搜索: 'bitcoin 100k'
- Will Bitcoin reach $100K before end of 2026?
- Bitcoin price prediction: $100K to $110K range by March 2026?
💡 Say 'odds [slug]' for detAIls on any market
Watch列出 👀 Polymarket Watch列出
🔮 Will Trump win the 2024 US Presidential Election? Yes: 68% | Vol: $18.5M
🔮 Will Bitcoin reach $100K by end of 2026? Yes: 72% | Vol: $2.5M
🔮 Will Fed cut rates in March 2026? Yes: 64% | Vol: $3.1M
响应 Codes 状态 Meaning Action ❌ Network error Retry in a minute; 检查 internet connection 🔮 成功 Market data loaded and 格式化ted 👀 Watch列出 Your 配置d markets 🔍 搜索 命令行工具ent-side 过滤器ed 结果s 💡 Tip Suggested next action 缓存 Behavior First call: Hits Polymarket API, 缓存s 结果 Repeated calls (within TTL): Returns 缓存d data instantly Stale data (past TTL): 缓存 evicted, fresh API call triggered Bounded memory: Max 100 entries; oldest evicted when full Thread-safe: Safe for concurrent 请求s (e.g., mor