Bitnob · Schema

TradingSubmitOrderRequest

CompanyBitcoinPaymentsFintech

Properties

Name Type Description
base_currency string Base currency of the pair, for example BTC.
price string Optional positive plain decimal price, quote currency per unit of base. Ignored for NGN pairs.
quantity string Positive plain decimal amount of the base currency (no exponent, and digits on both sides of the point), in major units unless quantity_in_base_units is true. Zero and negative values pass the field c
quantity_in_base_units boolean When true, quantity is in the base currency's smallest unit (for example satoshis)
quote_currency string Quote currency of the pair, for example NGN.
quote_id string Quote from POST /api/trading/quotes to fill against
reference string Your reference. Required for NGN pairs when quote_id is omitted, where it is the idempotency key.
side string Relative to the base currency. Upper-cased before validation, so any letter case is accepted.
View JSON Schema on GitHub

JSON Schema

bitnob-trading-submit-order-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bitnob/json-schema/bitnob-trading-submit-order-request-schema.json",
  "title": "TradingSubmitOrderRequest",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bitnob-openapi.json#/components/schemas/TradingSubmitOrderRequest",
  "properties": {
    "base_currency": {
      "description": "Base currency of the pair, for example BTC.",
      "maxLength": 10,
      "pattern": "^[A-Za-z]+$",
      "type": "string"
    },
    "price": {
      "description": "Optional positive plain decimal price, quote currency per unit of base. Ignored for NGN pairs.",
      "pattern": "^[-+]?[0-9]+(\\.[0-9]+)?$",
      "type": "string"
    },
    "quantity": {
      "description": "Positive plain decimal amount of the base currency (no exponent, and digits on both sides of the point), in major units unless quantity_in_base_units is true. Zero and negative values pass the field check and are left to the service behind it to refuse.",
      "pattern": "^[-+]?[0-9]+(\\.[0-9]+)?$",
      "type": "string"
    },
    "quantity_in_base_units": {
      "default": false,
      "description": "When true, quantity is in the base currency's smallest unit (for example satoshis)",
      "type": "boolean"
    },
    "quote_currency": {
      "description": "Quote currency of the pair, for example NGN.",
      "maxLength": 10,
      "pattern": "^[A-Za-z]+$",
      "type": "string"
    },
    "quote_id": {
      "description": "Quote from POST /api/trading/quotes to fill against",
      "maxLength": 100,
      "pattern": "^[^<>]*$",
      "type": "string"
    },
    "reference": {
      "description": "Your reference. Required for NGN pairs when quote_id is omitted, where it is the idempotency key.",
      "maxLength": 100,
      "pattern": "^[^<>]*$",
      "type": "string"
    },
    "side": {
      "description": "Relative to the base currency. Upper-cased before validation, so any letter case is accepted.",
      "enum": [
        "BUY",
        "SELL",
        "buy",
        "sell"
      ],
      "type": "string"
    }
  },
  "required": [
    "base_currency",
    "quote_currency",
    "side",
    "quantity"
  ],
  "type": "object"
}

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/bitnob-trading-submit-order-request"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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