Polymarket Prediction Market Data for Openclaw

A specialized skill for querying Polymarket prediction market data, odds, and event probabilities directly through the CLI.

dannyshmueli
v1.0.0
Jan 27, 2026
4
3.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install pm-odds

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install pm-odds using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Polymarket Prediction Market Data?

This Openclaw Skills extension enables users to interface with the Polymarket public API without requiring authentication. It provides programmatic access to market trends, specific event outcomes, and trading volumes, making it an essential tool for developers and analysts tracking real-world event probabilities via decentralized prediction markets.

By leveraging this tool, users can integrate real-time sentiment and probability data into their AI agents or research pipelines. The skill simplifies the process of interpreting complex order book data into human-readable percentages and liquidity signals.

Polymarket Prediction Market Data Use Cases

  • Monitoring real-time betting odds for political, economic, or entertainment events.
  • Researching high-volume prediction markets to gauge public sentiment and crowdsourced truth.
  • Fetching market-specific data using slugs for deep-dive financial analysis.
  • Comparing outcome prices to calculate event probabilities in automated reporting workflows.

How Polymarket Prediction Market Data Works

  1. The user invokes the script located in the polymarket skill directory with specific flags.
  2. The skill sends a request to the Polymarket Gamma API endpoints, targeting either individual markets or grouped events.
  3. The API returns raw JSON data containing outcome prices, market questions, and volume metrics.
  4. The script processes the outcomePrices (0-1) into percentage probabilities and formats the output for the user.

Polymarket Prediction Market Data Setup

To use this within your environment, ensure Python 3 is installed and navigate to the skill script location. No API keys are required for public data access.

# Search for markets related to a specific topic
python3 skills/polymarket/scripts/polymarket.py --search "topic"

# View top trending markets by 24-hour volume
python3 skills/polymarket/scripts/polymarket.py --top

# Get details for a specific market slug
python3 skills/polymarket/scripts/polymarket.py --slug "market-slug-here"

Polymarket Prediction Market Data Data Schema & Taxonomy

The skill organizes market data using the following structure for clarity:

Attribute Description Data Type
Question The specific event or outcome being predicted String
outcomePrices Represents the current probability (e.g., 0.65 = 65%) Float
24h Volume Trading activity in the last day Number
Total Volume Cumulative trading activity for the market Number
Slug The unique URL identifier for the market String

Polymarket Prediction Market Data Advanced Features

  • Support for grouped event queries to see multiple related markets under a single topic.
  • Real-time conversion of outcome prices into intuitive percentage-based probabilities.
  • Liquidity analysis by surfacing 24-hour and total trading volumes.
  • Direct slug-based querying for precise tracking of specific prediction targets.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*