$npx skillfedfor your agent

polymarket-client

Official Python client for Polymarket

Worth itPyPI WWW/HTTPReleased Aug 202677.5K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — polymarket_client-0.6.0-py3-none-any.whl
v0.6.0 · released 2026-08-13 · Python >=3.11 · 7 runtime deps: eth-abi, eth-account, eth-utils, httpx, msgpack, pydantic, websockets

Yes. The SDK is actively maintained (released 1 day ago), has no known vulnerabilities, and offers low installation friction. It is the official client for Polymarket, making it the natural choice for Python developers building on the platform. The main caveat is that 0.x versioning means breaking changes are possible in minor releases, and Perps APIs are explicitly experimental—suitable for production use of core trading workflows but warrant caution if relying on newer features.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later.
  • Authenticated workflows require a Polymarket private key or builder API key.
  • Low friction install with a pure-Python wheel distribution.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and imposes no significant restrictions on use, modification, or distribution. Suitable for commercial and private projects without copyleft obligations.

last release 2026-08-13 (1 days) · last repo commit 2026-08-14 · 100 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 77,458 downloads/mo, #14,520 on PyPI

Verify before relying

from polymarket import PublicClient, Market

with PublicClient() as client:
    market: Market = client.get_market(
        url="https://polymarket.com/event/example-market"
    )
  • Whether the SDK's experimental Perps APIs are stable enough for production use despite the breaking-change caveat on 0.x releases
  • Real-world latency and throughput characteristics for batch position merges and streaming subscriptions
  • Completeness of error handling and retry logic for network failures or rate limits
Same gist for agents: .md · .json

What it is and what it does

polymarket-client is the official Python SDK for Polymarket, a prediction market platform. It provides both synchronous and asynchronous clients to interact with Polymarket's API, supporting workflows from simple market data queries to authenticated trading and wallet operations. The SDK abstracts away the complexity of HTTP requests, web3 signing, and session management, offering a coherent interface for developers building on Polymarket.

The package is built on standard web3 libraries (eth-abi, eth-account, eth-utils) for cryptographic operations and httpx/websockets for network I/O. It supports batch operations like merging multiple market or combo positions, and includes both public (unauthenticated) and authenticated client modes. The SDK is in beta (0.x versioning) and explicitly marks Perps APIs as experimental, meaning breaking changes are possible in minor releases, though the maintainers aim to provide deprecation paths.

Use it for

  • Fetch real-time market data and order books from Polymarket without authentication for public analysis or dashboards
  • Build automated trading bots that place orders, manage positions, and monitor account state using authenticated client workflows
  • Batch merge multiple market positions by condition ID, market ID, or position ID to consolidate holdings
  • Stream live market updates and position changes using async client subscriptions for reactive applications
  • Integrate Polymarket trading into larger Python applications that already use web3 libraries like eth-account

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The SDK is actively maintained (released 1 day ago), has no known vulnerabilities, and offers low installation friction. It is the official client for Polymarket, making it the natural choice for Python developers building on the platform. The main caveat is that 0.x versioning means breaking changes are possible in minor releases, and Perps APIs are explicitly experimental—suitable for production use of core trading workflows but warrant caution if relying on newer features.

Install

polymarket-client on PyPI

Before you install

Low friction install with a pure-Python wheel distribution. Actively maintained with a release just 1 day old and 100 repository stars. Dependencies are standard web3 and HTTP libraries (eth-abi, eth-account, eth-utils, httpx, pydantic, websockets) with no compiled components.

Requires Python 3.11 or later. Authenticated workflows require a Polymarket private key or builder API key.

License in practice

MIT license is permissive and imposes no significant restrictions on use, modification, or distribution. Suitable for commercial and private projects without copyleft obligations.

Quickstart

from polymarket import PublicClient, Market

with PublicClient() as client:
    market: Market = client.get_market(
        url="https://polymarket.com/event/example-market"
    )

Verify before relying

  • Whether the SDK's experimental Perps APIs are stable enough for production use despite the breaking-change caveat on 0.x releases
  • Real-world latency and throughput characteristics for batch position merges and streaming subscriptions
  • Completeness of error handling and retry logic for network failures or rate limits

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
eth-abieth-accounteth-utilshttpxmsgpackpydanticwebsockets
MaintenanceActively maintained 1 days since the last release
Last repo commit
First released
Downloads77,458 / month, #14,520 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Typing :: Typed

Evidence: polymarket_client-0.6.0-py3-none-any.whl

Tags

Capabilities
polymarket python clientprediction market trading sdkweb3 market data apipolymarket account managementasync market trading librarypolymarket position mergingethereum prediction markets
Topics
prediction-marketsweb3-tradingasync-client
PyPI keywords
clientpolymarketprediction-marketstradingweb3

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “prediction market trading sdk”

  • polymarket-clientOfficial Python SDK for Polymarket that provides a unified interface…
  • py-clob-clientPython client library for trading on Polymarket's Central Limit Order…
  • py-clob-client-v2Python client library for placing and managing orders on Polymarket's…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also py-builder-relayer-client · py-clob-client · py-clob-client-v2 · snaptrade-python-sdk · py-builder-signing-sdk · py-order-utils · hyperliquid-python-sdk · cdp-sdk · kiteconnect · python-binance