OpenParable
Skip to content
← Back to skills

Polymarket 4

Apps & Automation
polymarket-4

Polymarket 4 is an Agent Skill for apps & automation published in the sundial-org/awesome-openclaw-skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/sundial-org/awesome-openclaw-skills/blob/HEAD/skills/polymarket-4/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/polymarket-4, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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