v1
latestOpenAPI 3.1.0UNLICENSED2026-07-26216788.0 KBOrders
GetEstimatedFees
Estimates the trading fee for opening a position, given the margin you plan to post and the leverage you intend to use. The fee is computed as if it were deducted from margin upfront, before the position opens: fee = (rate / (1 + rate)) * margin, where rate is the market's configured trade-fee rate multiplied by leverage.
If the market has no trade-fee percentage configured, this returns a successful response with fees: -1 rather than an error.
post/order_service.v1.OrderService/GetEstimatedFees
Headers
Connect-Protocol-Version1 required
Define the version of the Connect protocol. If omitted, use 1.
Connect-Timeout-Msnumber
Define the timeout, in ms
Request body
Response
Success