Welcome to the new WEEX API documentation. Looking for the previous version?Switch to the legacy docs
WEEX
WEEX Spot REST API

Account

Endpoint

Get Account Information (USER_DATA)

Get Account Information (USER_DATA).

GET
/api/v3/account
https://api-spot.weex.com
Request weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate-limit capacity.
Learn more in the Access Restrictions section.
IP weight5

Get Account Information (USER_DATA) › Responses

200

Successful response

canTrade
​boolean

Whether trading is enabled.

canWithdraw
​boolean

Whether withdrawals are enabled.

canDeposit
​boolean

Whether deposits are enabled.

permissions
​string[]

Granted permissions (e.g. SPOT_TRADING).

​object[]

Asset balances.

uid
​integer

Account UID.

brokered
​boolean

Whether the account is broker managed.

requireSelfTradePrevention
​boolean

Whether self-trade prevention is enforced.

preventSor
​boolean

Whether smart order routing is disabled.

updateTime
​integer

Last account update time (ms).

accountType
​string

Account type, e.g. SPOT.

symbolCommissions
​object

Per-symbol maker/taker commission overrides.


Get Commission Rate (USER_DATA)

Get Commission Rate (USER_DATA).

GET
/api/v3/account/commissionRate
https://api-spot.weex.com
Request weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate-limit capacity.
Learn more in the Access Restrictions section.
IP weight5

Get Commission Rate (USER_DATA) › query Parameters

symbol
​string · required

Trading pair

Get Commission Rate (USER_DATA) › Responses

200

Successful response

symbol
​string

Trading pair

makerCommissionRate
​string

Best Maker fee rate applicable to manually placed orders for this user, e.g. "0.0002" means 0.02%.

takerCommissionRate
​string

Best Taker fee rate applicable to manually placed orders for this user, e.g. "0.0004" means 0.04%.

apiMakerFeeRate
​number

The best Maker fee rate applicable to orders placed through the API by this user. May be null.

apiTakerFeeRate
​number

The best Taker fee rate applicable to orders placed through the API by this user. May be null.


Get Spot Account Bills (USER_DATA)

Get Spot Account Bills (USER_DATA).

POST
/api/v3/account/bills
https://api-spot.weex.com
Request weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate-limit capacity.
Learn more in the Access Restrictions section.
IP weight5

Get Spot Account Bills (USER_DATA) › query Parameters

coinId
​integer

Filter by asset ID.

bizType
​string

Business type filter (e.g. deposit, withdraw, trade_out).

after
​integer

Records created AFTER this timestamp

before
​integer

Records created BEFORE this timestamp

limit
​integer

Number of records to return (default 10, maximum 100).

Get Spot Account Bills (USER_DATA) › Responses

200

Successful response

​object[]
billId
​string

Bill identifier.

coinId
​integer

Asset ID.

coinName
​string

Asset symbol.

bizType
​string

Business type.

fillSize
​string

Filled quantity (if applicable).

fillValue
​string

Filled value (if applicable).

deltaAmount
​string

Amount change.

afterAmount
​string

Balance after the change.

fees
​string

Fees charged.

cTime
​string

Creation time (ms).


Get Funding Account Bills (USER_DATA)

Get Funding Account Bills (USER_DATA).

POST
/api/v3/account/fundingBills
https://api-spot.weex.com
Request weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate-limit capacity.
Learn more in the Access Restrictions section.
IP weight5

Get Funding Account Bills (USER_DATA) › query Parameters

coinId
​integer

Asset ID filter.

bizType
​string

Business type filter.

startTime
​integer

Start time (ms).

endTime
​integer

End time (ms).

pageIndex
​integer

Page number (default 1).

pageSize
​integer

Page size (default 10, maximum 100).

Get Funding Account Bills (USER_DATA) › Responses

200

Successful response

total
​integer

Total number of records.

pageSize
​integer

Page size.

pages
​integer

Total number of pages.

page
​integer

Current page number.

hasNextPage
​boolean

Whether another page is available.

​object[]

List of bill entries (see Get Spot Account Bills for field details).


Get Transfer Records (USER_DATA)

Get Transfer Records (USER_DATA).

GET
/api/v3/account/transferRecords
https://api-spot.weex.com
Request weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate-limit capacity.
Learn more in the Access Restrictions section.
IP weight3

Get Transfer Records (USER_DATA) › query Parameters

coinId
​integer

Filter by asset ID.

fromType
​string

Source account type.

limit
​integer

Number of records to return (default 100).

after
​integer

Return records after this time (ms).

before
​integer

Return records before this time (ms).

Get Transfer Records (USER_DATA) › Responses

200

Successful response

​object[]
coinName
​string

Asset symbol.

status
​string

Transfer status.

toType
​string

Destination account type.

toSymbol
​string

Destination symbol (if applicable).

fromType
​string

Source account type.

fromSymbol
​string

Source symbol (if applicable).

amount
​string

Transfer amount.

tradeTime
​string

Transfer time (ms).