BingX Coin-M Futures API

The Coin-M Futures API from BingX — 21 operation(s) for coin-m futures.

Operations 23

GET /openApi/cswap/v1/market/contracts Contract Information #
GET /openApi/cswap/v1/market/depth Query Depth Data #
GET /openApi/cswap/v1/market/klines Get K-line Data #
GET /openApi/cswap/v1/market/openInterest Get Swap Open Positions #
GET /openApi/cswap/v1/market/premiumIndex Price & Current Funding Rate #
GET /openApi/cswap/v1/market/ticker Query 24-Hour Price Change #
GET /openApi/cswap/v1/trade/allFillOrders Query Order Trade Detail #
DELETE /openApi/cswap/v1/trade/allOpenOrders Cancel all orders #
DELETE /openApi/cswap/v1/trade/cancelOrder Cancel an Order #
POST /openApi/cswap/v1/trade/closeAllPositions Close all positions in bulk #
GET /openApi/cswap/v1/trade/forceOrders Query force orders #
GET /openApi/cswap/v1/trade/leverage Query Leverage #
POST /openApi/cswap/v1/trade/leverage Modify Leverage #
POST /openApi/cswap/v1/trade/marginType Set Margin Type #
GET /openApi/cswap/v1/trade/marginType Query Margin Type #
GET /openApi/cswap/v1/trade/openOrders Query all current pending orders #
GET /openApi/cswap/v1/trade/orderDetail Query Order #
GET /openApi/cswap/v1/trade/orderHistory User's History Orders #
POST /openApi/cswap/v1/trade/positionMargin Adjust Isolated Margin #
GET /openApi/cswap/v1/user/balance Query Account Assets #
GET /openApi/cswap/v1/user/commissionRate Query Trade Commission Rate #
GET /openApi/cswap/v1/user/positions Query warehouse #
POST /openApi/cswap/v2/trade/order Trade order #

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/bingx:bingx-coin-m-futures-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

