Deep integration guide for Polymarket's CLOB, Gamma, and on-chain data with trading and fee patterns.

skills.sh installs
973
GitHub stars
26
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers CLOB API authentication levels, trading and orderbook endpoints, Gamma API market metadata, and WebSocket subscriptions
  • Includes Python client patterns for order placement, market data fetching, and a documented taker-only fee formula with category rates
  • Provides order type semantics (GTC, GTD, FOK, IOC), price and P&L calculations, and Polygon contract addresses
  • Designed for developers building trading functionality or market data pipelines against Polymarket

Install

$ npx -y skills add agentmc15/polymarket-trader --skill polymarket-api -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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
GET  /markets              # List all markets
GET  /markets/{condition_id}  # Get specific market (condition_id is the
                               # MARKET key; token_id is the per-outcome
                               # BOOK key used by /price, /midpoint, /book
                               # below — the two are not interchangeable)
GET  /price?token_id=X     # Get current price
GET  /midpoint?token_id=X  # Get midpoint price
GET  /book?token_id=X      # Get orderbook
GET  /trades               # Get user trades
POST /order                # Place order
DELETE /order/{id}         # Cancel order
GET  /positions            # Get positions

Gamma API (Market Metadata)

Base URL: https://gamma-api.polymarket.com

Details

Repository
github.com/agentmc15/polymarket-trader
Categories
Web3 & Crypto, Finance & Trading

More from agentmc15/polymarket-trader

All 2

Similar to Polymarket Api

More Web3 & Crypto