get_order
Retrieve the status, fills, timestamps, and market session details for a specific Public.com order using its UUID.
Instructions
Get the status and details of a specific order, including its fills.
Returns the order with trades (each fill's tradeId, quantity, price, side,
timestamp and, when reported, marketIdentificationCode — the ISO 10383 MIC
of the execution venue, e.g. XNAS), filledAt, replacedAt, lastModified
and equityMarketSession. equityMarketSession reports the session as REGULAR,
REST_OF_DAY or TWENTY_FOUR_HOURS.
Only orders created within the last 30 days can be looked up; older orders return a not-found error. Order placement is asynchronous, so this may also return an error for an order that was just placed and has not yet been indexed.
An order that belongs to a bracket carries a bracketId — the order ID of the bracket's entry order. Pass that ID to get_orders to find the sibling legs.
Args: order_id: The UUID of the order to look up. account_id: Account ID. Optional if PUBLIC_COM_ACCOUNT_ID is set.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"order_id": "<order_id>"
},
"name": "get_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | ||
| account_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |