1. 12. Futures Trading API
MIN-Global API
  • MinGlobal External API (v1)
    • 01. Overview and Quick Start
      • Step 1. Check API Reachability (no key needed)
      • Step 2. Your First Signed Request
    • 02. Authentication and Request Signing
    • 03. Spot Trading Explained
    • 04. Futures Trading Explained
    • 05. Data Formats and Conventions
    • 06. Errors and Troubleshooting
    • 07. Rate Limits, Permissions and Known Limits
    • 08. Market Data API (public, no key needed)
      • List Spot Trading Pairs
      • Get All Spot Tickers
      • Get Spot Candlesticks (Klines)
      • Get Spot Order Book (Depth)
      • Get Recent Spot Trades
      • List Futures Contracts
      • Get All Futures Tickers
      • Get Futures Candlesticks (Klines)
      • Get Futures Order Book (Depth)
      • Get Recent Futures Trades
    • 09. Wallets and Balances API
      • Get All Balances
      • Get Balances by Coin
    • 10. Assets and Networks API
      • List Supported Coins
      • List Networks for a Coin
    • 11. Spot Trading API
      • Place Spot Order (Limit Buy)
      • Place Spot Order (Market Sell)
      • List Your Spot Orders
      • Get One Spot Order
      • Cancel Spot Order
    • 12. Futures Trading API
      • Get Futures Margin Balance
        GET
      • Open Futures Position (Limit Long)
        POST
      • Close Futures Position (Reduce Only)
        POST
      • List Open Futures Orders
        GET
      • Get Futures Order History
        GET
      • Get One Futures Order
        GET
      • Cancel Futures Order
        DELETE
  1. 12. Futures Trading API

Cancel Futures Order

DELETE
https://api.minglobal.io/v1/futures/orders/{orderId}
Cancels an open futures order and releases its margin. Returns the updated order with status: "CANCELED", and no fills.
Permission: FUTURES_TRADE | Success: 200 OK
Cancelling is not closing. This removes an order that has not filled. If the order already filled, you hold a position, and cancelling does nothing. To get out of a position, send an opposing reduceOnly order instead.

Errors#

StatuscodeCause
400VALIDATION_ERROR"order is already FILLED and cannot be canceled", or a missing Idempotency-Key
404NOT_FOUNDUnknown order, or one that is not yours
500INTERNALSee the warning below

Known issue: a venue-side cancel failure surfaces as a generic 500#

On futures, a failed cancel at the venue currently returns 500 INTERNAL rather than a typed error. The order is queued for background resolution, so your state is safe, but do not treat every 500 here as a transport fault. Re-read the order before retrying anything.
This is futures only. Spot's DELETE /v1/orders/{id} already answers 409 CANCEL_REJECTED_BY_VENUE and 503 VENUE_UNAVAILABLE for the same conditions.

Request

Path Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --globoff --request DELETE 'https://api.minglobal.io/v1/futures/orders/{{futures_order_id}}' \
--header 'X-MG-API-KEY: {{api_key}}' \
--header 'X-MG-TIMESTAMP: <set automatically at send time>' \
--header 'X-MG-RECV-WINDOW: {{recv_window}}' \
--header 'X-MG-SIGNATURE: <set automatically at send time>' \
--header 'Origin: {{origin}}' \
--header 'Idempotency-Key: <set automatically at send time>'

Responses

🟢200
application/json
Bodyapplication/json

Example
{
  "id": "clw8n2k4x0009abcdefghij",
  "userId": "clw8n1a2b0000abcdefghij",
  "clientOrderId": "prod_8n1a2b0000ab_4c7e91a2",
  "venueOrderId": "9876543210",
  "symbol": "BTC-USDT",
  "positionSide": "LONG",
  "side": "BUY",
  "orderType": "LIMIT",
  "timeInForce": "GTC",
  "price": "60000",
  "quantity": "0.01",
  "filledQty": "0",
  "avgPrice": null,
  "leverage": 10,
  "marginMode": "ISOLATED",
  "reservedAmount": "0",
  "reservedAsset": "USDT",
  "status": "CANCELED",
  "reduceOnly": false,
  "submittedAt": "2026-08-18T09:20:43.100Z",
  "terminalAt": "2026-08-18T09:40:00.000Z",
  "createdAt": "2026-08-18T09:20:43.000Z",
  "updatedAt": "2026-08-18T09:40:00.000Z"
}
Modified at 2026-09-02 09:50:41
Previous
Get One Futures Order
Built with