polymarket

Fetches Polymarket market prices, orderbooks and history via REST APIs and CLI commands.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/photonics-dhl/Hermes --skill polymarket-photonics-dhl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: polymarket
Source: https://github.com/photonics-dhl/Hermes/tree/main/hermes-home/skills/research/polymarket
Command: npx skills add https://github.com/photonics-dhl/Hermes --skill polymarket-photonics-dhl

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Query Polymarket data from public REST APIs to fetch market information, current prices, orderbooks, and price history in a read-only fashion.

Core Features & Use Cases

  • Discover and browse markets across events
  • Retrieve current prices and orderbooks for specific markets or tokens
  • Inspect price history and track market movements over time
  • Use a CLI to perform searches, view markets, and pull trading data

Quick Start

Run the polymarket CLI to fetch current prices, orderbooks, or price history for a market by slug or token_id.

Frequently Asked Questions about polymarket

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

FAQPage Schema
How do I fetch Polymarket prices and orderbooks using a public API?

Fetch Polymarket prices and orderbooks by querying public Gamma, CLOB, and Data REST API endpoints. The CLI retrieves current market prices and orderbook data for specific tokens using read-only commands.

Can I retrieve Polymarket price history and track market movements over time?

Yes, you can retrieve Polymarket price history to track market movements over time. The CLI uses history commands to pull historical price data from public REST APIs for any valid market slug or token ID.

What is the best way to search for prediction market events and browse active markets?

The best way to search prediction market events is using the CLI search command. It queries public Gamma endpoints to discover and browse active markets, returning event data and associated market information directly.

How do I handle double-encoded JSON fields when parsing Polymarket market data?

To handle double-encoded JSON fields in Polymarket data, the CLI automatically parses nested JSON strings returned by public REST APIs. This built-in decoding ensures market metadata and orderbook structures are properly extracted.

Do I need an API key to query Polymarket trading data and recent trades?

No API key is needed to query Polymarket trading data. The CLI reads public Gamma, CLOB, and Data API endpoints in a read-only fashion to fetch recent trades, market prices, and orderbook information without authentication.

What Polymarket CLI commands are available for market data analysis?

Available Polymarket CLI commands include search, market, event, price, book, history, and trades. These commands fetch specific market data, current prices, orderbooks, and price history from public REST API endpoints.