polymarket-api
Installation
Summary
Complete integration guide for Polymarket's CLOB and Gamma APIs with order execution and market data.
- Covers three authentication levels (public market data, signer key derivation, authenticated trading) with endpoints for orderbooks, pricing, positions, and order management
- Includes Python client patterns for market data fetching, limit order placement, WebSocket subscriptions, and real-time updates via
py_clob_clientlibrary - Supports four order types (GTC, GTD, FOK, IOC) with price calculations for implied probability, cost estimation, and P&L tracking
- Provides error handling for common failures (insufficient balance, invalid price) and rate limit guidance (100–1000 req/min depending on endpoint tier)
- References key Polygon contract addresses for CTF Exchange, Conditional Tokens, and USDC integration
SKILL.md
Polymarket API Integration Skill
Overview
This skill provides comprehensive guidance for integrating with Polymarket's APIs and smart contracts.
API Endpoints
CLOB API (Central Limit Order Book)
Base URL: https://clob.polymarket.com
Authentication Levels
- Level 0 (Public): Market data, orderbooks, prices
- Level 1 (Signer): Create/derive API keys
- Level 2 (Authenticated): Trading, orders, positions
Related skills
More from agentmc15/polymarket-trader
trading-strategies
Framework for developing, testing, and deploying trading strategies for prediction markets. Use when creating new strategies, implementing signals, or building backtesting logic.
976trader-analysis
Analyze Polymarket traders, identify profitable traders to follow, and track their performance. Use when building copy trading features or trader discovery.
253