Polymarket Prediction Markets for Openclaw

A comprehensive CLI tool for querying real-time event probabilities and market data from Polymarket.

deanpress
v1.0.0
Jan 26, 2026
60
14.5k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install polymarket-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 polymarket-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 Markets?

This skill provides a programmatic interface to Polymarket, the world's largest decentralized prediction market. By leveraging this tool within the Openclaw Skills ecosystem, developers and researchers can access high-fidelity, real-time data on the probability of future events ranging from global elections to sporting outcomes. Unlike traditional polling, these markets represent financial skin-in-the-game, often providing more accurate forecasts than pundits or surveys.

The skill interfaces directly with the Polymarket Gamma API to retrieve market slugs, price data, and orderbook depth without requiring a private API key. It is designed for users who need actionable intelligence on market sentiment and event resolution probabilities across diverse categories like crypto, business, and technology.

Polymarket Prediction Markets Use Cases

  • Tracking real-time election odds and geopolitical sentiment shifts.
  • Analyzing sports betting probabilities for NFL, NBA, and major soccer leagues.
  • Monitoring cryptocurrency price targets and regulatory developments through market-driven forecasts.
  • Automating data collection for research reports using the Openclaw Skills framework.
  • Evaluating the likelihood of corporate acquisitions, IPOs, and product launches.

How Polymarket Prediction Markets Works

  1. The user executes a command via the polymarket.mjs script to search for specific markets or browse categories.
  2. The skill performs an asynchronous fetch request to the Polymarket public-search or events API endpoints.
  3. Market data, including token prices and liquidity metrics, is retrieved in JSON format.
  4. The script translates market prices into percentage-based probabilities (e.g., a 0.70 price corresponds to a 70% chance).
  5. Results are output to the console, allowing for quick analysis or further processing by other Openclaw Skills.

Polymarket Prediction Markets Setup

To begin using this skill, ensure you have Node.js installed. Navigate to the skill folder and execute the script using the following structure:

node polymarket.mjs search "Bitcoin"

For general market browsing, you can list active events by category:

node polymarket.mjs events --tag=politics --limit=10

Polymarket Prediction Markets Data Schema & Taxonomy

The skill processes and returns data structured around the following entities:

Component Description Key Attributes
Search Result Instant market discovery Slug, Title, Market Type
Event A container for related markets Tag, Active Status, Description
Market Detail Specific outcome data Price (Odds), Volume, Liquidity
Orderbook Market depth information Token ID, Buy/Sell spreads
Tags Categorical taxonomy Sports, Politics, Crypto, Tech

Polymarket Prediction Markets Advanced Features

  • Advanced filtering by tags to isolate specific niches like business or AI developments.
  • Real-time orderbook depth retrieval for analyzing market liquidity and confidence levels.
  • Support for complex sports betting markets including Moneyline, Spreads, and Over/Under totals.
  • Seamless integration into automated research workflows that utilize Openclaw Skills for data aggregation.
  • High-performance keyword search optimized for finding specific team or candidate markets instantly.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*