Skip to main content
This guide walks you through placing your first order on Polymarket US. By the end, you’ll have:
  1. Authenticated with the API
  2. Listed available instruments
  3. Checked your account balance
  4. Placed a limit order
Prerequisites: Complete Onboarding first to generate your keys and receive your Client ID.

Step 1: Get an Access Token

Create a signed JWT and exchange it for an access token:
Required packages:

Step 2: Verify Authentication

Check that your token works:
The x-participant-id header is required for all account-scoped endpoints (trading, positions, reports). If you don’t know your participant ID, call GET /v1/whoami to see your firm, and GET /v1/users to list all users and their IDs.
Expected response:

Step 3: List Available Instruments

Find instruments to trade:
Cache the price_scale for each instrument - you’ll need it to convert prices.

Step 4: Check Your Balance

Verify you have funds to trade:

Step 5: Place Your First Order

Place a limit order to buy:
Expected response:

Step 6: Check Your Order

Verify your order is in the book:

Step 7: Cancel Your Order (Optional)

Cancel the order if you don’t want it to execute:

Complete Example

Here’s the full working script:

Next Steps

Authentication Deep Dive

Token refresh and key rotation

gRPC Streaming

Real-time order and market data

REST API Reference

Complete endpoint documentation

Rate Limits

Usage limits and best practices