Best Prediction Market APIsbuilder's guide · 2026 Open Kairos

SDKs & wrappers

Prediction market SDKs and client libraries

Client libraries for the Kalshi and Polymarket APIs, checked for maintenance status, auth support and the breaking changes of 2026.

7APIs reviewed
7free to use
2venues covered

Checked September 8, 2026 · every price read off the live site

Every sdks & wrappers API

7 reviewed · alphabetical
APIVenuesPricingType
@polymarket/clientPolymarketOpen source (MIT).library
@polymarket/clob-client-v2PolymarketOpen source (MIT).library
Kalshi official SDKsKalshiFree to install.library
kalshi-python-sdkKalshiOpen source (MIT).library
polymarket-apis (PyPI)PolymarketFree on PyPI.library
Polymarket/py-sdkPolymarketOpen source (MIT).library
pykalshiKalshiOpen source (MIT).library

How these APIs work

Client libraries wrap one venue's API in a language you already write. In 2026 both major venues finally have official packages worth using: Polymarket's unified polymarket-client (Python) and @polymarket/client (TypeScript) replaced the archived CLOB clients in July 2026, and Kalshi publishes kalshi_python_sync, kalshi_python_async and kalshi-typescript generated from its OpenAPI spec.

The community packages survive because the official ones leave gaps. Kalshi's SDK page itself warns its packages may lag the API and carry no retry or streaming logic, which is what pykalshi and kalshi-python-sdk add. On the Polymarket side, polymarket-apis reaches the Goldsky subgraphs and gasless Web3 operations the official SDK does not describe.

Pick by language first, then by whether you need WebSockets, retries, Perps or FIX, then by how many people are watching the repo.

How to choose

Questions about sdks & wrappers APIs

Is there an official Polymarket Python SDK?

Yes. polymarket-client from the Polymarket/py-sdk repo, first released July 22, 2026 and now at 0.9.0, is the official unified Python SDK. The older py-clob-client is archived.

Does Kalshi have an official SDK?

Yes. kalshi_python_sync, kalshi_python_async and kalshi-typescript, all at 3.29.0. Kalshi recommends generating your own client from the OpenAPI spec for production.

What is the best Kalshi Python library?

pykalshi (123 stars) for notebooks and streaming with pandas; kalshi-python-sdk (pip install kalshi-sdk) for full REST, Perps and FIX coverage; the official kalshi_python_sync for spec parity without extras.

read the docshandle authmatch marketsexecute

Official APIs for building. One book for trading.

Rather trade the spread than build the plumbing? The free Kairos terminal gives you Kalshi, Polymarket and Predict.fun in one order book.

Other categories