BTSE · Schema

PlaceOrderResp

CompanyCryptocurrencyExchangeTradingDigital AssetsFuturesWebSocket

Properties

Name Type Description
orderId string Server-assigned order identifier
clOrderId string Echo of the client-supplied order identifier if one was provided
status integer Numeric status code reflecting the current state of the order (e.g. filled, cancelled, rejected)
market string Trading pair, e.g. BTC-USDT
type integer Numeric code identifying the order type (e.g. LIMIT, MARKET, TWAP, PEG)
orderSide string BUY or SELL
orderPrice number Order price
postOnly boolean Whether the order was submitted as post-only
timestamp integer Server-side event timestamp in epoch milliseconds
orderDetailType string Detailed order sub-type when applicable (e.g. TWAP for algo TWAP orders)
message string Optional diagnostic message; present only when one is returned (e.g. rejection reason)
userQuoteCurrency string Quote currency configured for the user
orderCurrency string 'quote' or 'base'; indicates whether the quote-size or base-size fields below are populated
originalOrderBaseSize number Original size in base currency; populated when orderCurrency is 'base'
originalOrderQuoteSize number Original size in quote currency; populated when orderCurrency is 'quote'
currentOrderBaseSize number Currently active size in base currency; populated when orderCurrency is 'base'
currentOrderQuoteSize number Currently active size in quote currency; populated when orderCurrency is 'quote'
remainingOrderBaseSize number Remaining unfilled size in base currency; populated when orderCurrency is 'base'
remainingOrderQuoteSize number Remaining unfilled size in quote currency; populated when orderCurrency is 'quote'
filledBaseSize number Size filled by the most recent match, in base currency
totalFilledBaseSize number Cumulative filled size across all matches, in base currency
avgFilledPrice number Volume-weighted average fill price
time_in_force string Time-in-force policy (GTC, IOC, FOK); null when not applicable to the order type
View JSON Schema on GitHub

JSON Schema

btse-place-order-resp-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/btse/main/json-schema/btse-place-order-resp-schema.json",
  "title": "PlaceOrderResp",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/btse-spot-openapi.yml#/components/schemas/PlaceOrderResp",
  "type": "object",
  "properties": {
    "orderId": {
      "type": "string",
      "description": "Server-assigned order identifier"
    },
    "clOrderId": {
      "type": "string",
      "description": "Echo of the client-supplied order identifier if one was provided"
    },
    "status": {
      "type": "integer",
      "format": "int32",
      "description": "Numeric status code reflecting the current state of the order (e.g. filled, cancelled, rejected)"
    },
    "market": {
      "type": "string",
      "description": "Trading pair, e.g. BTC-USDT"
    },
    "type": {
      "type": "integer",
      "format": "int32",
      "description": "Numeric code identifying the order type (e.g. LIMIT, MARKET, TWAP, PEG)"
    },
    "orderSide": {
      "type": "string",
      "description": "BUY or SELL"
    },
    "orderPrice": {
      "type": "number",
      "format": "double",
      "description": "Order price"
    },
    "postOnly": {
      "type": "boolean",
      "description": "Whether the order was submitted as post-only"
    },
    "timestamp": {
      "type": "integer",
      "format": "int64",
      "description": "Server-side event timestamp in epoch milliseconds"
    },
    "orderDetailType": {
      "type": "string",
      "description": "Detailed order sub-type when applicable (e.g. TWAP for algo TWAP orders)",
      "enum": [
        "TWAP",
        "PARTIAL_LIQUIDATION",
        "FORCED_MARKET_BUY",
        "FORCED_MARKET_SELL"
      ]
    },
    "message": {
      "type": "string",
      "description": "Optional diagnostic message; present only when one is returned (e.g. rejection reason)"
    },
    "userQuoteCurrency": {
      "type": "string",
      "description": "Quote currency configured for the user"
    },
    "orderCurrency": {
      "type": "string",
      "description": "'quote' or 'base'; indicates whether the quote-size or base-size fields below are populated"
    },
    "originalOrderBaseSize": {
      "type": "number",
      "format": "double",
      "description": "Original size in base currency; populated when orderCurrency is 'base'"
    },
    "originalOrderQuoteSize": {
      "type": "number",
      "format": "double",
      "description": "Original size in quote currency; populated when orderCurrency is 'quote'"
    },
    "currentOrderBaseSize": {
      "type": "number",
      "format": "double",
      "description": "Currently active size in base currency; populated when orderCurrency is 'base'"
    },
    "currentOrderQuoteSize": {
      "type": "number",
      "format": "double",
      "description": "Currently active size in quote currency; populated when orderCurrency is 'quote'"
    },
    "remainingOrderBaseSize": {
      "type": "number",
      "format": "double",
      "description": "Remaining unfilled size in base currency; populated when orderCurrency is 'base'"
    },
    "remainingOrderQuoteSize": {
      "type": "number",
      "format": "double",
      "description": "Remaining unfilled size in quote currency; populated when orderCurrency is 'quote'"
    },
    "filledBaseSize": {
      "type": "number",
      "format": "double",
      "description": "Size filled by the most recent match, in base currency"
    },
    "totalFilledBaseSize": {
      "type": "number",
      "format": "double",
      "description": "Cumulative filled size across all matches, in base currency"
    },
    "avgFilledPrice": {
      "type": "number",
      "format": "double",
      "description": "Volume-weighted average fill price"
    },
    "time_in_force": {
      "type": "string",
      "description": "Time-in-force policy (GTC, IOC, FOK); null when not applicable to the order type"
    }
  }
}

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-place-order-resp"
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.