Interface Description:
  • Get single or multiple Order Details
Request URL:
Request Mode:
  • POST
Parameter Required Type Comment
apiKey Yes string Application apiKey
timeStamp Yes string Current timestamp
nonce Yes string Random 6-character string6位字符
sign Yes string Request signature
entrustSheetIds Yes string Order ID,50 at most,comma separated
How to sign for required parameter:

All parameter submitted by users except sign requires signature.

Firstly, sort signature strings in alphabetical order based on parameters (compare the first letter of all parameter, if they differ, then the string whose first letter comes earlier in the alphabet comes before the other string. If the first letters are the same, then the second letters are compared, and so on).

For example:Sign for the following parameter

apiKey=376892265asdad5d12726d8bbfbd8912b3&timeStamp=1510235730&nonce=309127&entrustSheetIds=1,2,3 and add application secretKey (only needs value, parameter and ‘&” is not required.)

For example:


Signature string after splicing:


Note,"sign" is a required parameter.

Lastly,use md5 32bit algorithm to apply signature algorithm to the parameter, and then generate final signature string (the string assigns value to parameter ‘sign’).

Example of Return Result:
            "orderId":"734709",//order ID
            "contractId":"101",//contract ID
            "type":"limit",//type,limit: limit order,market: market order
            "available":"500",//available order
    "microtime":"0.41892000 1533035297",

results matching ""

    No results matching ""