Skip to main content
POST
/
v1
/
order
/
{orderId}
/
cancel
Cancel order
curl --request POST \
  --url https://api.polymarket.us/v1/order/{orderId}/cancel \
  --header 'Content-Type: application/json' \
  --header 'X-PM-Access-Key: <api-key>' \
  --header 'X-PM-Signature: <api-key>' \
  --header 'X-PM-Timestamp: <api-key>' \
  --data '
{
  "marketSlug": "<string>"
}
'
{}

Authorizations

X-PM-Access-Key
string
header
required

Your API key ID (UUID). Generate at polymarket.us/developer.

X-PM-Timestamp
string
header
required

Unix timestamp in milliseconds. Must be within 30 seconds of server time.

X-PM-Signature
string
header
required

Base64-encoded Ed25519 signature of timestamp + method + path. See Authentication for details.

Path Parameters

orderId
string
required

Exchange-assigned Order ID to cancel

Body

application/json

Request to cancel an existing order

Request to cancel an existing order

marketSlug
string

Unique market slug into which the order should be canceled

Response

Order canceled successfully

Response for order cancellation (empty on success)