You are viewing documentation for Polymarket US πΊπΈ
curl --request POST \
--url https://api.polymarket.us/v1/orders/open/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 '
{
"slugs": [
"<string>"
]
}
'{
"canceledOrderIds": [
"<string>"
]
}Cancel all open orders, optionally filtered by market slugs
curl --request POST \
--url https://api.polymarket.us/v1/orders/open/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 '
{
"slugs": [
"<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 all open orders
Request to cancel all open orders
List of market slugs to filter by. If empty, cancels all open orders.
Open orders canceled successfully
Response containing canceled order IDs
List of canceled order IDs