Skip to content

API Request Guide ​

Necessary premise: Read in detail Authentication parts, learn how to sign requests before making them

Swim lane diagram for decrypting business ​

This is a swimlane diagram of decryption business, which describes the business logic referenced during the docking of decryption APIs

API request examples ​


API Response Guide ​

  • Status Code The API request of this system uses the status code of the HTTP protocol. When the API request is successful, the server will return 200 OK to indicate that the API has been successfully executed
  • Response Body Each API has its unique format for returning data body. For information on returning data npdy, please refer to the documentation of the API you are using
  • When there is a problem with the request, this system will return a non 200 OK status code to inform the developer, and will carry error information in the body to inform the developer. You can debug and repair based on the error information (limited to HTTP/S interface, Websocket interface does not support carrying error information)
  • The error with status code 4xx is caused by improper use by the developer, such as incorrect API interface signature or incorrect parameter passing. Please follow the API documentation for detailed troubleshooting of this error
  • The error with status code 5xx is an error that occurs when the system encounters some errors that cannot be processed. You can try the request again. If it fails more than 10 times, please contact us for assistance
  • When other error codes return, please handle them according to the specifications of the HTTP protocol's Status Code and refer to the returned error information

Power by Nikola-LAB