Skip to main content
POST
/
v1
/
orders
/
open
/
cancel
Cancel all open orders
curl --request POST \
  --url https://api.polymarket.us/v1/orders/open/cancel \
  --header 'Content-Type: application/json' \
  --data '
{
  "slugs": [
    "<string>"
  ]
}
'
{
  "canceledOrderIds": [
    "<string>"
  ]
}

Body

application/json

Request to cancel all open orders

slugs
string[]

Market slugs to filter cancellation. If empty, cancels all open orders

Response

Open orders canceled successfully

canceledOrderIds
string[]

List of canceled order IDs