Skip to main content
DELETE
/
portfolio
/
events
/
orders
/
batched
Batch Cancel Orders (V2)
curl --request DELETE \
  --url https://external-api.kalshi.com/trade-api/v2/portfolio/events/orders/batched \
  --header 'Content-Type: application/json' \
  --header 'KALSHI-ACCESS-KEY: <api-key>' \
  --header 'KALSHI-ACCESS-SIGNATURE: <api-key>' \
  --header 'KALSHI-ACCESS-TIMESTAMP: <api-key>' \
  --data '
{
  "orders": [
    {
      "order_id": "3b23c1c7-f4ef-4f0d-8b9a-9e53c61f1a0d",
      "subaccount": 0,
      "exchange_index": 0
    },
    {
      "order_id": "a6d6010d-6d5f-40a1-a7e7-5501386bb621",
      "subaccount": 0,
      "exchange_index": 0
    }
  ]
}
'
{
  "orders": [
    {
      "order_id": "3b23c1c7-f4ef-4f0d-8b9a-9e53c61f1a0d",
      "client_order_id": "8c35ecb3-328f-4f52-8c7c-0f4b9862f8d1",
      "reduced_by": "10.00",
      "ts_ms": 1715793660456
    },
    {
      "order_id": "a6d6010d-6d5f-40a1-a7e7-5501386bb621",
      "client_order_id": "2a0e3fc9-b593-4aa3-96e5-82f7f7566c2a",
      "reduced_by": "5.00",
      "ts_ms": 1715793660789
    }
  ]
}
Rate limit: 2 tokens per order in the batch — billed per item, so total cost for a batch of N cancels is N × 2. See GET /trade-api/v2/account/endpoint_costs for current non-default endpoint costs.

Authorizations

KALSHI-ACCESS-KEY
string
header
required

Your API key ID

KALSHI-ACCESS-SIGNATURE
string
header
required

RSA-PSS signature of the request

KALSHI-ACCESS-TIMESTAMP
string
header
required

Request timestamp in milliseconds

Body

application/json
orders
object[]
required

An array of orders to cancel, each optionally specifying a subaccount.

Response

Batch order cancellation completed

orders
object[]
required