Configure Your Integration
- API
- TypeScript
- Python
NEX is a drop-in replacement for the CLOB API.Expect HTTP
1
Switch the Base URL
Keep your existing routes, payloads and response handling.
2
Use Sandbox Signing and Credentials
Sign for Polygon Amoy (
80002) using the Amoy exchange contracts
configured during onboarding. Authenticate with your sandbox trading
credentials. Use an EOA or Deposit Wallet; Safe and Proxy Wallets are
unavailable. EOAs need Amoy POL for their own approval transactions.3
Check the API
200.Legacy Clients
Legacy Clients
Set Use your existing signer, configured for Amoy:See the SDK migration guide to move an
existing TypeScript or Python integration to the unified SDK.
NEX_CLOB_URL to the NEX base URL above. These examples use an EOA;
complete your existing authentication flow before trading. For a Deposit
Wallet, retain its signing configuration.- TypeScript
- Python
- Rust
@polymarket/clob-client-v2 is deprecated. Prefer @polymarket/client
for new integrations.Find a Market
Choose an outcome from a sandbox market, then read its order book.- API
- TypeScript
- Python
Use the Gamma credentials we sent privately to list sandbox markets:Choose an outcome from the response. Use its position ID for Polymarket V2 or
its token ID for CTF. Set See List Markets and
Get Order Book for response schemas.
NEX_ASSET_ID to that identifier, then read its book:Place and Track an Order
Place a small limit order, read it back, then cancel the remaining quantity. A resting order can fill before you cancel it.- API
- TypeScript
- Python
Use your sandbox credentials and the Amoy signing configuration validated
during onboarding.
1
Place an Order
Submit a small limit order. Follow the market’s tick size and minimum
order size. See Post a New Order.
2
Read It Back
3
Cancel the Remaining Quantity
See Manage Orders for cancellation requests.