---
title: "Close order/position"
method: PUT
path: "/api/futures/trade/close"
tags: ["Futures · Trading"]
---

# Close order/position

`PUT /api/futures/trade/close`

## Request

- Base URL: `https://api.binibit.com`
- URL: `https://api.binibit.com/api/futures/trade/close`
- Auth: none declared

Returns true when closed or already closed; repeating a close is safe. A rejected close
            returns 400 with a coded ApiErrorDto.

## Request body

- FuturesCloseOrderDto: Request body for closing a position, or for cancelling an order that has not filled yet.
  - `orderId` string, nullable: Identifier of the order or position to close, as returned when it was created.
  - `isMarket` boolean: True to close at market immediately. False to place a closing limit order at PublicApi.Models.Futures.FuturesCloseOrderDto.LimitPrice, which leaves the position open until that price is reached.
  - `limitPrice` number, double, nullable: Price for the closing limit order. Required when PublicApi.Models.Futures.FuturesCloseOrderDto.IsMarket is false; ignored otherwise.

## Response `200`

OK

- boolean

## Other responses

- `400`: Bad Request

## Changes

- **2026-10-13** `13dbac1613c4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/binibit/apis/webapp/changes/api/futures/trade/close/put.md)

---

[API](https://skmtc.dev/binibit/apis/webapp.md) - [All operations](https://skmtc.dev/binibit/apis/webapp/llms.txt) - [OpenAPI document](https://skmtc.dev/binibit/apis/webapp/revisions/13dbac1613c4?raw)
