跳至主要内容
小龙虾小龙虾AI
🤖

Polymarket API

Query Polymarket prediction markets. Use for questions about prediction markets, betting odds, market prices, event probabilities, or when user asks about Polymarket data.

下载8.3k
星标17
版本1.0.0
营销推广
安全通过

技能说明


name: polymarket description: Query Polymarket prediction markets. Use for questions about prediction markets, betting odds, market prices, event probabilities, or when user asks about Polymarket data.

Polymarket

Query prediction market data from Polymarket's public API (no auth required).

Quick Start

# Top markets by 24h volume
python3 scripts/polymarket.py --top

# Search markets
python3 scripts/polymarket.py --search "trump"

# Get specific market by slug
python3 scripts/polymarket.py --slug "will-trump-win-the-2024-election"

# List events (grouped markets)
python3 scripts/polymarket.py --events

Script Location

skills/polymarket/scripts/polymarket.py

API Endpoints

The script uses gamma-api.polymarket.com:

  • /markets - Individual markets with prices, volumes
  • /events - Event groups containing related markets

Output Format

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 signal

如何使用「Polymarket API」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Polymarket API技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能