WhiteBIT Collateral Trading API

Endpoints for collateral/margin trading operations

Operations 24

POST /api/v4/collateral-account/balance Collateral Account Balance #
POST /api/v4/collateral-account/balance-summary Collateral Account Balance Summary #
POST /api/v4/order/collateral/limit Collateral Limit Order #
POST /api/v4/order/collateral/bulk Collateral bulk limit order #
POST /api/v4/order/collateral/market Collateral Market Order #
POST /api/v4/order/collateral/stop-limit Collateral Stop-Limit Order #
POST /api/v4/order/collateral/trigger-market Collateral Trigger Market Order #
POST /api/v4/collateral-account/summary Collateral Account Summary #
POST /api/v4/collateral-account/positions/open Open Positions #
POST /api/v4/collateral-account/position/close Close Position #
POST /api/v4/collateral-account/positions/history Positions History #
POST /api/v4/collateral-account/positions/closed-pnl Closed-position PNL #
POST /api/v4/collateral-account/funding-history Funding History #
POST /api/v4/collateral-account/borrow-history Borrow History #
POST /api/v4/collateral-account/leverage Change Collateral Account Leverage #
POST /api/v4/collateral-account/hedge-mode Collateral Account Hedge Mode #
POST /api/v4/collateral-account/hedge-mode/update Update Collateral Account Hedge Mode #
POST /api/v4/collateral-account/adl-quantile ADL Quantile #
POST /api/v4/conditional-orders Query unexecuted(active) conditional orders #
POST /api/v4/oco-orders Query unexecuted(active) OCO orders #
POST /api/v4/order/collateral/oco Create collateral OCO order #
POST /api/v4/order/conditional-cancel Cancel conditional order #
POST /api/v4/order/oco-cancel Cancel OCO order #
POST /api/v4/order/oto-cancel Cancel OTO order #

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-asset-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-futures-market-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-fee-info-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-orderbook-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-withdraw-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-mining-reward-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-refund-history-record-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-transaction-history-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-sub-account-api-key-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-limit-order-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-order-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-bulk-order-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-oco-order-leg-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-conditional-order-leg-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-stop-limit-order-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-check-result-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-create-check-balance-error-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-supported-asset-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-check-history-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/whitebit/json-schema/whitebit-create-check-response-schema.json

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/whitebit:whitebit-collateral-trading-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

whitebit-collateral-trading-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Private HTTP API V4 Collateral Trading API
  description: 'WhiteBIT Private HTTP API V4 for collateral/margin trading operations.


    Base URL: https://whitebit.com


    All endpoints return time in Unix-time format.

    All endpoints return either a JSON object or array.

    For receiving responses from API calls please use http method POST.


    Authentication required for all endpoints.'
  version: 4.0.0
  license:
    name: WhiteBIT Terms of Service
    url: https://whitebit.com/terms
servers:
- url: https://whitebit.com
  description: WhiteBIT Global Server
- url: https://whitebit.eu
  description: WhiteBIT EU Server
- url: https://whitebit.tr
  description: WhiteBIT TR Server
- url: https://whitebit.ge
  description: WhiteBIT GE Server
security:
- ApiKeyAuth: []
  PayloadAuth: []
  SignatureAuth: []
tags:


# --- truncated at 32 KB (189 KB total) ---
# Full source: https://artifacts.apis.io/whitebit/openapi/whitebit-collateral-trading-api-openapi.yml