bingx-coin-m-futures-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: BingX Coin-M Futures API
  version: docs-v3
  description: AE-AUTHORED, GENERATED FROM DOCUMENTATION. BingX does not publish an OpenAPI document. This contract was generated by API Evangelist from the endpoint definitions embedded in the official BingX API Docs (https://bingx-api.github.io/docs-v3/). It records each documented path, method, summary and rate limit only; request parameters and response schemas are not modelled. Not an official BingX artifact.
  x-generated-from: documentation
  x-ae-authored: true
  x-source: https://bingx-api.github.io/docs-v3/
  x-generated: '2026-10-13'
servers:
- url: https://open-api.bingx.com
security:
- ApiKey: []
tags:
- name: Coin-M Futures
paths:
  /openApi/cswap/v1/market/contracts:
    get:
      operationId: get-openApi-cswap-v1-market-contracts
      summary: Contract Information
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-ip-rate-limit-weight: '1'
  /openApi/cswap/v1/market/depth:
    get:
      operationId: get-openApi-cswap-v1-market-depth
      summary: Query Depth Data
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-ip-rate-limit-weight: '1'
  /openApi/cswap/v1/market/klines:
    get:
      operationId: get-openApi-cswap-v1-market-klines
      summary: Get K-line Data
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-ip-rate-limit-weight: '1'
  /openApi/cswap/v1/market/openInterest:
    get:
      operationId: get-openApi-cswap-v1-market-openInterest
      summary: Get Swap Open Positions
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-ip-rate-limit-weight: '1'
  /openApi/cswap/v1/market/premiumIndex:
    get:
      operationId: get-openApi-cswap-v1-market-premiumIndex
      summary: Price & Current Funding Rate
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-ip-rate-limit-weight: '1'
  /openApi/cswap/v1/market/ticker:
    get:
      operationId: get-openApi-cswap-v1-market-ticker
      summary: Query 24-Hour Price Change
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-ip-rate-limit-weight: '1'
  /openApi/cswap/v1/trade/allFillOrders:
    get:
      operationId: get-openApi-cswap-v1-trade-allFillOrders
      summary: Query Order Trade Detail
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-rate-limit: 5/second
      x-ip-rate-limit-weight: '2'
  /openApi/cswap/v1/trade/allOpenOrders:
    delete:
      operationId: delete-openApi-cswap-v1-trade-allOpenOrders
      summary: Cancel all orders
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-rate-limit: 5/second
      x-ip-rate-limit-weight: '2'
  /openApi/cswap/v1/trade/cancelOrder:
    delete:
      operationId: delete-openApi-cswap-v1-trade-cancelOrder
      summary: Cancel an Order
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-rate-limit: 5/second
      x-ip-rate-limit-weight: '2'
  /openApi/cswap/v1/trade/closeAllPositions:
    post:
      operationId: post-openApi-cswap-v1-trade-closeAllPositions
      summary: Close all positions in bulk
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-rate-limit: 5/second
      x-ip-rate-limit-weight: '2'
  /openApi/cswap/v1/trade/forceOrders:
    get:
      operationId: get-openApi-cswap-v1-trade-forceOrders
      summary: Query force orders
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-rate-limit: 5/second
      x-ip-rate-limit-weight: '2'
  /openApi/cswap/v1/trade/leverage:
    get:
      operationId: get-openApi-cswap-v1-trade-leverage
      summary: Query Leverage
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-rate-limit: 5/second
      x-ip-rate-limit-weight: '2'
    post:
      operationId: post-openApi-cswap-v1-trade-leverage
      summary: Modify Leverage
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-rate-limit: 5/second
      x-ip-rate-limit-weight: '2'
  /openApi/cswap/v1/trade/marginType:
    post:
      operationId: post-openApi-cswap-v1-trade-marginType
      summary: Set Margin Type
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-rate-limit: 5/second
      x-ip-rate-limit-weight: '2'
    get:
      operationId: get-openApi-cswap-v1-trade-marginType
      summary: Query Margin Type
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-rate-limit: 5/second
      x-ip-rate-limit-weight: '2'
  /openApi/cswap/v1/trade/openOrders:
    get:
      operationId: get-openApi-cswap-v1-trade-openOrders
      summary: Query all current pending orders
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-rate-limit: 5/second
      x-ip-rate-limit-weight: '2'
  /openApi/cswap/v1/trade/orderDetail:
    get:
      operationId: get-openApi-cswap-v1-trade-orderDetail
      summary: Query Order
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-rate-limit: 5/second
      x-ip-rate-limit-weight: '2'
  /openApi/cswap/v1/trade/orderHistory:
    get:
      operationId: get-openApi-cswap-v1-trade-orderHistory
      summary: User's History Orders
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-rate-limit: 5/second
      x-ip-rate-limit-weight: '2'
  /openApi/cswap/v1/trade/positionMargin:
    post:
      operationId: post-openApi-cswap-v1-trade-positionMargin
      summary: Adjust Isolated Margin
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-rate-limit: 5/second
      x-ip-rate-limit-weight: '2'
  /openApi/cswap/v1/user/balance:
    get:
      operationId: get-openApi-cswap-v1-user-balance
      summary: Query Account Assets
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-rate-limit: 5/second
      x-ip-rate-limit-weight: '2'
  /openApi/cswap/v1/user/commissionRate:
    get:
      operationId: get-openApi-cswap-v1-user-commissionRate
      summary: Query Trade Commission Rate
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-rate-limit: 5/second
      x-ip-rate-limit-weight: '2'
  /openApi/cswap/v1/user/positions:
    get:
      operationId: get-openApi-cswap-v1-user-positions
      summary: Query warehouse
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-rate-limit: 5/second
      x-ip-rate-limit-weight: '2'
  /openApi/cswap/v2/trade/order:
    post:
      operationId: post-openApi-cswap-v2-trade-order
      summary: Trade order
      tags:
      - Coin-M Futures
      responses:
        '200':
          description: Successful response. BingX wraps results as {code, msg, data}; code 0 means success.
      x-rate-limit: 5/second
      x-ip-rate-limit-weight: '2'
components:
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-BX-APIKEY
      description: API key header; private endpoints also require timestamp and an HMAC SHA256 signature query parameter.