Skip to main content
POST
/
v1
/
clob
/
order
Clob Order
curl --request POST \
  --url https://staging-api.polysimulator.com/v1/clob/order \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <x-api-key>' \
  --data '
{
  "token_id": "<string>",
  "side": "BUY",
  "price": "<string>",
  "quantity": "<string>",
  "order_type": "GTC",
  "fee_rate_bps": 1,
  "nonce": "<string>",
  "taker": "<string>",
  "client_order_id": "<string>"
}
'
{
  "orderID": "<string>",
  "status": "<string>",
  "price": "<string>",
  "size": "<string>",
  "side": "<string>",
  "success": true,
  "transactID": "<string>",
  "errorMsg": "<string>",
  "takingAmount": "<string>",
  "makingAmount": "<string>"
}

Headers

X-API-Key
string
required

Your PolySimulator API key

Body

application/json

CLOB-compatible order request using token_id instead of condition_id.

Mirrors the real Polymarket CLOB API POST /order schema so clients can switch to live trading with a single URL change.

token_id
string
required

CLOB token ID

side
enum<string>
required
Available options:
BUY,
SELL
price
string
required

Limit price as decimal string (0.01-0.99)

quantity
string
required

Number of shares as decimal string

order_type
enum<string>
default:GTC
Available options:
GTC,
FOK,
IOC,
GTD
fee_rate_bps
integer | null

Fee rate in basis points (ignored in virtual mode)

Required range: x >= 0
nonce
string | null

Optional nonce (ignored in virtual mode)

taker
string | null

Optional taker address (ignored in virtual mode)

client_order_id
string | null
Maximum string length: 256

Response

Successful Response

Response matching Polymarket CLOB order response shape.

orderID
string
required
status
string
required
price
string
required
size
string
required
side
string
required
success
boolean
default:true
transactID
string | null
errorMsg
string | null
takingAmount
string | null
makingAmount
string | null