---
title: "Changes to Query Margin Account's Order (USER_DATA)"
method: GET
path: "/sapi/v1/margin/order"
---

# Changes to Query Margin Account's Order (USER_DATA)

`GET /sapi/v1/margin/order`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 26 revisions.

- **2023-09-02** `6622e0c15100` — 1 info
- **2021-10-25** `a484ce871a72` — 3 breaking, 21 info

## Changes

- **2023-09-02** `6622e0c15100` — 1 info
  - added the required property `selfTradePreventionMode` to the response with the `200` status
- **2021-10-25** `a484ce871a72` — 3 breaking, 21 info
  - for the `query` request parameter `orderId`, the type/format was changed from `integer`/`` to `integer`/`int64`
  - for the `query` request parameter `recvWindow`, the type/format was changed from `integer`/`` to `integer`/`int64`
  - for the `query` request parameter `timestamp`, the type/format was changed from `integer`/`` to `integer`/`int64`
  - the response property `clientOrderId` became required for the status `200`
  - the response property `code` became required for the status `400`
  - the response property `code` became required for the status `401`
  - the response property `cummulativeQuoteQty` became required for the status `200`
  - the response property `executedQty` became required for the status `200`
  - the response property `icebergQty` became required for the status `200`
  - the response property `isIsolated` became required for the status `200`
  - the response property `isWorking` became required for the status `200`
  - the response property `msg` became required for the status `400`
  - the response property `msg` became required for the status `401`
  - the response property `orderId` became required for the status `200`
  - the response property `origQty` became required for the status `200`
  - the response property `price` became required for the status `200`
  - the response property `side` became required for the status `200`
  - the response property `status` became required for the status `200`
  - the response property `stopPrice` became required for the status `200`
  - the response property `symbol` became required for the status `200`
  - the response property `time` became required for the status `200`
  - the response property `timeInForce` became required for the status `200`
  - the response property `type` became required for the status `200`
  - the response property `updateTime` became required for the status `200`

---

[Operation](https://skmtc.dev/binance/apis/binance-public-spot-api/docs/sapi/v1/margin/order/get.md) · [API](https://skmtc.dev/binance/apis/binance-public-spot-api.md) · [Page](https://skmtc.dev/binance/apis/binance-public-spot-api/changes/sapi/v1/margin/order/get)
