Files
GLaDOS a1d6a46f74 docs: refresh all documentation - fill 98 empty files and update changelog
Date: 2026-06-19

Changes:
- Fixed 98 empty .md files that had failed to scrape
- Updated changelog with latest entries (Jun 15, 2026: CLOB DELETE /orders limit reduced to 1000)
- Refreshed FAQ, Polymarket Learn, Developers, and other sections

Notable updates:
- Jun 15, 2026: CLOB DELETE /orders maximum batch size reduced to 1000
- Jun 1, 2026: Increased CLOB order rate limits
- May 18, 2026: builderCode added to builders endpoints
- May 14, 2026: GET /markets/keyset limit reduced to 100
2026-06-19 14:09:52 +02:00

3.5 KiB

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.

Clients & SDKs

Official open-source libraries for interacting with Polymarket

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.

Installation

```bash TypeScript theme={null} npm install @polymarket/clob-client-v2 viem ```
pip install py-clob-client-v2
cargo add polymarket_client_sdk_v2 --features clob

Quick Example

```typescript TypeScript theme={null} import { ClobClient } from "@polymarket/clob-client-v2";

const client = new ClobClient({ host: "https://clob.polymarket.com", chain: 137, signer, creds: apiCreds, });

const markets = await client.getMarkets();


```python Python theme={null}
from py_clob_client_v2 import ClobClient

client = ClobClient(
    "https://clob.polymarket.com",
    key=private_key,
    chain_id=137,
    creds=api_creds,
)

markets = client.get_markets()
use polymarket_client_sdk_v2::clob::{Client, Config};

let client = Client::new("https://clob.polymarket.com", Config::default())?
    .authentication_builder(&signer)
    .authenticate()
    .await?;

let markets = client.markets(None).await?;

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

Each repository includes working examples in the /examples directory.

Relayer SDK

For gasless transactions, the relayer client handles deposit wallet creation and signed wallet batches for new API users. Existing Safe and Proxy wallet flows remain supported.

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

Set up your client and place your first order. Understand L1/L2 auth and API credentials.