Properties
| Name | Type | Description |
|---|---|---|
| symbol | string | Market symbol |
| price | number | Required for LIMIT orders. For MARKET BUY, this is the max total amount (quote currency) willing to spend. Not applicable for MARKET SELL |
| size | number | Order size |
| side | string | Order side |
| time_in_force | string | Time in force: `GTC` (Good Till Cancelled) · `IOC` (Immediate Or Cancel) · `FOK` (Fill Or Kill) · `HALFMIN` (30 seconds) · `FIVEMIN` (5 minutes) · `HOUR` (1 hour) · `TWELVEHOUR` (12 hours) · `DAY` (1 |
| type | string | Order type: `LIMIT` · `MARKET` · `OCO` (One-Cancels-the-Other) · `PEG` (algo order that tracks market price) |
| txType | string | Transaction type: `LIMIT` (default) · `STOP` (requires `triggerPrice`) · `TRIGGER` (requires `triggerPrice`) |
| stopPrice | number | Mandatory for OCO orders |
| triggerPrice | number | Mandatory for Stop, Trigger, and OCO orders |
| trailValue | number | Trail value. TP/SL not supported when set |
| postOnly | boolean | Post-only order — charged maker fees |
| clOrderID | string | Custom order ID |
| stealth | number | PEG orders: percentage visible on orderbook |
| deviation | number | PEG orders: deviation from index price (-10 to 10) |
| triggerPriceType | string | Trigger price reference |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/btse/main/json-schema/btse-create-order-request-schema.json",
"title": "CreateOrderRequest",
"x-generated": "2026-10-13",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/btse-spot-legacy-openapi.yml#/components/schemas/CreateOrderRequest",
"type": "object",
"required": [
"symbol",
"size",
"side",
"type"
],
"properties": {
"symbol": {
"type": "string",
"description": "Market symbol"
},
"price": {
"type": "number",
"description": "Required for LIMIT orders. For MARKET BUY, this is the max total amount (quote currency) willing to spend. Not applicable for MARKET SELL"
},
"size": {
"type": "number",
"description": "Order size"
},
"side": {
"type": "string",
"enum": [
"BUY",
"SELL"
],
"description": "Order side"
},
"time_in_force": {
"type": "string",
"enum": [
"GTC",
"IOC",
"FOK",
"HALFMIN",
"FIVEMIN",
"HOUR",
"TWELVEHOUR",
"DAY",
"WEEK",
"MONTH"
],
"description": "Time in force: `GTC` (Good Till Cancelled) · `IOC` (Immediate Or Cancel) · `FOK` (Fill Or Kill) · `HALFMIN` (30 seconds) · `FIVEMIN` (5 minutes) · `HOUR` (1 hour) · `TWELVEHOUR` (12 hours) · `DAY` (1 day) · `WEEK` (1 week) · `MONTH` (1 month)"
},
"type": {
"type": "string",
"enum": [
"LIMIT",
"MARKET",
"OCO",
"PEG"
],
"description": "Order type: `LIMIT` · `MARKET` · `OCO` (One-Cancels-the-Other) · `PEG` (algo order that tracks market price)"
},
"txType": {
"type": "string",
"enum": [
"LIMIT",
"STOP",
"TRIGGER"
],
"description": "Transaction type: `LIMIT` (default) · `STOP` (requires `triggerPrice`) · `TRIGGER` (requires `triggerPrice`)"
},
"stopPrice": {
"type": "number",
"description": "Mandatory for OCO orders"
},
"triggerPrice": {
"type": "number",
"description": "Mandatory for Stop, Trigger, and OCO orders"
},
"trailValue": {
"type": "number",
"description": "Trail value. TP/SL not supported when set"
},
"postOnly": {
"type": "boolean",
"description": "Post-only order — charged maker fees"
},
"clOrderID": {
"type": "string",
"description": "Custom order ID"
},
"stealth": {
"type": "number",
"description": "PEG orders: percentage visible on orderbook"
},
"deviation": {
"type": "number",
"description": "PEG orders: deviation from index price (-10 to 10)"
},
"triggerPriceType": {
"type": "string",
"enum": [
"INDEX_PRICE",
"LAST_PRICE"
],
"description": "Trigger price reference"
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/btse-create-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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.