You are viewing documentation for Polymarket US πΊπΈ
curl --request POST \
--url https://api.polymarket.us/v1/orders/batched \
--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": [
{
"marketSlug": "<string>",
"type": "ORDER_TYPE_LIMIT",
"quantity": 123,
"tif": "TIME_IN_FORCE_DAY",
"participateDontInitiate": true,
"goodTillTime": "<string>",
"intent": "ORDER_INTENT_BUY_LONG",
"outcomeSide": "OUTCOME_SIDE_YES",
"action": "ORDER_ACTION_BUY",
"manualOrderIndicator": "MANUAL_ORDER_INDICATOR_MANUAL",
"synchronousExecution": true,
"maxBlockTime": "<string>",
"slippageTolerance": {
"bips": 123,
"ticks": 123
}
}
]
}
'{
"createdOrderIds": [
"<string>"
]
}Create 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. Per-entry exchange outcomes (accept, fill, reject) are delivered on the order stream, not in this response. createdOrderIds are returned in request order.
curl --request POST \
--url https://api.polymarket.us/v1/orders/batched \
--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": [
{
"marketSlug": "<string>",
"type": "ORDER_TYPE_LIMIT",
"quantity": 123,
"tif": "TIME_IN_FORCE_DAY",
"participateDontInitiate": true,
"goodTillTime": "<string>",
"intent": "ORDER_INTENT_BUY_LONG",
"outcomeSide": "OUTCOME_SIDE_YES",
"action": "ORDER_ACTION_BUY",
"manualOrderIndicator": "MANUAL_ORDER_INDICATOR_MANUAL",
"synchronousExecution": true,
"maxBlockTime": "<string>",
"slippageTolerance": {
"bips": 123,
"ticks": 123
}
}
]
}
'{
"createdOrderIds": [
"<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 create multiple orders in a single batched request
Batched create-order request.
Orders to create (1 to 20).
1 - 20 elementsShow child attributes
Orders created successfully
Exchange-assigned order IDs, in request order.