py-clob-client

Fetch real-time Polymarket CLOB orderbook snapshots for market microstructure analysis.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/rockomatthews/molt-scout --skill py-clob-client
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: py-clob-client
Source: https://github.com/rockomatthews/molt-scout/tree/main/skills/py-clob-client
Command: npx skills add https://github.com/rockomatthews/molt-scout --skill py-clob-client

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires py-clob-client, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Analyzing Polymarket's Continuous Order Book (CLOB) data for market microstructure insights can be time-consuming. This Skill provides an efficient way to retrieve and process CLOB data, simplifying the analysis process.

Core Features & Use Cases

  • Orderbook Snapshots: Retrieve real-time best bid/ask and depth snapshots.
  • Market Microstructure Analysis: Analyze liquidity and market trends.
  • Artifacts Creation: Generate artifacts like spreads over time, hedged windows, and liquidity maps.
  • Use Case: A financial analyst might use this Skill to track market sentiment and identify trading opportunities.

Quick Start

Use the py-clob-client skill to get the current orderbook snapshot from Polymarket's CLOB.

Frequently Asked Questions about py-clob-client

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

FAQPage Schema
How do I fetch real-time orderbook data from Polymarket for market analysis?

Fetching real-time Polymarket orderbook data requires retrieving best bid/ask and depth snapshots using the py-clob-client Python library. This Skill directly queries Polymarket's Continuous Order Book to provide raw market microstructure data for liquidity analysis.

What is Polymarket CLOB microstructure analysis and when do I need it?

Polymarket CLOB microstructure analysis is the examination of continuous order book liquidity and market trends. You need it when tracking market sentiment or identifying trading opportunities, using snapshots to evaluate bid/ask spreads and depth.

Can I use Python to analyze Polymarket liquidity and generate spreads over time?

Yes, you can use Python with the py-clob-client library to analyze Polymarket liquidity. The Skill generates artifacts like spreads over time, hedged windows, and liquidity maps from the retrieved CLOB data.

Do I need the py-clob-client library to retrieve Polymarket best bid/ask snapshots?

Yes, the py-clob-client library is required as a dependency to retrieve Polymarket best bid/ask snapshots. This Skill uses it to handle data retrieval from the Continuous Order Book for financial analysis.

What's the best way to track market sentiment using Polymarket orderbook depth?

Tracking market sentiment with Polymarket orderbook depth is best achieved by retrieving real-time snapshots via the py-clob-client Python library. This approach allows financial analysts to process CLOB data and identify emerging trading opportunities.

What are the limitations of using py-clob-client for market microstructure analysis?

Using py-clob-client for market microstructure analysis is limited to retrieving real-time CLOB snapshots. It is designed specifically for Polymarket orderbook data retrieval and artifact generation, meaning it serves data analysis rather than automated trade execution.