You are viewing documentation for Polymarket US πΊπΈ
curl --request POST \
--url https://api.polymarket.us/v1/orders/batched/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 '
{
"orders": [
{
"orderId": "<string>",
"marketSlug": "<string>"
}
]
}
'{
"canceledOrderIds": [
"<string>"
]
}Cancel up to 20 orders in a single request. If any entry fails request-shape validation, the whole batch is rejected by the gateway before reaching the exchange. The exchange may silently ignore unknown orderIds. canceledOrderIds is an echo of the request, not a confirmation; observe actual outcomes on the order stream.
curl --request POST \
--url https://api.polymarket.us/v1/orders/batched/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 '
{
"orders": [
{
"orderId": "<string>",
"marketSlug": "<string>"
}
]
}
'{
"canceledOrderIds": [
"<string>"
]
}Documentation Index
Fetch the complete documentation index at: https://docs.polymarket.us/llms.txt
Use this file to discover all available pages before exploring further.
Your API key ID (UUID). Generate at polymarket.us/developer.
Unix timestamp in milliseconds. Must be within 30 seconds of server time.
Base64-encoded Ed25519 signature of timestamp + method + path. See Authentication for details.
Request to cancel multiple orders in a single batched request
Batched cancel-order request.
Orders to cancel (1 to 20).
1 - 20 elementsShow child attributes
All orders successfully submitted for cancellation
Order IDs submitted for cancellation, in request order. Echo of the input, not a confirmation. Watch the order stream for actual outcomes.