polymarket

Query Polymarket prediction market data including prices, orderbooks, and trade history via public REST APIs.

Updated Jul 10, 2026
One-click install
npx skills add https://github.com/AvaTar-ArTs/.Agent-skills --skill polymarket-avatar-arts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: polymarket
Source: https://github.com/AvaTar-ArTs/.Agent-skills/tree/main/skills/research/polymarket
Command: npx skills add https://github.com/AvaTar-ArTs/.Agent-skills --skill polymarket-avatar-arts

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Finding current prediction market odds and event probabilities requires navigating Polymarket's three separate public APIs, each with different endpoints and double-encoded JSON fields. This Skill provides a unified workflow and CLI helper to search markets, read prices, inspect orderbooks, and retrieve price history without authentication. ## Core Features & Use Cases - Market Search & Discovery: Search events and markets via the Gamma API, list trending events by volume, and filter by tags or slugs. - Real-Time Pricing & Orderbooks: Fetch current prices, midpoints, spreads, and full orderbook depth from the CLOB API using clobTokenIds. - Price History & Trades: Retrieve historical price series by conditionId and recent trade data from the Data API. - Use Case: A user asks "what are the odds of a rate cut this year?" — the Skill searches Polymarket, parses the double-encoded outcomePrices field, and returns "Yes: 65.2%, No: 34.8%" with trading volume. ## Quick Start Ask the assistant to search Polymarket for current odds on a topic, for example: "What are the current Polymarket odds on Bitcoin reaching $150k this year?"

Frequently Asked Questions about polymarket

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

FAQPage Schema
How do I check Polymarket odds for an event?

Search the Gamma API public-search endpoint with your query, then parse the outcomePrices field from the returned markets. Prices map directly to probabilities, so 0.65 means the market implies a 65% chance.

How to get Polymarket price history for a market?

Use the CLOB API prices-history endpoint with the market's conditionId, an interval such as 1w or 1m, and a fidelity value for data point count. Very new markets may return empty history.

Does the Polymarket API require authentication or an API key?

No. All three public APIs (Gamma, CLOB, and Data) are read-only REST endpoints requiring zero authentication. Trading would require wallet-based EIP-712 signatures, but this Skill does not support placing trades.

Why does Polymarket outcomePrices parsing fail in Python?

The Gamma API returns outcomePrices, outcomes, and clobTokenIds as JSON strings inside JSON responses (double-encoded). Parse them with json.loads() before accessing the array values.

What are the limitations of read-only Polymarket data access?

Read-only access cannot place trades, which requires crypto wallet authentication. Rate limits are generous (thousands of requests per 10 seconds), and some new markets have empty price history.