Blockchain.com · Schema

CreateOrderRequest

Payload for submitting a new order.

CryptocurrencyBitcoinBlockchain DataExchangeMarket DataTradingPaymentsPublic APIs

Properties

Name Type Description
clOrdId string Client-supplied order identifier.
ordType string
timeInForce string
symbol string
side string
orderQty number
price number
stopPx number
minQty number
expireDate integer
View JSON Schema on GitHub

JSON Schema

exchange-create-order-request-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-create-order-request-schema.json",
  "title": "CreateOrderRequest",
  "description": "Payload for submitting a new order.",
  "type": "object",
  "properties": {
    "clOrdId": {
      "type": "string",
      "description": "Client-supplied order identifier.",
      "example": "21745988181"
    },
    "ordType": {
      "type": "string",
      "enum": [
        "limit",
        "market",
        "stop",
        "stopLimit"
      ],
      "example": "limit"
    },
    "timeInForce": {
      "type": "string",
      "enum": [
        "GTC",
        "IOC",
        "FOK",
        "GTD"
      ],
      "example": "GTC"
    },
    "symbol": {
      "type": "string",
      "example": "BTC-USD"
    },
    "side": {
      "type": "string",
      "enum": [
        "buy",
        "sell"
      ],
      "example": "buy"
    },
    "orderQty": {
      "type": "number",
      "example": 0.5
    },
    "price": {
      "type": "number",
      "example": 72525.0
    },
    "stopPx": {
      "type": "number"
    },
    "minQty": {
      "type": "number",
      "example": 0.5
    },
    "expireDate": {
      "type": "integer"
    }
  },
  "required": [
    "clOrdId",
    "ordType",
    "symbol",
    "side",
    "orderQty"
  ]
}

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-create-order-request"
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.