Spot Trade Endpoints
Last updated
Last updated
Rate limit rule: 10 requests/1s
HTTP Request new order
POST /api/spot/v1/trade/orders
Request Parameter
Parameters | Type | Required | Description |
---|---|---|---|
Response:
Response Field
Rate limit rule: 5 requests/1s
HTTP Request Place Multiple Orders
POST /api/spot/v1/trade/batch-orders
Request Parameter
orderList Field
Response:
Rate limit rule: 10 requests/1s
HTTP Request Cancel order
POST /api/spot/v1/trade/cancel-order
Request Parameter
Response:
Rate limit rule: 10 request/1s
HTTP Request Cancel multiple orders
POST /api/spot/v1/trade/cancel-batch-orders
Request Parameter
Response:
Rate limit rule: 10 request/1s
HTTP Request get order details by order id or client order id
POST /api/spot/v1/trade/orderInfo
Request Parameter
Response:
Response Field
Rate limit rule: 10 request/1s
HTTP Request Get unfilled and partially filled uncancelled orders
POST /api/spot/v1/trade/open-orders
Request Parameter
Response:
Response Field
Rate limit rule: 20 request/1s
HTTP Request Get all filled and cancelled orders
POST /api/spot/v1/trade/history
Request Parameter
Response:
Response Field
Rate limit rule: 20 request/1s
HTTP Request get transaction detail history
POST /api/spot/v1/trade/fills
Request Parameter
Response:
Response Field
Field | Description |
---|---|
Parameters | Type | Required | Description |
---|---|---|---|
Parameters | Type | Required | Description |
---|---|---|---|
Parameters | Type | Required | Description |
---|---|---|---|
Parameters | Type | Required | Description |
---|---|---|---|
Parameters | Type | Required | Description |
---|---|---|---|
Field | Description |
---|---|
Parameters | Type | Required | Description |
---|---|---|---|
Field | Description |
---|---|
参数名 | Type | Required | Description |
---|---|---|---|
Field | Description |
---|---|
Parameters | Type | Required | Description |
---|---|---|---|
Field | Description |
---|---|
symbol
String
Yes
Symbol:/products
side
String
Yes
Trade Direction
orderType
String
Yes
Trade Type limit/market
force
String
Yes
Order Type
price
String
No
Limit Order Price
quantity
String
Yes
Amount
clientOrderId
String
No
Client Order ID
orderId
order id
clientOrderId
client order id
symbol
String
Yes
Symbol: /products
orderList
List
Yes
List of Orders
side
String
Yes
Trade Direction
orderType
String
Yes
Trade Type limit/market
force
String
Yes
Order Type
price
String
No
Limit Order Price
quantity
String
Yes
Amoun
clientOrderId
String
No
Client Order ID
symbol
String
Yes
Symbol :/products
orderId
String
Yes
Order id array
symbol
String
Yes
Symbol:/products
orderIds
String[]
Yes
Order id array
symbol
String
Yes
Symnol:/products
orderId
String
Yes
Order id
clientOrderId
String
No
Custom order id
accountId
account id
symbol
Currency pair name
orderId
Order id
clientOrderId
Custom id
price
price
quantity
Order quantity
orderType
Order type
side
Order direction
status
status
fillPrice
Transaction price
fillQuantity
Transaction quantity
fillTotalAmount
Total transcation volume
cTime
Created time
symbol
String
Yes
Symbol:/products
accountId
Account ID
symbol
Currency pair
orderId
order id
clientOrderId
Custom id
price
Order price
quantity
Order quantity
orderType
Order type
side
Order direction
status
status
fillPrice
Transaction price
fillQuantity
Transaction quantity
fillTotalAmount
Total transcation volume
cTime
Created time
symbol
String
Yes
Symbol:/products
after
String
No
use orderId, the data before this orderId desc
before
String
No
use orderId, the data after this orderId asc
limit
Integer
No
default 100, max. is 500
accountId
Account ID
symbol
Currency pair
orderId
Order id
clientOrderId
Custom ID
price
Order price
quantity
Order quantity
orderType
Order type
side
Order direction
status
Order status
fillPrice
Transaction price
fillQuantity
Transaction quantity
fillTotalAmount
Total transcation volume
cTime
Created time
symbol
String
Yes
Symbol:/products
orderId
String
No
Order ID
after
String
No
use in orderId, the data before this orderId desc
before
String
No
use in the orderId, the data after this orderId asc
limit
Integer
No
default 100, max. 500
accountId
Account ID
symbol
Currency pair
orderId
Order id
fillId
Transaction ID
orderType
Order type
side
Order direction
fillPrice
Transaction price
fillQuantity
Transaction quantity
fillTotalAmount
Total transaction volume
cTime
Creatied time
feeCcy
Coin for transaction fee
fees
Transaction fees