BTSE · Schema
Conditional
Conditional (Trigger) order — placed on the book once a trigger price is reached
CompanyCryptocurrencyExchangeTradingDigital AssetsFuturesWebSocket
Properties
| Name | Type | Description |
|---|---|---|
| orderType | string | CONDITIONAL |
| symbol | string | Trading pair, e.g. BTC-USDT |
| orderSide | string | BUY or SELL |
| triggerPrice | number | Price that activates the order |
| triggerOrderType | string | Trigger behavior: STOP_LOSS, TAKE_PROFIT, STOP_LOSS_LIMIT, or TAKE_PROFIT_LIMIT |
| triggerPriceType | string | Reference price for the trigger (LAST_PRICE, MARK_PRICE, or INDEX_PRICE) |
| clOrderId | string | Client-supplied order identifier, echoed in the response (max 64 characters) |
| orderSize | number | Order quantity in base currency; required for SELL market and for the STOP_LOSS_LIMIT / TAKE_PROFIT_LIMIT variants |
| quoteOrderSize | number | only for market order in BUY side |
| orderPrice | number | only for limit order |
| timeInForce | string | Time-in-force policy for the limit variants (GTC, IOC, FOK) |
| postOnly | boolean | If true, reject the limit variant if it would immediately match (post-only / maker-only) |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/btse/main/json-schema/btse-conditional-schema.json",
"title": "Conditional",
"description": "Conditional (Trigger) order — placed on the book once a trigger price is reached",
"x-generated": "2026-10-13",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/btse-spot-openapi.yml#/components/schemas/Conditional",
"allOf": [
{
"$ref": "#/$defs/PlaceAlgoOrderReq"
},
{
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "Trading pair, e.g. BTC-USDT"
},
"orderType": {
"type": "string",
"description": "CONDITIONAL",
"enum": [
"LIMIT",
"MARKET",
"PEG",
"OCO",
"TWAP",
"CONDITIONAL",
"TRAILING"
]
},
"orderSide": {
"type": "string",
"description": "BUY or SELL",
"enum": [
"BUY",
"SELL"
]
},
"triggerPrice": {
"type": "number",
"format": "double",
"description": "Price that activates the order"
},
"triggerOrderType": {
"type": "string",
"description": "Trigger behavior: STOP_LOSS, TAKE_PROFIT, STOP_LOSS_LIMIT, or TAKE_PROFIT_LIMIT",
"enum": [
"STOP_LOSS",
"TAKE_PROFIT",
"STOP_LOSS_LIMIT",
"TAKE_PROFIT_LIMIT"
]
},
"triggerPriceType": {
"type": "string",
"description": "Reference price for the trigger (LAST_PRICE, MARK_PRICE, or INDEX_PRICE)",
"enum": [
"INDEX_PRICE",
"LAST_PRICE",
"MARK_PRICE"
]
},
"clOrderId": {
"type": "string",
"description": "Client-supplied order identifier, echoed in the response (max 64 characters)"
},
"orderSize": {
"type": "number",
"format": "double",
"description": "Order quantity in base currency; required for SELL market and for the STOP_LOSS_LIMIT / TAKE_PROFIT_LIMIT variants"
},
"quoteOrderSize": {
"type": "number",
"format": "double",
"description": "only for market order in BUY side"
},
"orderPrice": {
"type": "number",
"format": "double",
"description": "only for limit order"
},
"timeInForce": {
"type": "string",
"default": "GTC",
"description": "Time-in-force policy for the limit variants (GTC, IOC, FOK)",
"enum": [
"FOK",
"IOC",
"GTC",
"HALFMIN",
"FIVEMIN",
"HOUR",
"TWELVEHOUR",
"DAY",
"WEEK",
"MONTH"
]
},
"postOnly": {
"type": "boolean",
"description": "If true, reject the limit variant if it would immediately match (post-only / maker-only)"
}
}
}
],
"required": [
"orderSide",
"orderType",
"symbol",
"triggerOrderType",
"triggerPrice",
"triggerPriceType"
],
"$defs": {
"PlaceAlgoOrderReq": {
"properties": {
"orderType": {
"type": "string"
}
},
"required": [
"orderType"
]
}
}
}
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-conditional"
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.