Skip to main content
POST
/
v1
/
trading
/
orders
/
cross
Insert order cross
curl --request POST \
  --url https://api.polymarketexchange.com/v1/trading/orders/cross \
  --header 'Content-Type: application/json' \
  --data '
{
  "requests": [
    {
      "type": "ORDER_TYPE_MARKET_TO_LIMIT",
      "side": "SIDE_BUY",
      "orderQty": "<string>",
      "symbol": "<string>",
      "price": "<string>",
      "timeInForce": "TIME_IN_FORCE_DAY",
      "clordId": "<string>",
      "account": "<string>",
      "stopPrice": "<string>",
      "minQty": "<string>",
      "selfMatchPreventionId": "<string>",
      "quote": "<string>",
      "allOrNone": true,
      "sessionId": "<string>",
      "user": "<string>",
      "clientAccountId": "<string>",
      "clientParticipantId": "<string>",
      "participateDontInitiate": true,
      "cashOrderQty": "<string>",
      "strictLimit": true,
      "goodTillTime": "2023-11-07T05:31:56Z",
      "bestLimit": true,
      "immediatelyExecutableLimit": true,
      "selfMatchPreventionInstruction": "SELF_MATCH_PREVENTION_INSTRUCTION_REJECT_AGGRESSOR",
      "orderCapacity": "ORDER_CAPACITY_AGENCY",
      "ignorePriceValidityChecks": true,
      "manualOrderIndicator": "MANUAL_ORDER_INDICATOR_MANUAL"
    }
  ],
  "crossType": "CROSS_TYPE_ALL_OR_NONE",
  "crossId": "<string>",
  "crossPrioritizedSide": "SIDE_BUY"
}
'
{
  "responses": [
    {
      "orderId": "<string>"
    }
  ]
}

Body

application/json
requests
object[]
crossType
enum<string>

CrossType specifies the type of order cross.

Available options:
CROSS_TYPE_ALL_OR_NONE
crossId
string
crossPrioritizedSide
enum<string>

Side indicates the side of an Order.

Available options:
SIDE_BUY,
SIDE_SELL

Response

200 - application/json

A successful response.

responses
object[]