polymarket

Retrieve Polymarket market data from Gamma, CLOB, and Data APIs.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/ChimeraFoundationa/Agentx --skill polymarket-chimerafoundationa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: polymarket
Source: https://github.com/ChimeraFoundationa/Agentx/tree/main/skills/research/polymarket
Command: npx skills add https://github.com/ChimeraFoundationa/Agentx --skill polymarket-chimerafoundationa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Polymarket data is distributed across multiple public endpoints; this Skill consolidates market discovery, pricing, and history into a single, easy-to-consume interface.

Core Features & Use Cases

  • Discover markets and events with search and browse capabilities across Gamma API
  • Retrieve current prices, orderbooks, and price history for markets
  • Read-only access to multiple Polymarket APIs (Gamma, CLOB, Data) for research and decision making

Quick Start

Invoke the polymarket CLI with a search query to discover markets and view pricing data.

Frequently Asked Questions about polymarket

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

FAQPage Schema
How do I retrieve Polymarket market data and current prices?

Polymarket orderbook data is accessed via the CLOB API, which provides current prices and orderbook depth. The Gamma API handles market discovery, while the Data API supplies price history for comprehensive analysis.

What is the best way to search and discover prediction market events?

Searching prediction market events is done through the Gamma API's browse and search endpoints. This allows users to discover active markets, view event details, and retrieve associated market identifiers for further pricing queries.

Does this API integration support placing trades or only read-only data access?

This integration provides strictly read-only access to public Polymarket API endpoints. It retrieves market data, prices, and orderbooks for research and analysis, and does not support placing trades or executing transactions.

How do I handle double-encoded fields when querying Polymarket APIs?

Double-encoded fields returned by Polymarket APIs are handled automatically by parsing the API references. This ensures that nested data structures within market descriptions and metadata are correctly decoded for analysis.

Can I retrieve historical price data for specific prediction markets?

Historical price data for prediction markets is retrieved via the Polymarket Data API. This provides time-series pricing information necessary for backtesting strategies, analyzing trends, and conducting thorough market research.

Why does my Polymarket API query return unexpected market data formats?

Unexpected data formats from Polymarket APIs typically stem from double-encoded fields in the response payload. The integration addresses this by parsing the double-encoded structures according to the API reference specifications.