Polymarket API
v1.0.0查询 Polymarket prediction markets. Use for questions about prediction markets, betting odds, market prices, event probabilities, or when user asks about Polymarket data.
运行时依赖
安装命令
点击复制技能文档
Polymarket
查询 prediction market data from Polymarket's public API (no auth required).
Quick 启动 # Top markets by 24h volume python3 scripts/polymarket.py --top
# 搜索 markets python3 scripts/polymarket.py --搜索 "trump"
# 获取 specific market by slug python3 scripts/polymarket.py --slug "will-trump-win-the-2024-election"
# 列出 事件 (grouped markets) python3 scripts/polymarket.py --事件
Script Location
技能s/polymarket/scripts/polymarket.py
API 端点s
The script uses gamma-API.polymarket.com:
/markets - Individual markets with prices, volumes /事件 - Event groups contAIning related markets 输出 格式化
Markets show: question, Yes/No prices (as percentages), 24h volume, total volume.
Interpreting Prices outcomePrices are 0-1 representing probability Price of 0.65 for "Yes" = market thinks 65% chance of Yes Higher volume = more liquid, more reliable 签名al