Binance · Schema

Binance Order

Represents a trading order on the Binance exchange, applicable across spot, margin, and futures markets.

CryptocurrencyExchangeTradingBlockchainFinanceDeFiMarket Data

Properties

Name Type Description
symbol string Trading pair symbol, e.g. BTCUSDT.
orderId integer Unique order identifier assigned by Binance.
orderListId integer Order list identifier for OCO orders. -1 if not part of an OCO.
clientOrderId string Client-specified unique order identifier.
price string Order price as a decimal string.
origQty string Original order quantity.
executedQty string Quantity that has been executed/filled.
cummulativeQuoteQty string Cumulative quote asset quantity transacted.
status string Current order status.
timeInForce string Time in force policy.
type string Order type.
side string Order side: buy or sell.
stopPrice string Stop/trigger price for conditional orders.
icebergQty string Iceberg quantity for iceberg orders.
time integer Order creation time in milliseconds since Unix epoch.
updateTime integer Last update time in milliseconds since Unix epoch.
isWorking boolean Whether the order is currently on the order book.
workingTime integer Time when the order started working on the book.
origQuoteOrderQty string Original quote order quantity for market orders.
selfTradePreventionMode string Self-trade prevention mode.
positionSide string Position side for futures hedge mode.
reduceOnly boolean Whether this is a reduce-only order (futures).
closePosition boolean Whether this order closes the entire position (futures).
activatePrice string Activation price for trailing stop market orders.
priceRate string Callback rate for trailing stop market orders.
workingType string Stop price trigger type for futures.
priceProtect boolean Whether price protection is enabled.
View JSON Schema on GitHub

JSON Schema

binance-order-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.com/schemas/binance/order.json",
  "title": "Binance Order",
  "description": "Represents a trading order on the Binance exchange, applicable across spot, margin, and futures markets.",
  "type": "object",
  "required": ["symbol", "side", "type"],
  "properties": {
    "symbol": {
      "type": "string",
      "description": "Trading pair symbol, e.g. BTCUSDT.",
      "pattern": "^[A-Z0-9]+$"
    },
    "orderId": {
      "type": "integer",
      "format": "int64",
      "description": "Unique order identifier assigned by Binance."
    },
    "orderListId": {
      "type": "integer",
      "format": "int64",
      "description": "Order list identifier for OCO orders. -1 if not part of an OCO."
    },
    "clientOrderId": {
      "type": "string",
      "description": "Client-specified unique order identifier.",
      "maxLength": 36
    },
    "price": {
      "type": "string",
      "description": "Order price as a decimal string.",
      "pattern": "^\\d+\\.?\\d*$"
    },
    "origQty": {
      "type": "string",
      "description": "Original order quantity.",
      "pattern": "^\\d+\\.?\\d*$"
    },
    "executedQty": {
      "type": "string",
      "description": "Quantity that has been executed/filled.",
      "pattern": "^\\d+\\.?\\d*$"
    },
    "cummulativeQuoteQty": {
      "type": "string",
      "description": "Cumulative quote asset quantity transacted.",
      "pattern": "^\\d+\\.?\\d*$"
    },
    "status": {
      "type": "string",
      "description": "Current order status.",
      "enum": [
        "NEW",
        "PARTIALLY_FILLED",
        "FILLED",
        "CANCELED",
        "PENDING_CANCEL",
        "REJECTED",
        "EXPIRED",
        "EXPIRED_IN_MATCH"
      ]
    },
    "timeInForce": {
      "type": "string",
      "description": "Time in force policy.",
      "enum": ["GTC", "IOC", "FOK", "GTX", "GTD"]
    },
    "type": {
      "type": "string",
      "description": "Order type.",
      "enum": [
        "LIMIT",
        "MARKET",
        "STOP_LOSS",
        "STOP_LOSS_LIMIT",
        "TAKE_PROFIT",
        "TAKE_PROFIT_LIMIT",
        "LIMIT_MAKER",
        "STOP",
        "STOP_MARKET",
        "TAKE_PROFIT_MARKET",
        "TRAILING_STOP_MARKET"
      ]
    },
    "side": {
      "type": "string",
      "description": "Order side: buy or sell.",
      "enum": ["BUY", "SELL"]
    },
    "stopPrice": {
      "type": "string",
      "description": "Stop/trigger price for conditional orders.",
      "pattern": "^\\d+\\.?\\d*$"
    },
    "icebergQty": {
      "type": "string",
      "description": "Iceberg quantity for iceberg orders.",
      "pattern": "^\\d+\\.?\\d*$"
    },
    "time": {
      "type": "integer",
      "format": "int64",
      "description": "Order creation time in milliseconds since Unix epoch."
    },
    "updateTime": {
      "type": "integer",
      "format": "int64",
      "description": "Last update time in milliseconds since Unix epoch."
    },
    "isWorking": {
      "type": "boolean",
      "description": "Whether the order is currently on the order book."
    },
    "workingTime": {
      "type": "integer",
      "format": "int64",
      "description": "Time when the order started working on the book."
    },
    "origQuoteOrderQty": {
      "type": "string",
      "description": "Original quote order quantity for market orders."
    },
    "selfTradePreventionMode": {
      "type": "string",
      "description": "Self-trade prevention mode.",
      "enum": ["EXPIRE_TAKER", "EXPIRE_MAKER", "EXPIRE_BOTH", "NONE"]
    },
    "positionSide": {
      "type": "string",
      "description": "Position side for futures hedge mode.",
      "enum": ["BOTH", "LONG", "SHORT"]
    },
    "reduceOnly": {
      "type": "boolean",
      "description": "Whether this is a reduce-only order (futures)."
    },
    "closePosition": {
      "type": "boolean",
      "description": "Whether this order closes the entire position (futures)."
    },
    "activatePrice": {
      "type": "string",
      "description": "Activation price for trailing stop market orders."
    },
    "priceRate": {
      "type": "string",
      "description": "Callback rate for trailing stop market orders."
    },
    "workingType": {
      "type": "string",
      "description": "Stop price trigger type for futures.",
      "enum": ["MARK_PRICE", "CONTRACT_PRICE"]
    },
    "priceProtect": {
      "type": "boolean",
      "description": "Whether price protection is enabled."
    }
  },
  "$defs": {
    "Fill": {
      "type": "object",
      "description": "A trade fill executed against this order.",
      "properties": {
        "price": {
          "type": "string",
          "description": "Fill execution price."
        },
        "qty": {
          "type": "string",
          "description": "Fill quantity."
        },
        "commission": {
          "type": "string",
          "description": "Commission charged for this fill."
        },
        "commissionAsset": {
          "type": "string",
          "description": "Asset used for commission payment."
        },
        "tradeId": {
          "type": "integer",
          "format": "int64",
          "description": "Trade ID for this fill."
        }
      },
      "required": ["price", "qty", "commission", "commissionAsset"]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/binance-order"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.