BTSE · Schema

QueryOrderResponse

CompanyCryptocurrencyExchangeTradingDigital AssetsFuturesWebSocket

Properties

Name Type Description
orderID string Order ID
symbol string Market symbol
quote string Quote currency
side string BUY or SELL
orderType integer Order type code
price number Order price
orderValue number Total order value
averageFillPrice number Average fill price
status integer Order status code: `2` (ORDER_INSERTED) · `4` (FULLY_MATCHED) · `5` (PARTIAL_FILL) · `6` (CANCELLED) · `9` (TRIGGER_INSERTED) · `10` (TRIGGER_ACTIVATED) · `15` (REJECTED)
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
currentOrderQuoteSize number Latest order quantity in quote currency
remainingOrderBaseSize number Unfilled quantity in base currency
remainingOrderQuoteSize number Unfilled quantity in quote 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`
filledSize number **Deprecated in v3.3.** Use `totalFilledBaseSize`
remainingSize number **Deprecated in v3.3.** Use `remainingOrderBaseSize` / `remainingOrderQuoteSize`
timeInForce string Time in force: `GTC` · `IOC` · `FOK` · `HALFMIN` · `FIVEMIN` · `HOUR` · `TWELVEHOUR` · `DAY` · `WEEK` · `MONTH`
timestamp integer Order timestamp
clOrderID string Custom order ID
triggerOrder boolean Whether this is a trigger order
triggerPrice number Trigger price
triggered boolean Whether the order has been triggered
trailValue number Trail value
View JSON Schema on GitHub

JSON Schema

btse-query-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-query-order-response-schema.json",
  "title": "QueryOrderResponse",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/btse-spot-legacy-openapi.yml#/components/schemas/QueryOrderResponse",
  "type": "object",
  "properties": {
    "orderID": {
      "type": "string",
      "description": "Order ID"
    },
    "symbol": {
      "type": "string",
      "description": "Market symbol"
    },
    "quote": {
      "type": "string",
      "description": "Quote currency"
    },
    "side": {
      "type": "string",
      "description": "BUY or SELL"
    },
    "orderType": {
      "type": "integer",
      "description": "Order type code"
    },
    "price": {
      "type": "number",
      "description": "Order price"
    },
    "orderValue": {
      "type": "number",
      "description": "Total order value"
    },
    "averageFillPrice": {
      "type": "number",
      "description": "Average fill price"
    },
    "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)"
    },
    "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"
    },
    "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"
    },
    "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`"
    },
    "filledSize": {
      "type": "number",
      "deprecated": true,
      "description": "**Deprecated in v3.3.** Use `totalFilledBaseSize`"
    },
    "remainingSize": {
      "type": "number",
      "deprecated": true,
      "description": "**Deprecated in v3.3.** Use `remainingOrderBaseSize` / `remainingOrderQuoteSize`"
    },
    "timeInForce": {
      "type": "string",
      "description": "Time in force: `GTC` · `IOC` · `FOK` · `HALFMIN` · `FIVEMIN` · `HOUR` · `TWELVEHOUR` · `DAY` · `WEEK` · `MONTH`"
    },
    "timestamp": {
      "type": "integer",
      "format": "int64",
      "description": "Order timestamp"
    },
    "clOrderID": {
      "type": "string",
      "description": "Custom order ID"
    },
    "triggerOrder": {
      "type": "boolean",
      "description": "Whether this is a trigger order"
    },
    "triggerPrice": {
      "type": "number",
      "description": "Trigger price"
    },
    "triggered": {
      "type": "boolean",
      "description": "Whether the order has been triggered"
    },
    "trailValue": {
      "type": "number",
      "description": "Trail 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-query-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.