---
url: "https://polytoolhub.com/tools/polymarket-python-sdk/"
publisher: "Polytoolhub"
dateModified: "2026-10-05"
---

[← SDKs & libraries](<https://polytoolhub.com/polymarket-sdks/>) 

![Polymarket Python SDK logo](<https://polytoolhub.com/assets/logo-tool-polymarket-python-sdk-765ba4cc040b.webp>)

SDK

# Polymarket Python SDK

The official Python client for typed Polymarket data, sync or async account workflows, streaming and notebook-friendly analysis.

[**4.0**/ 5Editorial rating](<https://polytoolhub.com/tools/polymarket-python-sdk/#reviews>) [0 user reviews](<https://polytoolhub.com/tools/polymarket-python-sdk/#reviews>) 

[View installation](<https://pypi.org/project/polymarket-client>) pypi.org

**Available on:** Python, Jupyter, PyPI

**Pricing:** The package does not require a subscription

[Screenshots](<https://polytoolhub.com/tools/polymarket-python-sdk/#screenshots>) [Explore alternatives](<https://polytoolhub.com/tools/polymarket-python-sdk/#alternatives>) 

[SDKs & libraries](<https://polytoolhub.com/polymarket-sdks/>) [Official developer tools](<https://polytoolhub.com/polymarket-official-tools/>) 

## Screenshots and interface

Product preview1 / 2

Official Python SDK installation and quickstart.

## What is Polymarket Python SDK?

The polymarket-client package exposes both synchronous and asynchronous public and secure clients. It is suitable for scripts, notebooks, services and bots, with Decimal values for precision-sensitive fields and typed domain identifiers. Async clients also support long-lived real-time subscriptions.

### Who it is for

-   Python researchers working in notebooks
-   Backend developers integrating Polymarket data and account actions
-   Teams that want typed models and DataFrame conversion

## Features and coverage

**Available on:** Python, Jupyter, PyPI

**Markets & venues:** Polymarket

-   **Sync and async clients**
    
    Choose PublicClient or AsyncPublicClient for data and their Secure equivalents for account actions.
    
-   **Typed data models**
    
    Use Market, Event and OrderBook objects with Decimal and datetime values.
    
-   **Consistent pagination**
    
    Read pages, iterate items or resume an opaque cursor.
    
-   **Real-time subscriptions**
    
    Async clients combine supported market and sports topics.
    
-   **DataFrame conversion**
    
    Optional extras support pandas, Polars and Arrow.
    
-   **Notebook rendering**
    
    Common objects display compact cards in Jupyter.
    
-   **Error hierarchy**
    
    Catch specific errors under the shared PolymarketError base.
    

## Workflows with Polymarket Python SDK

### Explore markets in a notebook

Create a public client, request a bounded set of markets and convert it to your preferred DataFrame format. Keep identifiers and decimal values intact when joining further data.

### Build a streaming service

Use AsyncPublicClient, subscribe to the required topics and process each event shape explicitly.

### Add account actions

Create the secure client with the required signer and wallet configuration after the data workflow is working.

## Pricing and total cost

The package does not require a subscription. Venue costs and your data-processing infrastructure are separate.

## Getting started

1.  Install polymarket-client through the official PyPI link.
2.  Choose sync for a simple script or async for an event-loop application.
3.  Fetch a small public page.
4.  Install the pandas, polars, arrow or quant extra if needed.
5.  Configure a secure client only for authorized account actions.

[Open documentation](<https://docs.polymarket.com/getting-started/python>) 

[pandas DataFrame reference](<https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html>) 

## Useful links

-   [Community](<https://discord.gg/polymarket>) 

### What to check

-   Real-time subscriptions are async-only.
-   Paginator-to-DataFrame conversion requires an explicit limit; limit=None requests all items.
-   The package name polymarket-client imports as polymarket.
-   Precision-sensitive values use Decimal rather than ordinary binary floating point.

A closer look

## Ratings & reviews

[Write a review](<https://polytoolhub.com/tools/polymarket-python-sdk/#write-review>) 

Editorial rating

**4.0**/ 5

0 user reviews

Polytoolhub editorial

### Our take on Polymarket Python SDK

Typed models, async streams and notebook support form a practical Python starting point. Package naming, Decimal handling and explicitly bounded exports need attention during onboarding.

Based on documented features, setup and access terms. [How we rate](<https://polytoolhub.com/methodology/>) 

### User reviews 0

The main score switches to user ratings after 5 published reviews.

**Be the first to share your experience**

A specific example helps the next person choose the right tool.

Write a review

### How was your experience with Polymarket Python SDK?

Share what you used, what worked and what could be better. We confirm your email and review the submission before publishing.

To submit a review, email [info@polytoolhub.com](<mailto:info@polytoolhub.com>)  with the tool name, your rating and your experience. Enable JavaScript to prepare a draft here.

## Related tools

[Browse category](<https://polytoolhub.com/polymarket-sdks/>) 

![@polymarket/client: Official TypeScript SDK quickstart.](<https://polytoolhub.com/assets/cover-polymarket-client-bfee6ec6380b7d9d-400.webp>)

![@polymarket/client logo](<https://polytoolhub.com/assets/logo-tool-polymarket-client-765ba4cc040b.webp>)[@polymarket/client](<https://polytoolhub.com/tools/polymarket-client/>) 

SDK**4.0**Editorial

The official TypeScript SDK for public market data, typed pagination, real-time subscriptions and authenticated trading and wallet actions.

-   Language TypeScript · JavaScript

Official TypeScript client.

![Marketlens Python SDK: Python installation and Strategy quickstart.](<https://polytoolhub.com/assets/cover-marketlens-python-sdk-ffa316a7aa2608e2-400.webp>)

![Marketlens Python SDK logo](<https://polytoolhub.com/assets/icon-logo-tool-marketlens-55ffc19ca97b-32-44bd5560969403da.webp>)[Marketlens Python SDK](<https://polytoolhub.com/tools/marketlens-python-sdk/>) 

SDK**4.0**Editorial

Retrieve historical Polymarket books and run either tick-level execution simulations or faster bar-based signal backtests in Python.

-   Language Python

Historical data and replay rather than only live integration.

![polymarket-api-python: Python toolkit quickstart and public book reads.](<https://polytoolhub.com/assets/cover-polymarket-api-python-dac7921ea699aba3-400.webp>)

[polymarket-api-python](<https://polytoolhub.com/tools/polymarket-api-python/>) 

SDK**3.5**Editorial

A compact typed Python client for Gamma discovery, computed order-book metrics and reconnecting CLOB streams, with trading as an optional extra.

-   Language Python

A smaller third-party Python toolkit.

## Frequently asked questions about Polymarket Python SDK

### Can I use it synchronously?

Yes. PublicClient and SecureClient have synchronous interfaces.

### Why is subscribe missing from my client?

Subscriptions are provided by AsyncPublicClient and AsyncSecureClient.

### Can it return a pandas DataFrame?

Yes, with the relevant optional extra and an explicit result limit.

### Is this py-clob-client?

No. This is the current unified Python package; the official migration guide covers older clients.

In this profile
