All trading pairs on the Huobi US website are supported by the Huobi US API. However, before utilizing the Huobi US REST API, it is important to understand the following points:

  • There are two entry points for the Huobi US REST API:
  • HTTPS is required
  • Each apikey can send a maximum of 100 https requests in 10 seconds
  • Always use a POST or GET command to send a request to the Huobi US API server
  • The Content-Type field in the request header will be application/x-www-form-urlencoded for a GET method, and for a POST method the request header will be application/json.
  • The request parameters must be customized depending on the entry point and the request being made
  • The API server processes requests and sends data to users in JSON format, and if it’s a private API request, will do so only after an authentication check
  • Response data format:
//success
{
	"status": "ok",
	"data":  Response data
}

//error
{
	"status": "error",
	"data":  null,
	"err-code": "login-required",
	"err-msg": "Please login first"
}