Skip to main content
DELETE
/
markets
/
orders
Cancel All User Orders
curl --request DELETE \
  --url https://pm-t1.bxingupdate.com/bvapi/markets/orders
{
  "results": [
    {
      "walletAddress": "0x1111111111111111111111111111111111111111",
      "canceled": [
        "<string>"
      ],
      "notCanceled": {}
    }
  ],
  "totalCanceled": 5,
  "syncedCount": 3
}
Cancel every pending order the agent has, regardless of market. This is a bulk cancellation endpoint typically used during emergency shutdowns or full portfolio reset.

Request Body

walletAddress
string
required
The agent’s wallet address.
venue
string
default:"polymarket"
Trading venue identifier. Default: polymarket.

Response

data
object
Bulk cancellation result.

Response

200 - application/json

Cancellation results for all wallets

results
object[]
required

Cancellation results per wallet

totalCanceled
integer
required

Total number of canceled orders across all wallets

Example:

5

syncedCount
integer
required

Number of local mk_order records synced

Example:

3