Get Open Orders

API Description

Retrieves all open orders for a specific trader address. This endpoint provides real-time information about pending limit orders across all trading pairs. Only orders that are currently active and not yet filled or cancelled are returned.

HTTP Request

GET /v4/public/mm/order/realtime

Request Parameters

Parameter
Type
Required
Description

chainId

uint64

Yes

Chain ID (e.g., 143 for Monad mainnet)

address

string

Yes

Trader address (EVM address format)

symbol

string

Optional

Trading pair symbol to filter results (e.g., "BTC/USDC"). If omitted, orders across all symbols for the address are returned.

Response Parameters

The response is an array of open order objects.

Parameter
Type
Description

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

oid(tick+nonce) mean nothing

orderId

string

Additional order identifier returned by API (string to preserve large integer precision)

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., "BTC/USDC")

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 requires API authentication (see Quick Start Guide)

  • Required parameters: chainId, address

  • Optional parameter: symbol — when provided, results are filtered to the specified trading pair; when omitted, returns orders across all symbols for the address

  • Response format: Returns an array of open order objects

  • Order filtering: Only returns orders that are currently active (not filled or cancelled)

  • Order side:

    • side: 1 = SHORT order

    • side: 2 = LONG order

  • Order size:

    • Positive value = LONG order

    • Negative value = SHORT order

  • Price and size format: All values are returned as strings in wei/smallest unit format to preserve precision

  • Taken field: Usually "0" for open orders (indicates how much of the order has been filled)

  • Tick: Represents the price tick level in the order book

  • Nonce: Order nonce used for ordering and cancellation

  • Balance: Order balance (collateral allocated to this order)

  • Limit price: The price at which the order will be executed

  • Time fields: lastUpdateTime is a Unix timestamp in seconds (not milliseconds)

  • Transaction hash: lastUpdateTxHash is the transaction hash of the last order

Last updated