WebSockets
/orders
WSS
orders
Documentation Index
Fetch the complete documentation index at: https://docs.drive.markets/llms.txt
Use this file to discover all available pages before exploring further.
Although this documentation separates operations into different channels for clarity, all messages are sent over
wss://poly.drive.markets.You must ensure the path property in your JSON payload matches the intended operation. Using WebSocketsMessages
{
"id": "<string>",
"path": "<string>",
"method": "<string>",
"headers": {
"POLY-API-KEY": "<string>",
"POLY-SIGNATURE": "<string>",
"POLY-TIMESTAMP": "<string>",
"POLY-NONCE": "<string>"
},
"body": "<string>"
}{
"id": "<string>",
"path": "<string>",
"method": "<string>",
"headers": {
"POLY-API-KEY": "<string>",
"POLY-SIGNATURE": "<string>",
"POLY-TIMESTAMP": "<string>",
"POLY-NONCE": "<string>"
},
"body": "<string>"
}{}Place Multiple Orders
type:object
Place up to 15 orders in a single request.
Cancel Multiple Orders
type:object
Cancel multiple orders by ID.
Response
type:string
Responses are structured to match Polymarket's CLOB API response format.
Refer to Polymarket's Order API for more information on the response format.
⌘I
Messages
{
"id": "<string>",
"path": "<string>",
"method": "<string>",
"headers": {
"POLY-API-KEY": "<string>",
"POLY-SIGNATURE": "<string>",
"POLY-TIMESTAMP": "<string>",
"POLY-NONCE": "<string>"
},
"body": "<string>"
}{
"id": "<string>",
"path": "<string>",
"method": "<string>",
"headers": {
"POLY-API-KEY": "<string>",
"POLY-SIGNATURE": "<string>",
"POLY-TIMESTAMP": "<string>",
"POLY-NONCE": "<string>"
},
"body": "<string>"
}{}
