Skip to main content
DELETE
/
portfolio
/
events
/
orders
/
batched
Batch Cancel Orders (V2)
curl --request DELETE \
  --url https://api.elections.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": "<string>",
      "subaccount": 0
    }
  ]
}
'
{
  "orders": [
    {
      "order_id": "<string>",
      "reduced_by": "10.00",
      "client_order_id": "<string>",
      "error": {
        "code": "<string>",
        "message": "<string>",
        "details": "<string>",
        "service": "<string>"
      }
    }
  ]
}
Rate limit: 2 tokens per order in the batch — billed per item, so total cost for a batch of N cancels is N × 2. Other endpoints cost 10 tokens per request unless noted on their own page. See Rate Limits and Tiers.

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