Polymarket API Development

Documents Polymarket APIs including Gamma, CLOB, Data, and WebSockets for trading.

1|1|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/jhchong0405/x402_marketplace --skill polymarket-api-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Polymarket API Development
Source: https://github.com/jhchong0405/x402_marketplace/tree/main/skills/polymarket
Command: npx skills add https://github.com/jhchong0405/x402_marketplace --skill polymarket-api-development

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to interacting with Polymarket's developer APIs, enabling programmatic trading and data retrieval.

Core Features & Use Cases

  • API Integration: Connect to Gamma, CLOB, Data, and WebSocket APIs for market data and trading.
  • SDK Usage: Learn how to use Python and TypeScript SDKs for streamlined development.
  • Use Case: Build an automated trading bot that monitors market prices via WebSocket, places orders using the CLOB API, and retrieves user positions via the Data API.

Quick Start

Use the Polymarket skill to get the current best bid and ask for the Bitcoin price market.

Frequently Asked Questions about Polymarket API Development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use the Polymarket CLOB API for programmatic trading?

The Polymarket CLOB API enables programmatic trading by allowing developers to place orders and execute trades. You can use the provided Python or TypeScript SDKs to integrate order placement directly into your automated trading applications.

How do I get real-time market price updates from Polymarket?

Real-time Polymarket price updates are retrieved using the WebSocket API. By connecting to WebSockets, your trading bot can continuously monitor live market prices and react instantly to changing best bid and ask values.

What is the Polymarket Gamma API used for in trading applications?

The Polymarket Gamma API is used for market discovery in trading applications. It allows developers to programmatically search and retrieve available prediction markets, which is essential before monitoring prices or placing orders via the CLOB API.

Can I use Python and TypeScript SDKs to build a Polymarket trading bot?

Yes, you can use the official Python and TypeScript SDKs to build a Polymarket trading bot. These SDKs support efficient integration with the Gamma, CLOB, Data, and WebSocket APIs for streamlined development of automated trading systems.

How do I retrieve user positions using the Polymarket Data API?

User positions are retrieved using the Polymarket Data API. You can query this API to fetch current portfolio holdings and historical trade data, enabling your trading application to track active positions after executing orders.

What's the best way to integrate Polymarket APIs for automated trading?

The best way to integrate Polymarket APIs for automated trading is combining WebSockets for live price monitoring, the CLOB API for order execution, and the Data API for position tracking. Using the Python or TypeScript SDKs streamlines this end-to-end workflow.