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_client library
  • 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
Installs
806
GitHub Stars
25
First Seen
Jan 22, 2026