Get Order By ID
API Description
Retrieves a single order by its ID for a specific trader address. Use this endpoint to fetch the current state and metadata of a particular order.
HTTP Request
GET /v4/public/mm/orderByIdRequest Parameters
chainId
uint64
Yes
Chain ID (e.g., 143 for Monad mainnet)
orderId
string
Yes
Order identifier to query (the client-visible orderId)
address
string
Yes
Trader address (EVM address format)
Example request URL: https://mainnet-api.monday.trade/v4/public/mm/orderById?chainId=143&orderId=1030049889949000026&address=0x0540a308f7bbab36267bdcf1bf1380e61f03a540
Response Parameters
The response contains a data object representing the order.
taken
string
Amount already filled (usually "0" for open orders)
tick
int64
Price tick level
nonce
uint64
Order nonce
balance
string
Order balance (in wei/smallest unit)
size
string
Order size (positive for long, negative for short)
oid
uint64
Internal order ID
side
uint32
Order side (1 = SHORT, 2 = LONG)
limitPrice
string
Limit price for the order (in wei/smallest unit)
lastUpdateTime
uint64
Last update timestamp (Unix timestamp in seconds)
lastUpdateTxHash
string
Transaction hash of last update
instrumentAddr
string
Contract address of the trading instrument
expiry
uint32
Instrument pair expiry timestamp (4294967295 = perpetual/no expiry)
symbol
string
Trading pair symbol (e.g., "ETH/USDC")
orderId
string
The queried orderId (client-visible)
status
string
Order status. Allowed values: open, canceled, filled, partial_filled
Request Example
Python (requests)
Note: This endpoint requires API authentication. See Quick Start Guide for signature generation details.
Response Example
Success Response
Error Response
Notes
This endpoint returns the order object for the specified
orderIdscoped to the providedaddressandchainId.All three parameters
chainId,orderId, andaddressare required.orderIdin the response is returned as a string to preserve large integer precision in JSON.Time fields are Unix timestamps in seconds.
Rate limit: 120 requests per minute (consistent with other trading endpoints)
Success response has
code: 0(not 200)
Last updated