curl --request POST \
--url https://api.polymarketexchange.com/v1/report/orders/search \
--header 'Content-Type: application/json' \
--data '
{
"pageSize": 123,
"pageToken": "<string>",
"orderId": "<string>",
"clordId": "<string>",
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"symbol": "<string>",
"accounts": [
"<string>"
],
"side": "SIDE_BUY",
"type": "ORDER_TYPE_MARKET_TO_LIMIT",
"orderStateFilter": "ORDER_STATE_FILTER_OPEN",
"crossId": "<string>",
"hostCrossId": "<string>",
"clientAccountId": "<string>",
"clientParticipantId": "<string>",
"parentOrderId": "<string>",
"startTransactTradeDate": {
"year": 123,
"month": 123,
"day": 123
},
"endTransactTradeDate": {
"year": 123,
"month": 123,
"day": 123
},
"withLastExecution": true
}
'{
"order": [
{
"id": "<string>",
"type": "ORDER_TYPE_MARKET_TO_LIMIT",
"side": "SIDE_BUY",
"orderQty": "<string>",
"symbol": "<string>",
"clordId": "<string>",
"timeInForce": "TIME_IN_FORCE_DAY",
"account": "<string>",
"cumQty": "<string>",
"avgPx": "<string>",
"leavesQty": "<string>",
"state": "ORDER_STATE_PARTIALLY_FILLED",
"participant": "<string>",
"price": "<string>",
"insertTime": "2023-11-07T05:31:56Z",
"stopPrice": "<string>",
"minQty": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"allOrNone": true,
"crossId": "<string>",
"hostCrossId": "<string>",
"submittingParticipant": "<string>",
"clientAccountId": "<string>",
"clientParticipantId": "<string>",
"parentOrderId": "<string>",
"commissionsBasisPoints": "<string>",
"participateDontInitiate": true,
"cashOrderQty": "<string>",
"strictLimit": true,
"goodTillTime": "2023-11-07T05:31:56Z",
"bestLimit": true,
"immediatelyExecutableLimit": true,
"lastTradeId": "<string>",
"commissionNotionalTotalCollected": "<string>",
"selfMatchPreventionInstruction": "SELF_MATCH_PREVENTION_INSTRUCTION_REJECT_AGGRESSOR",
"orderCapacity": "ORDER_CAPACITY_AGENCY",
"ignorePriceValidityChecks": true,
"lastTransactTime": "2023-11-07T05:31:56Z",
"makerCommissionsBasisPoints": "<string>",
"manualOrderIndicator": "MANUAL_ORDER_INDICATOR_MANUAL"
}
],
"nextPageToken": "<string>",
"lastExecutions": [
{
"id": "<string>",
"order": {
"id": "<string>",
"type": "ORDER_TYPE_MARKET_TO_LIMIT",
"side": "SIDE_BUY",
"orderQty": "<string>",
"symbol": "<string>",
"clordId": "<string>",
"timeInForce": "TIME_IN_FORCE_DAY",
"account": "<string>",
"cumQty": "<string>",
"avgPx": "<string>",
"leavesQty": "<string>",
"state": "ORDER_STATE_PARTIALLY_FILLED",
"participant": "<string>",
"price": "<string>",
"insertTime": "2023-11-07T05:31:56Z",
"stopPrice": "<string>",
"minQty": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"allOrNone": true,
"crossId": "<string>",
"hostCrossId": "<string>",
"submittingParticipant": "<string>",
"clientAccountId": "<string>",
"clientParticipantId": "<string>",
"parentOrderId": "<string>",
"commissionsBasisPoints": "<string>",
"participateDontInitiate": true,
"cashOrderQty": "<string>",
"strictLimit": true,
"goodTillTime": "2023-11-07T05:31:56Z",
"bestLimit": true,
"immediatelyExecutableLimit": true,
"lastTradeId": "<string>",
"commissionNotionalTotalCollected": "<string>",
"selfMatchPreventionInstruction": "SELF_MATCH_PREVENTION_INSTRUCTION_REJECT_AGGRESSOR",
"orderCapacity": "ORDER_CAPACITY_AGENCY",
"ignorePriceValidityChecks": true,
"lastTransactTime": "2023-11-07T05:31:56Z",
"makerCommissionsBasisPoints": "<string>",
"manualOrderIndicator": "MANUAL_ORDER_INDICATOR_MANUAL"
},
"lastShares": "<string>",
"lastPx": "<string>",
"type": "EXECUTION_TYPE_PARTIAL_FILL",
"text": "<string>",
"orderRejectReason": "ORD_REJECT_REASON_UNKNOWN_SYMBOL",
"transactTime": "2023-11-07T05:31:56Z",
"legPrices": [
{
"symbol": "<string>",
"anchor": true,
"px": "<string>",
"qty": "<string>",
"side": "<string>",
"referencePx": "<string>"
}
],
"tradeId": "<string>",
"aggressor": true,
"commissionNotionalCollected": "<string>",
"unsolicitedCancelReason": "UNSOLICITED_CXL_REASON_CONNECTION_LOSS",
"traceId": "<string>",
"commissionSpreadPx": "<string>",
"transactTradeDate": {
"year": 123,
"month": 123,
"day": 123
}
}
]
}Searches for exchange orders using the given details to filter
curl --request POST \
--url https://api.polymarketexchange.com/v1/report/orders/search \
--header 'Content-Type: application/json' \
--data '
{
"pageSize": 123,
"pageToken": "<string>",
"orderId": "<string>",
"clordId": "<string>",
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"symbol": "<string>",
"accounts": [
"<string>"
],
"side": "SIDE_BUY",
"type": "ORDER_TYPE_MARKET_TO_LIMIT",
"orderStateFilter": "ORDER_STATE_FILTER_OPEN",
"crossId": "<string>",
"hostCrossId": "<string>",
"clientAccountId": "<string>",
"clientParticipantId": "<string>",
"parentOrderId": "<string>",
"startTransactTradeDate": {
"year": 123,
"month": 123,
"day": 123
},
"endTransactTradeDate": {
"year": 123,
"month": 123,
"day": 123
},
"withLastExecution": true
}
'{
"order": [
{
"id": "<string>",
"type": "ORDER_TYPE_MARKET_TO_LIMIT",
"side": "SIDE_BUY",
"orderQty": "<string>",
"symbol": "<string>",
"clordId": "<string>",
"timeInForce": "TIME_IN_FORCE_DAY",
"account": "<string>",
"cumQty": "<string>",
"avgPx": "<string>",
"leavesQty": "<string>",
"state": "ORDER_STATE_PARTIALLY_FILLED",
"participant": "<string>",
"price": "<string>",
"insertTime": "2023-11-07T05:31:56Z",
"stopPrice": "<string>",
"minQty": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"allOrNone": true,
"crossId": "<string>",
"hostCrossId": "<string>",
"submittingParticipant": "<string>",
"clientAccountId": "<string>",
"clientParticipantId": "<string>",
"parentOrderId": "<string>",
"commissionsBasisPoints": "<string>",
"participateDontInitiate": true,
"cashOrderQty": "<string>",
"strictLimit": true,
"goodTillTime": "2023-11-07T05:31:56Z",
"bestLimit": true,
"immediatelyExecutableLimit": true,
"lastTradeId": "<string>",
"commissionNotionalTotalCollected": "<string>",
"selfMatchPreventionInstruction": "SELF_MATCH_PREVENTION_INSTRUCTION_REJECT_AGGRESSOR",
"orderCapacity": "ORDER_CAPACITY_AGENCY",
"ignorePriceValidityChecks": true,
"lastTransactTime": "2023-11-07T05:31:56Z",
"makerCommissionsBasisPoints": "<string>",
"manualOrderIndicator": "MANUAL_ORDER_INDICATOR_MANUAL"
}
],
"nextPageToken": "<string>",
"lastExecutions": [
{
"id": "<string>",
"order": {
"id": "<string>",
"type": "ORDER_TYPE_MARKET_TO_LIMIT",
"side": "SIDE_BUY",
"orderQty": "<string>",
"symbol": "<string>",
"clordId": "<string>",
"timeInForce": "TIME_IN_FORCE_DAY",
"account": "<string>",
"cumQty": "<string>",
"avgPx": "<string>",
"leavesQty": "<string>",
"state": "ORDER_STATE_PARTIALLY_FILLED",
"participant": "<string>",
"price": "<string>",
"insertTime": "2023-11-07T05:31:56Z",
"stopPrice": "<string>",
"minQty": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"allOrNone": true,
"crossId": "<string>",
"hostCrossId": "<string>",
"submittingParticipant": "<string>",
"clientAccountId": "<string>",
"clientParticipantId": "<string>",
"parentOrderId": "<string>",
"commissionsBasisPoints": "<string>",
"participateDontInitiate": true,
"cashOrderQty": "<string>",
"strictLimit": true,
"goodTillTime": "2023-11-07T05:31:56Z",
"bestLimit": true,
"immediatelyExecutableLimit": true,
"lastTradeId": "<string>",
"commissionNotionalTotalCollected": "<string>",
"selfMatchPreventionInstruction": "SELF_MATCH_PREVENTION_INSTRUCTION_REJECT_AGGRESSOR",
"orderCapacity": "ORDER_CAPACITY_AGENCY",
"ignorePriceValidityChecks": true,
"lastTransactTime": "2023-11-07T05:31:56Z",
"makerCommissionsBasisPoints": "<string>",
"manualOrderIndicator": "MANUAL_ORDER_INDICATOR_MANUAL"
},
"lastShares": "<string>",
"lastPx": "<string>",
"type": "EXECUTION_TYPE_PARTIAL_FILL",
"text": "<string>",
"orderRejectReason": "ORD_REJECT_REASON_UNKNOWN_SYMBOL",
"transactTime": "2023-11-07T05:31:56Z",
"legPrices": [
{
"symbol": "<string>",
"anchor": true,
"px": "<string>",
"qty": "<string>",
"side": "<string>",
"referencePx": "<string>"
}
],
"tradeId": "<string>",
"aggressor": true,
"commissionNotionalCollected": "<string>",
"unsolicitedCancelReason": "UNSOLICITED_CXL_REASON_CONNECTION_LOSS",
"traceId": "<string>",
"commissionSpreadPx": "<string>",
"transactTradeDate": {
"year": 123,
"month": 123,
"day": 123
}
}
]
}Side indicates the side of an Order.
SIDE_BUY, SIDE_SELL OrderType indicates the type of an order.
ORDER_TYPE_MARKET_TO_LIMIT, ORDER_TYPE_LIMIT, ORDER_TYPE_STOP, ORDER_TYPE_STOP_LIMIT OrderStateFilter describes a filter for searching orders that are open or closed.
ORDER_STATE_FILTER_OPEN, ORDER_STATE_FILTER_CLOSED, ORDER_STATE_FILTER_NEW, ORDER_STATE_FILTER_PARTIALLY_FILLED, ORDER_STATE_FILTER_FILLED, ORDER_STATE_FILTER_CANCELED, ORDER_STATE_FILTER_REPLACED, ORDER_STATE_FILTER_REJECTED, ORDER_STATE_FILTER_EXPIRED, ORDER_STATE_FILTER_PENDING_RISK Date represents a calendar date.
Show child attributes
Date represents a calendar date.
Show child attributes