BTSE · Schema

OrderResponse

CompanyCryptocurrencyExchangeTradingDigital AssetsFuturesWebSocket

Properties

Name Type Description
symbol string Market symbol
orderID string Internal order ID
clOrderID string Custom order ID
side string BUY or SELL
price number Order price
orderType integer 76: Limit · 77: Market · 80: Peg/Algo
status integer Order status code: `2` (ORDER_INSERTED) · `4` (FULLY_MATCHED) · `5` (PARTIAL_FILL) · `6` (CANCELLED) · `9` (TRIGGER_INSERTED) · `10` (TRIGGER_ACTIVATED) · `15` (REJECTED)
averageFillPrice number Average fill price
originalOrderBaseSize number Original order quantity expressed in base currency
originalOrderQuoteSize number Original order quantity expressed in quote currency
currentOrderBaseSize number Latest order quantity in base currency (after amendments / partial fills)
currentOrderQuoteSize number Latest order quantity in quote currency
remainingOrderBaseSize number Unfilled quantity in base currency
remainingOrderQuoteSize number Unfilled quantity in quote currency
filledBaseSize number Most recent fill quantity in base currency
totalFilledBaseSize number Cumulative filled quantity in base currency
orderCurrency string Currency the order size is denominated in: `base` or `quote`
size number **Deprecated in v3.3.** Use `originalOrderBaseSize` / `originalOrderQuoteSize`
fillSize number **Deprecated in v3.3.** Use `filledBaseSize` / `totalFilledBaseSize`
remainingSize number **Deprecated in v3.3.** Use `remainingOrderBaseSize` / `remainingOrderQuoteSize`
originalSize number **Deprecated in v3.3.** Use `originalOrderBaseSize` / `originalOrderQuoteSize`
triggerPrice number Trigger price (`0` if not a trigger order)
stopPrice number Stop price
time_in_force string Time in force: `GTC` · `IOC` · `FOK` · `HALFMIN` · `FIVEMIN` · `HOUR` · `TWELVEHOUR` · `DAY` · `WEEK` · `MONTH`
timestamp integer Order timestamp
trigger boolean Whether the order is a trigger order
postOnly boolean Whether post-only
stealth number Stealth value
deviation number Deviation value
View JSON Schema on GitHub

JSON Schema

btse-order-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/btse/main/json-schema/btse-order-response-schema.json",
  "title": "OrderResponse",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/btse-spot-legacy-openapi.yml#/components/schemas/OrderResponse",
  "type": "object",
  "properties": {
    "symbol": {
      "type": "string",
      "description": "Market symbol"
    },
    "orderID": {
      "type": "string",
      "description": "Internal order ID"
    },
    "clOrderID": {
      "type": "string",
      "description": "Custom order ID"
    },
    "side": {
      "type": "string",
      "description": "BUY or SELL"
    },
    "price": {
      "type": "number",
      "description": "Order price"
    },
    "orderType": {
      "type": "integer",
      "description": "76: Limit · 77: Market · 80: Peg/Algo"
    },
    "status": {
      "type": "integer",
      "description": "Order status code: `2` (ORDER_INSERTED) · `4` (FULLY_MATCHED) · `5` (PARTIAL_FILL) · `6` (CANCELLED) · `9` (TRIGGER_INSERTED) · `10` (TRIGGER_ACTIVATED) · `15` (REJECTED)"
    },
    "averageFillPrice": {
      "type": "number",
      "description": "Average fill price"
    },
    "originalOrderBaseSize": {
      "type": "number",
      "description": "Original order quantity expressed in base currency"
    },
    "originalOrderQuoteSize": {
      "type": "number",
      "description": "Original order quantity expressed in quote currency"
    },
    "currentOrderBaseSize": {
      "type": "number",
      "description": "Latest order quantity in base currency (after amendments / partial fills)"
    },
    "currentOrderQuoteSize": {
      "type": "number",
      "description": "Latest order quantity in quote currency"
    },
    "remainingOrderBaseSize": {
      "type": "number",
      "description": "Unfilled quantity in base currency"
    },
    "remainingOrderQuoteSize": {
      "type": "number",
      "description": "Unfilled quantity in quote currency"
    },
    "filledBaseSize": {
      "type": "number",
      "description": "Most recent fill quantity in base currency"
    },
    "totalFilledBaseSize": {
      "type": "number",
      "description": "Cumulative filled quantity in base currency"
    },
    "orderCurrency": {
      "type": "string",
      "enum": [
        "base",
        "quote"
      ],
      "description": "Currency the order size is denominated in: `base` or `quote`"
    },
    "size": {
      "type": "number",
      "deprecated": true,
      "description": "**Deprecated in v3.3.** Use `originalOrderBaseSize` / `originalOrderQuoteSize`"
    },
    "fillSize": {
      "type": "number",
      "deprecated": true,
      "description": "**Deprecated in v3.3.** Use `filledBaseSize` / `totalFilledBaseSize`"
    },
    "remainingSize": {
      "type": "number",
      "deprecated": true,
      "description": "**Deprecated in v3.3.** Use `remainingOrderBaseSize` / `remainingOrderQuoteSize`"
    },
    "originalSize": {
      "type": "number",
      "deprecated": true,
      "description": "**Deprecated in v3.3.** Use `originalOrderBaseSize` / `originalOrderQuoteSize`"
    },
    "triggerPrice": {
      "type": "number",
      "description": "Trigger price (`0` if not a trigger order)"
    },
    "stopPrice": {
      "type": "number",
      "description": "Stop price"
    },
    "time_in_force": {
      "type": "string",
      "description": "Time in force: `GTC` · `IOC` · `FOK` · `HALFMIN` · `FIVEMIN` · `HOUR` · `TWELVEHOUR` · `DAY` · `WEEK` · `MONTH`"
    },
    "timestamp": {
      "type": "integer",
      "format": "int64",
      "description": "Order timestamp"
    },
    "trigger": {
      "type": "boolean",
      "description": "Whether the order is a trigger order"
    },
    "postOnly": {
      "type": "boolean",
      "description": "Whether post-only"
    },
    "stealth": {
      "type": "number",
      "description": "Stealth value"
    },
    "deviation": {
      "type": "number",
      "description": "Deviation value"
    }
  }
}

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/btse-order-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.