Blockchain.com · Schema

Order

An order submitted to the matching engine.

CryptocurrencyBitcoinBlockchain DataExchangeMarket DataTradingPaymentsPublic APIs

Properties

Name Type Description
orderId integer
gwOrderId integer
clOrdId string
symbol string
ordType string Order type — `limit`, `market`, `stop`, `stopLimit`.
timeInForce string Time in force — `GTC`, `IOC`, `FOK`, `GTD`.
side string `buy` or `sell`.
orderQty number
minQty number
cumQty number
price number
stopPx number
ordStatus string Status — `pending`, `open`, `filled`, `partial`, `cancelled`, `rejected`, `expired`.
expireDate integer
execID string
avgPx number
View JSON Schema on GitHub

JSON Schema

exchange-order-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blockchain/refs/heads/main/json-schema/exchange-order-schema.json",
  "title": "Order",
  "description": "An order submitted to the matching engine.",
  "type": "object",
  "properties": {
    "orderId": {
      "type": "integer",
      "format": "int64"
    },
    "gwOrderId": {
      "type": "integer",
      "format": "int64"
    },
    "clOrdId": {
      "type": "string",
      "example": "21745988181"
    },
    "symbol": {
      "type": "string",
      "example": "BTC-USD"
    },
    "ordType": {
      "type": "string",
      "description": "Order type \u2014 `limit`, `market`, `stop`, `stopLimit`."
    },
    "timeInForce": {
      "type": "string",
      "description": "Time in force \u2014 `GTC`, `IOC`, `FOK`, `GTD`."
    },
    "side": {
      "type": "string",
      "description": "`buy` or `sell`.",
      "example": "buy"
    },
    "orderQty": {
      "type": "number",
      "example": 0.5
    },
    "minQty": {
      "type": "number",
      "example": 0.5
    },
    "cumQty": {
      "type": "number",
      "example": 0.5
    },
    "price": {
      "type": "number",
      "example": 72525.0
    },
    "stopPx": {
      "type": "number"
    },
    "ordStatus": {
      "type": "string",
      "description": "Status \u2014 `pending`, `open`, `filled`, `partial`, `cancelled`, `rejected`, `expired`.",
      "example": "open"
    },
    "expireDate": {
      "type": "integer"
    },
    "execID": {
      "type": "string",
      "example": "21745988181"
    },
    "avgPx": {
      "type": "number"
    }
  }
}

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/exchange-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 email required.

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