New API users should migrate to deposit wallets. Read the migration guide.
curl --request DELETE \
--url https://clob.polymarket.com/orders \
--header 'Content-Type: application/json' \
--header 'POLY_ADDRESS: <api-key>' \
--header 'POLY_API_KEY: <api-key>' \
--header 'POLY_PASSPHRASE: <api-key>' \
--header 'POLY_SIGNATURE: <api-key>' \
--header 'POLY_TIMESTAMP: <api-key>' \
--data '
[
"0xabcdef1234567890abcdef1234567890abcdef12",
"0xfedcba0987654321fedcba0987654321fedcba09",
"0x1234567890abcdef1234567890abcdef12345678"
]
'Cancels multiple orders by their IDs. Maximum 3000 orders per request. Duplicate order IDs in the request are automatically ignored. Works even in cancel-only mode.
curl --request DELETE \
--url https://clob.polymarket.com/orders \
--header 'Content-Type: application/json' \
--header 'POLY_ADDRESS: <api-key>' \
--header 'POLY_API_KEY: <api-key>' \
--header 'POLY_PASSPHRASE: <api-key>' \
--header 'POLY_SIGNATURE: <api-key>' \
--header 'POLY_TIMESTAMP: <api-key>' \
--data '
[
"0xabcdef1234567890abcdef1234567890abcdef12",
"0xfedcba0987654321fedcba0987654321fedcba09",
"0x1234567890abcdef1234567890abcdef12345678"
]
'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.
Your API key
Ethereum address associated with the API key
HMAC signature of the request
API key passphrase
Unix timestamp of the request
3000Cancellation results for all orders
Array of order IDs that were successfully canceled
[
"0xabcdef1234567890abcdef1234567890abcdef12"
]
Map of order IDs that could not be canceled with error messages
Show child attributes
{
"0xabcdef1234567890abcdef1234567890abcdef12": "Order not found or already canceled"
}
Was this page helpful?