Cancel by market

DELETE/v1/px/orders/by-marketcancel scope

Market Maker APIE6 decimal strings throughoutA | B

Cancel all of your open orders in one market.

Send X-PX-Key: pxk_…. This endpoint requires the cancel scope — an insufficient scope returns 403, not 401, and this line does not use Bearer sessions. To request a key and see the limits, visit the onboarding page.

Behaviour

  • marketId is required.
  • Same response shape as batch cancel.