BloFin · Schema

PostApiV1TradeOrderTpslRequest

CompanyCryptocurrencyCryptocurrency ExchangeTradingFuturesSpot TradingCopy TradingWebSocket

Properties

Name Type Description
instId string Instrument ID, e.g. BTC-USDT
marginMode string Margin mode cross isolated
positionSide string Position side Default net for One-way Mode long or short for Hedge Mode. It must be sent in Hedge Mode.
side string Order side, buy sell
tpTriggerPrice string Take-profit trigger price If you fill in this parameter, you should fill in the tpOrderPrice as well. Either tpTriggerPrice or slTriggerPrice must be provided.
tpOrderPrice string Take-profit order price. If you fill in this parameter, you should fill in the tpTriggerPrice as well. If the price is -1, take-profit will be executed at the market price.
tpTriggerPriceType string Take-profit trigger price type last : last price mark : mark price index : index price The default is last .
slTriggerPrice string Stop-loss trigger price If you fill in this parameter, you should fill in the slOrderPrice as well. Either tpTriggerPrice or slTriggerPrice must be provided.
slOrderPrice string Stop-loss order price. If you fill in this parameter, you should fill in the slTriggerPrice as well. If the price is -1, stop-loss will be executed at the market price.
slTriggerPriceType string Stop-loss trigger price type last : last price mark : mark price index : index price The default is last .
size string Quantity If the quantity is -1, it means entire positions
reduceOnly string Whether orders can only reduce in position size. Valid options: true or false . The default value is false . Not supported under Hedge Mode and ignored if passed.
clientOrderId string Client Order ID as assigned by the client A combination of case-sensitive alphanumerics, all numbers, or all letters of up to 32 characters.
brokerId string Broker ID provided by BloFin. A combination of case-sensitive alphanumerics, all numbers, or all letters of up to 16 characters.
positionId string Position ID. Required in Multi-Position mode. The target position the TP/SL order is bound to. If the quantity is -1 , it means the entire specified position.
View JSON Schema on GitHub

JSON Schema

blofin-post-api-v1-trade-order-tpsl-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blofin/main/json-schema/blofin-post-api-v1-trade-order-tpsl-request-schema.json",
  "title": "PostApiV1TradeOrderTpslRequest",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/blofin-openapi-generated.yml#/components/schemas/PostApiV1TradeOrderTpslRequest",
  "type": "object",
  "properties": {
    "instId": {
      "type": "string",
      "description": "Instrument ID, e.g. BTC-USDT"
    },
    "marginMode": {
      "type": "string",
      "description": "Margin mode cross isolated"
    },
    "positionSide": {
      "type": "string",
      "description": "Position side Default net for One-way Mode long or short for Hedge Mode. It must be sent in Hedge Mode."
    },
    "side": {
      "type": "string",
      "description": "Order side, buy sell"
    },
    "tpTriggerPrice": {
      "type": "string",
      "description": "Take-profit trigger price If you fill in this parameter, you should fill in the tpOrderPrice as well. Either tpTriggerPrice or slTriggerPrice must be provided."
    },
    "tpOrderPrice": {
      "type": "string",
      "description": "Take-profit order price. If you fill in this parameter, you should fill in the tpTriggerPrice as well. If the price is -1, take-profit will be executed at the market price."
    },
    "tpTriggerPriceType": {
      "type": "string",
      "description": "Take-profit trigger price type last : last price mark : mark price index : index price The default is last ."
    },
    "slTriggerPrice": {
      "type": "string",
      "description": "Stop-loss trigger price If you fill in this parameter, you should fill in the slOrderPrice as well. Either tpTriggerPrice or slTriggerPrice must be provided."
    },
    "slOrderPrice": {
      "type": "string",
      "description": "Stop-loss order price. If you fill in this parameter, you should fill in the slTriggerPrice as well. If the price is -1, stop-loss will be executed at the market price."
    },
    "slTriggerPriceType": {
      "type": "string",
      "description": "Stop-loss trigger price type last : last price mark : mark price index : index price The default is last ."
    },
    "size": {
      "type": "string",
      "description": "Quantity If the quantity is -1, it means entire positions"
    },
    "reduceOnly": {
      "type": "string",
      "description": "Whether orders can only reduce in position size. Valid options: true or false . The default value is false . Not supported under Hedge Mode and ignored if passed."
    },
    "clientOrderId": {
      "type": "string",
      "description": "Client Order ID as assigned by the client A combination of case-sensitive alphanumerics, all numbers, or all letters of up to 32 characters."
    },
    "brokerId": {
      "type": "string",
      "description": "Broker ID provided by BloFin. A combination of case-sensitive alphanumerics, all numbers, or all letters of up to 16 characters."
    },
    "positionId": {
      "type": "string",
      "description": "Position ID. Required in Multi-Position mode. The target position the TP/SL order is bound to. If the quantity is -1 , it means the entire specified position."
    }
  },
  "required": [
    "instId",
    "marginMode",
    "positionSide",
    "side",
    "size"
  ]
}

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/blofin-post-api-v1-trade-order-tpsl-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.