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
7.0 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.
Builder Program
Build applications that route orders through Polymarket
A builder is a person, group, or organization that routes orders from users to Polymarket. If you've created a platform that allows users to trade on Polymarket through your system, this program is for you.
Program Benefits
All onchain operations are gas-free through our relayer Get credit for orders and compete for grants on the Builder LeaderboardWhat You Get
| Benefit | Description |
|---|---|
| Relayer Access | Gas-free wallet deployment, approvals, order execution and CTF operations |
| Volume Tracking | All orders attributed to your builder profile |
| Leaderboard | Public visibility on builders.polymarket.com |
| Support | Telegram channel and engineering support (Verified+) |
How It Works
User places an order through your application. Your app adds your `builderCode` to the order struct. Order is submitted to Polymarket's CLOB — the builder code is serialized onchain as part of the signed order. Polymarket matches the order and covers gas fees for onchain operations. Volume is credited to your builder account for every matched trade where your code is attached.Getting Started
Go to [polymarket.com/settings?tab=builder](https://polymarket.com/settings?tab=builder) and copy your builder code. Pass `builderCode` on every order you submit — see [Order Attribution](/trading/orders/attribution). Use the Relayer Client for gas-free wallet deployment and onchain operations. Monitor your volume on the [Builder Leaderboard](https://builders.polymarket.com).SDKs and Libraries
Place orders with builder attribution Place orders with builder attribution Gasless onchain transactions Gasless onchain transactions Place orders with builder attributionExamples
These open-source demo applications show how to integrate Polymarket's CLOB Client and Builder Relayer Client for gasless trading with builder order attribution.
Multiple wallet providers Deposit wallet support for new API users Orders, positions, CTF opsDeposit Wallet Integrations
New API users should use deposit wallets. Use the Builder Relayer Client to
deploy deposit wallets and execute signed wallet batches, then place CLOB
orders with POLY_1271.
See the Deposit Wallet Guide for TypeScript, Python, Rust, and direct API integration details.
Existing Safe Wallet Examples
Existing Safe integrations can continue using Gnosis Safe wallets:
MetaMask, Phantom, Rabby, and other browser wallets Privy embedded wallets Magic Link email/social authentication Turnkey embedded walletsExisting Proxy Wallet Examples
For existing Magic Link users from Polymarket.com:
Auto-deploying proxy wallets for Polymarket.com Magic usersWhat Each Demo Covers
- User sign-in via wallet provider
- User API credential derivation (L2 auth)
- Builder config with remote signing
- Signature types for Deposit Wallet, Safe, and Proxy wallets
- Deposit wallet deployment via Relayer
- Batch token approvals (pUSD + outcome tokens)
- CTF operations (split, merge, redeem)
- Transaction monitoring
- CLOB client initialization
- Order placement with builder attribution
- Position and order management
- Market discovery via Gamma API