Polymarket provides official open-source clients in TypeScript, Python, and Rust. All three support the full CLOB API including market data, order management, and authentication.Documentation Index
Fetch the complete documentation index at: https://docs.polymarket.com/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Quick Example
Source Code
| Language | Package | Repository |
|---|---|---|
| TypeScript | @polymarket/clob-client-v2 | github.com/Polymarket/clob-client-v2 |
| Python | py-clob-client-v2 | github.com/Polymarket/py-clob-client-v2 |
| Rust | polymarket_client_sdk_v2 | github.com/Polymarket/rs-clob-client-v2 |
/examples directory.
Relayer SDK
For gasless transactions using proxy wallets, the relayer client handles submitting transactions through Polymarket’s relayer:| Language | Package | Repository |
|---|---|---|
| TypeScript | @polymarket/builder-relayer-client | github.com/Polymarket/builder-relayer-client |
| Python | py-builder-relayer-client | github.com/Polymarket/py-builder-relayer-client |
Next Steps
Quickstart
Set up your client and place your first order.
Authentication
Understand L1/L2 auth and API credentials.