Maxbit API documentation
  1. Maxbit
Maxbit API documentation
  • Maxbit
    • Maxbit Orderbook websocket
    • Get User Balance
      GET
    • Get Deposit Address
      GET
    • Symbol Price Ticker
      GET
    • Get All Asset And Network
      GET
    • New Order
      POST
    • Query Order
      GET
    • Cancel Order
      PUT
    • Cancel all Open Orders on a Symbol
      PUT
    • All Orders
      GET
    • System Status
      GET
    • Account API Trading Status
      GET
    • Get Crypto Deposit History
      GET
    • Get Crypto Withdraw History
      GET
    • Get Fiat Transactions
      GET
    • Get User Banks
      GET
    • Fiat Withdrawal (Advanced)
      POST
    • Get Trading pair
      GET
    • Get Pair Settings
      GET
    • Trading Fee
      GET
  1. Maxbit

New Order

POST
/api/v3/order
DESCRIPTION
Creates a new order in Maxbit to buy or sell a specified quantity of an asset at a specified price. This endpoint allows users to place market, limit, providing the necessary details for the order execution within Maxbit.

Request

Query Params
symbol
string 
required
Trading symbol, e.g. BTC_THB, BTC_USDT
Example:
BTC_THB
side
string 
required
BUY/SELL
Example:
SELL
type
string 
required
Order type
Example:
LIMIT
timeInForce
string 
required
FOK is for Quick Buy/Sell order
GTC is for Limit Buy/Sell order
Example:
FOK
quantity
string 
optional
Order quantity
Example:
0.2
slippage
string 
optional
This is the slippage percentage.
Required when timeInForce = FOK
Leave blank if timeInForce = GTC
Example:
0.1
quoteOrderQty
string 
optional
[Redundant]
price
string 
optional
Order price
Example:
2,413,972.8
newClientOrderId
string 
optional
[Redundant]
strategyId
string 
optional
[Redundant]
strategyType
string 
optional
[Redundant]
stopPrice
string 
optional
[Redundant]
trailingDelta
string 
optional
[Redundant]
icebergQty
string 
optional
[Redundant]
newOrderRespType
string 
optional
[Redundant]
selfTradePreventionMode
string 
optional
[Redundant]
recvWindow
string 
optional
[Redundant]
timestamp
string 
required
UTC timestamp in ms
Example:
1718855898528
signature
string 
required
Signature
Example:
{{signature}}
Header Params
Content-Type
string 
required
Example:
application/json
X-MBX-APIKEY
string 
required
Example:
{{maxbit-api-key}}

Request 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 -g --request POST 'https://endpoint-gateway.maxbit.com/api/v3/order?symbol=BTC_THB&side=SELL&type=LIMIT&timeInForce=FOK&quantity=0.2&slippage=0.1&quoteOrderQty=&price=2,413,972.8&newClientOrderId=&strategyId=&strategyType=&stopPrice=&trailingDelta=&icebergQty=&newOrderRespType=&selfTradePreventionMode=&recvWindow=&timestamp=1718855898528&signature={{signature}}' \
--header 'X-MBX-APIKEY: {{maxbit-api-key}}' \
--header 'Content-Type: application/json'

Responses

🟢200Success
application/json
Body
object {0}
Example
{
    "symbol": "BTC_THB",
    "orderId": 28,
    "orderListId": -1,
    "clientOrderId": "6gCrw2kRUAF9CvJDGP16IP",
    "transactTime": 1507725176595
}
Modified at 2024-08-09 11:11:19
Previous
Get All Asset And Network
Next
Query Order
Built with