polymarket

Fetch Polymarket markets, prices, and history from Gamma, CLOB, and Data APIs.

Updated May 3, 2026
One-click install
npx skills add https://github.com/JuanMS20/solviora-agent --skill polymarket-juanms20
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: polymarket
Source: https://github.com/JuanMS20/solviora-agent/tree/main/skills/research/polymarket
Command: npx skills add https://github.com/JuanMS20/solviora-agent --skill polymarket-juanms20

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Polymarket data retrieval and analysis: quickly access markets, prices, and history from Polymarket's public APIs.

Core Features & Use Cases

  • Query Gamma for market discovery and volumes
  • Retrieve CLOB prices and orderbooks using clobTokenIds
  • Access Data API trades and open interest for deeper insights
  • Use the CLI to combine data and present it in readable formats

Quick Start

Run python3 polymarket.py search 'bitcoin' to see current markets and prices.

Frequently Asked Questions about polymarket

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

FAQPage Schema
How do I get Polymarket prediction market odds and live prices?

To get Polymarket prediction market odds and live prices, run the CLI script to query the Gamma and CLOB APIs. It retrieves current market data and parses the JSON response into a readable CLI format.

How do I retrieve Polymarket price history and trade volume?

Retrieve Polymarket price history and trade volume by querying the Data API. The script fetches historical trades and open interest, parsing double-encoded JSON fields for deeper market analysis.

What is the best way to parse double-encoded JSON fields from Polymarket APIs?

The best way to parse double-encoded JSON fields from Polymarket APIs is using this data retrieval script, which handles nested JSON structures deterministically to format market data for CLI presentation.

Can I query Polymarket market discovery and orderbooks using a CLI?

Yes, you can query Polymarket market discovery and orderbooks using the command line interface. The script queries the Gamma API for market discovery and the CLOB API for orderbooks using clobTokenIds.

Do I need any external dependencies to fetch Polymarket data?

No external dependencies are required to fetch Polymarket data. The script operates independently using standard Python to query public APIs and output formatted market data directly to your CLI.