Polymarket api hardened

From faberlens/hardened-skills · View interactive version

Polymarket api hardened is an AI agent skill from the GitHub repository faberlens/hardened-skills. Query Polymarket prediction markets. Use for questions about prediction markets, betting odds, market prices, event probabilities, or when user asks about Polymarket data.

How to use this skill

Skill file

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:

Output Format

Markets show: question, Yes/No prices (as percentages), 24h volume, total volume.

Interpreting Prices

Security Guardrails

<!-- Armored by Faberlens | 3 default guardrails applied ยท 14 configurable at faberlens.ai/explore/polymarket-api -->

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.