Huobi Global is going to support a new endpoint in REST API for account history querying

Dear API user,
Since the effective day of this notification, Huobi Global will be supporting a new endpoint “GET /v1/account/history” in REST API for account history querying (API Key Permission: Read).

Effective Date: October 22, 2019 (GMT+8)
All the changes will be updated on 【API Docs】

Huobi Global
October 21, 2019 

The following are change details:

Request Parameters

Field NameMandatoryData TypeDescription
account-idtruestringAccount ID
currencyfalsestringCurrency
Default value: all
transact-typesfalsestringAmount change types (multiple selection allowed)
Default value: all
Enum values:
trade
etf
transact-fee
deduction
transfer
credit
liquidation
interest
deposit-withdraw
withdraw-fee
exchange
other-types
start-timefalselongFar point of time of the query window (unix time in millisecond)
Searching based on transact-time
Value range: [((end-time) – 1hour), (end-time)]
The maximum size of the query window is 1 hour
Default value: ((end-time) – 1hour)
The query window can be shifted within 30 days
end-timefalselongNear point of time of the query window (unix time in millisecond)
Searching based on transact-time
Value range: [(current-time) – 29days,(current-time)]
The maximum size of the query window is 1 hour
Default value: current-time
The query window can be shifted within 30 days
sortfalsestringSorting order
Enum:
asc
desc
default value: asc
sizefalseintMaximum number of items in each response
Value range: [1,500]
Default value: 100

Response

Field NameData TypeMandatoryDescription
statusstringtrueStatus code(ok or error)
dataobjecttrue 
{ account-idlongtrueAccount ID
currencystringtrueCurrency
transact-amtstringtrueAmount change(positive value if income, negative value if outcome)
transact-typestringtrueAmount change types
avail-balancestringtrueAvailable balance
acct-balancestringtrueAccount balance
transact-timelongtrueTransaction time (database time)
record-id }stringtrueUnique record ID in the database