● CLOB V2 · pUSD · verified 2026-06-15

The Polymarket API,
done right.

The complete, current developer reference — Gamma, CLOB & Data, in Python, Rust & Node. No dead v1. Every error fixed. Built by people who actually run bots.

Start building Fix an error
PythonRustNodecurl+ 25 languages
read a market — no keys
from py_clob_client_v2 import ClobClient

book = ClobClient(host="https://clob.polymarket.com", chain_id=137) \
        .get_order_book(token_id)

print(book.bids[0].price, book.asks[0].price)
# 0.62 0.64  → you're talking to Polymarket.

Why developers build here

🦀
Real Rust, not just PythonVerified Rust examples on every page — and Rust is the only client that trades from a deposit wallet today.
🧯
Every error, fixedThe errors that live in GitHub-issue walls — order_version_mismatch, balance/allowance, deposit-wallet — solved with cause → fix.
🤖
AI-agent readyDrop in our AGENTS.md + llms.txt so Claude Code & Cursor write correct V2 code on the first try.
🟢
Current, not staleCLOB V2 / pUSD, py-clob-client-v2. While the rest of the web still says USDC.e and dead v1 — we don't.
🌍
25 languagesEvery reference page, localized. No other Polymarket dev resource comes close.
🎮
Live tools, no keysSandbox, market search, slug→token, error lookup — all client-side, nothing leaves your browser.

Three APIs — which do you need?

APIUse it forAuthKey endpoints
GammaFind markets/events, slugs & token IDsNone/markets /events /public-search
CLOBOrder book, prices, place/cancel ordersKeys + signing/book /price /midpoint /orders
DataHistory, positions, holders, leaderboardNone/positions /holders /trades
WebSocketLive book/price & your order updatesUser chan = keysmarket · user · RTDS

Pick your path

Browse the reference

🟢 New in 2026 — CLOB V2 / pUSD

USDC.e → pUSD, a new order struct + EIP-712 domain v2, on-chain fees (makers pay 0), renamed SDKs. Most of the web is still v1 — these pages aren't.

Read the v1 → v2 migration →

Try it now · live, no keys leave your browser

🔎 Market search⚡ API sandbox 🔑 slug → token ID🧯 Error lookup 🔌 WebSocket tester📐 Slippage / rebate calc
Last verified 2026-06-15 · CLOB V2 · py-clob-client-v2 · 25 languages · clob.polymarket.com · gamma-api.polymarket.com · data-api.polymarket.com
Start 폴리마켓 Training For Free
가상 돈으로 예측 시장 거래하기. 실제 가격, 제로 리스크. 리더보드에서 경쟁하세요.
$1K
500+
$0
자세히 보기