Agent skill · software engineering · agentmc15
polymarket-api
Deep integration guide for Polymarket's CLOB API, Gamma API, and on-chain data. Use when building trading functionality, fetching market data, or implementing order execution.
Why this skill is useful
Adds executable Python scripts for integrating with Polymarket's CLOB and Gamma APIs that aren't publicly documented.
What it needs
Requires httpx, py_clob_client, websockets installed locally. Requires polymarket account access. About 2k tokens when loaded. Last updated 2026-07-31. 24 stars on the source repository.
What this skill does
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 Key Endpoints Gamma API (Market Metadata) Base URL: https://gamma-api.polymarket.com Python Implementation Patterns Initialize Client WebSocket Subscription Gamma API Client Order Types GTC (Good Till Cancelled): Stays until filled or cancelled GTD (Good Till Date): Expires at specified time FOK (Fill or Kill): Must fill entirely or cancel IOC (Immediate or Cancel): Fill what's available, cancel rest Price Calculations Error Handling Rate Limits Public endpoints: ~100 requests/minute Authenticated endpoints: ~1000 requests/minute WebSocket: Varies by subscription type Always implement exponential backoff and request queuing. Key Contract Addresses (Polygon)
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills agentmc15/polymarket-api