Polymarket Prediction Markets for Openclaw

A data retrieval skill for querying Polymarket prediction markets, prices, and event probabilities.

dannyshmueli
v1.0.0
Jan 27, 2026
18
8.8k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install polymarket-api

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 polymarket-api 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 Markets?

The Polymarket skill allows users to query decentralized prediction market data directly from their AI agent environment. By interfacing with the Polymarket public Gamma API, this tool provides access to real-time betting odds and event probabilities without the need for authentication. It is a vital component of Openclaw Skills for anyone looking to incorporate market-based forecasting into their workflows.

This skill focuses on data transparency and accessibility, offering insights into market prices, volumes, and grouped event structures. Whether you are tracking election results or economic indicators, this tool provides a direct window into liquid prediction markets.

Polymarket Prediction Markets Use Cases

  • Monitoring real-time probabilities for major global events and elections.
  • Fetching the most active prediction markets by 24-hour trading volume.
  • Performing sentiment analysis by comparing market odds against traditional polling data.
  • Automating research tasks that require crowd-sourced forecasting data.

How Polymarket Prediction Markets Works

  1. The user or agent triggers the script with specific flags like --search or --top.
  2. The skill queries the gamma-api.polymarket.com endpoints for markets or events.
  3. The script processes the raw JSON response to extract outcome prices and volume metrics.
  4. Results are displayed as percentages, where a price of 0.65 represents a 65% probability of an outcome occurring.

Polymarket Prediction Markets Setup

Ensure you have Python 3 installed. No API keys are required as the skill uses public endpoints. Use the following commands to get started with this addition to Openclaw Skills:

# List top markets by volume
python3 scripts/polymarket.py --top

# Search for specific market keywords
python3 scripts/polymarket.py --search "election"

# Get data for a specific market slug
python3 scripts/polymarket.py --slug "will-bitcoin-hit-100k-in-2024"

Polymarket Prediction Markets Data Schema & Taxonomy

The skill organizes data retrieved from the API into a structured format for easy interpretation within Openclaw Skills:

Field Description
Question The specific predictive question being asked.
Outcome Prices Represented as 0-1 (e.g., 0.50 equals 50% probability).
24h Volume Trading volume in the last 24 hours to gauge activity.
Total Volume Cumulative trading volume for the market.
Slug Unique identifier for specific market deep-linking.

Polymarket Prediction Markets Advanced Features

  • Deep-link querying using specific market slugs for pinpoint accuracy.
  • Multi-market event grouping to see all related outcomes for a single topic.
  • Liquidity assessment via total volume and 24h volume tracking.
  • Seamless data integration for automated probability updates within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*