Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developer.wooxpro.com/llms.txt

Use this file to discover all available pages before exploring further.

Restful Error Code

List of global HTTP return codes

HTTPDescription
404Not Found-The requested interface could not be found
403Forbidden-No permission to access the resource (KEY may not have permission, or it may be IP restrictions)
401Unauthorized-Authentication failed (there are problems with the 3 header parameters, failed)
500Internal Server Error-Server exception, WOO X Pro service problem

Authentication Error Code

Example: httpStatus:200, body:{"code": 1000, "message": "OK", "trace": "12323-3243242-34334534-4353","data":{}}
error messagecode error codehttp status code
Not found30000404
Header X-BM-KEY is empty30001401
Header X-BM-KEY not found30002401
Header X-BM-KEY has frozen30003401
Header X-BM-SIGN is empty30004401
Header X-BM-SIGN is wrong30005401
Header X-BM-TIMESTAMP is empty30006401
Header X-BM-TIMESTAMP range. Within a minute30007401
Header X-BM-TIMESTAMP invalid format30008401
IP is forbidden. We recommend enabling IP whitelist for API trading. After that reauth your account30010403
Header X-BM-KEY over expire time30011403
Header X-BM-KEY is forbidden to request it30012403
Request too many requests30013429
Service unavailable30014503
Service maintenance, the function is temporarily unavailable30016200
Your account request is temporarily rejected due to violation of current limiting rules, please contact customer service30017418
Request Body requires JSON format30018503
You do not have the permissions to perform this operation. Please contact customer service or BD for assistance30019200
Futures V1 API has been deprecated. Please use Futures V2 API. You can view the change logs for upgrade30030200
This endpoint has been deprecated. You can view the change logs for upgrade30031200

Contract API Error Code

Example: httpStatus:400, body:{"code": 40001, "message":"out_trade_no not found", "trace":"8bynjk-nmoew-sd1221-csd-123" }
errMsg error messagecode error codehttp status code
OK1000200
Cloud account not found40001400
out_trade_no not found40002400
out_trade_no already existed40003400
Cloud account count limit40004400
Transfer vol precision error40005400
Invalid ip error40006400
Parse parameter error40007400
Check nonce error40008400
Check ver error40009400
Not found func error40010400
Invalid request40011400
System error40012400
Access too often” CLIENT_TIME_INVALID, “Please check your system time.40013400
This contract is offline40014400
This contract’s exchange has been paused40015400
This order would trigger user position liquidate40016400
It is not possible to open and close simultaneously in the same position40017400
Your position is closed40018400
Your position is in liquidation delegating40019400
Your position volume is not enough40020400
The position is not exsit40021400
The position is not isolated40022400
The position would liquidate when sub margin40023400
The position would be warnning of liquidation when sub margin40024400
The position’s margin shouldn’t be lower than the base limit40025400
You cross margin position is in liquidation delegating40026400
You contract account available balance not enough40027400
Your plan order’s count is more than system maximum limit.40028400
The order’s leverage is too large.40029400
The order’s leverage is too small.40030400
The deviation between current price and trigger price is too large.40031400
The plan order’s life cycle is too long.40032400
The plan order’s life cycle is too short.40033400
The Symbol is not exist40034400
The order is not exist40035400
The order status is invalid40036400
The order id is not exist40037400
The k-line step is invalid40038400
The timestamp is invalid40039400
The order leverage is invalid40040400
The order side is invalid40041400
The order type is invalid40042400
The order precision is invalid40043400
The order range is invalid40044400
The order open type is invalid40045400
The account is not opened futures40046403
Services is not available in you countries and areas40047403
ClientOrderId only allows a combination of numbers and letters40048403
The maximum length of clientOrderId cannot exceed 3240049403
Client OrderId duplicated with existing orders40050403
Insufficient balance42000200