BloFin · Schema

PostApiV1AccountSetLeverageRequest

CompanyCryptocurrencyCryptocurrency ExchangeTradingFuturesSpot TradingCopy TradingWebSocket

Properties

Name Type Description
instId string Instrument ID, e.g. BTC-USDT
leverage string Leverage
marginMode string Margin mode cross isolated
positionSide string Position side long short Only required when margin mode is isolated in long/short mode
positionId string Position ID. Only applicable to Multi-Position mode. When passed, adjusts the leverage of the specified position and only that position's margin and liquidation price are recalculated. When omitted, s
View JSON Schema on GitHub

JSON Schema

blofin-post-api-v1-account-set-leverage-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/blofin/json-schema/blofin-post-api-v1-account-set-leverage-request-schema.json",
  "title": "PostApiV1AccountSetLeverageRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blofin-account-api-openapi.yml#/components/schemas/PostApiV1AccountSetLeverageRequest",
  "type": "object",
  "properties": {
    "instId": {
      "type": "string",
      "description": "Instrument ID, e.g. BTC-USDT"
    },
    "leverage": {
      "type": "string",
      "description": "Leverage"
    },
    "marginMode": {
      "type": "string",
      "description": "Margin mode cross isolated"
    },
    "positionSide": {
      "type": "string",
      "description": "Position side long short Only required when margin mode is isolated in long/short mode"
    },
    "positionId": {
      "type": "string",
      "description": "Position ID. Only applicable to Multi-Position mode. When passed, adjusts the leverage of the specified position and only that position's margin and liquidation price are recalculated. When omitted, sets the instrument-level leverage, which applies to newly opened positions only."
    }
  },
  "required": [
    "instId",
    "leverage",
    "marginMode"
  ]
}

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-account-set-leverage-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.