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.

Danny Shmueli

@dannyshmueli

What This Skill Does

Queries Polymarket prediction markets for real-time betting odds, market prices, event probabilities, and market data using the public Polymarket API with no authentication required. Supports searching markets by keyword, fetching top markets by volume, and retrieving specific markets or event groups.

Replaces manual browsing of Polymarket's website or building custom API integrations by providing a simple command-line interface to access prediction market data.

When to Use It

  • Search Polymarket for prediction markets related to a specific topic or keyword
  • Fetch the top prediction markets by 24-hour trading volume
  • Retrieve current Yes/No prices and implied probabilities for a specific market
  • List all events (grouped markets) on Polymarket
  • Get detailed market data including volume and price history for analysis

Install

$ openclaw skills install @dannyshmueli/polymarket-api

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

Top skills in this category

Stock Analysis

@udiedrichsen

Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.

25757k

Stock Market Pro

@kys42

Yahoo Finance (yfinance) powered stock analysis skill: quotes, fundamentals, ASCII trends, high-resolution charts (RSI/MACD/BB/VWAP/ATR), plus optional web a...

15531k

A股量化 AkShare

@mbpz

A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。

10031k

Stock Watcher

@robin797860

Manage and monitor a personal stock watchlist with support for adding, removing, listing stocks, and summarizing their recent performance using data from 10jqka.com.cn. Use when the user wants to track specific stocks, get performance summaries, or manage their watchlist.

8636k

Intelligent Stocks Screener

@financial-ai-analyst

基于东方财富数据库,支持通过自然语言输入筛选A港美股、基金、债券等多种资产,支持多元指标筛选,含技术面、消息面、基本面及市场情绪等,可用于全球资产速筛、跨市场监控、投资组合构建、策略回测等场景。返回结果包含数据说明及 csv 文件。Natural language screener for investment...

10626k