v3
latestOpenAPI 3.0.02026-07-311784111.3 MBTrading
Private
Retrieves the state of recent orders that have a specific label. This is useful for tracking orders that share the same label, which is helpful for managing related orders.
Results are filtered by currency and label. The response includes order details such as status, filled amount, remaining amount, and other order properties for all orders with the specified label.
Scope: trade:read
get/private/get_order_state_by_label
Query parameters
currency'BTC' | 'ETH' | 'USDC' | 'USDT' | 'EURR' required
Currency, i.e "BTC", "ETH", "USDC"
The currency symbol
labelstring required
user defined label for the order (maximum 64 characters)
Response
Success response
Example response
{
"result": [
{
"order_id": "ETH-100234",
"starbase_order_id": 103148386170,
"instrument_name": "BTC-PERPETUAL",
"creation_timestamp": 1536569522277,
"last_update_timestamp": 1536569522277,
"starbase_last_update_timestamp": 1536569522277000000,
"block_trade": true,
"trigger_order_id": "SLIB-370",
"combo_order_id": "103148386169",
"app_name": "Example Application",
"mmp_cancelled": true,
"oto_order_ids": [
"ETH-100234"
],
"primary_order_id": "ETH-100234"
}
]
}