API wallet endpoints

Methods

accountSnapshot(type, optionsopt)

Daily Account Snapshot (USER_DATA)

GET /sapi/v1/accountSnapshot

https://binance-docs.github.io/apidocs/spot/en/#daily-account-snapshot-user_data

Parameters:
NameTypeAttributesDescription
typestring

"SPOT", "MARGIN", "FUTURES"

optionsobject<optional>
Properties
NameTypeAttributesDescription
startTimenumber<optional>
endTimenumber<optional>
limitnumber<optional>

min 5, max 30, default 5

recvWindownumber<optional>

The value cannot be greater than 60000

accountStatus(optionsopt)

Account Status (USER_DATA)

GET /sapi/v1/account/status

Fetch account status detail.
https://binance-docs.github.io/apidocs/spot/en/#account-status-sapi-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

apiPermissions(optionsopt)

API Key Permission (USER_DATA)

GET /sapi/v1/account/apiRestrictions

https://binance-docs.github.io/apidocs/spot/en/#get-api-key-permission-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

assetDetail(optionsopt)

Asset Detail (USER_DATA)

GET /sapi/v1/asset/assetDetail

Fetch details of assets supported on Binance.
Please get network and other deposit or withdraw details from GET /sapi/v1/capital/config/getall.
https://binance-docs.github.io/apidocs/spot/en/#asset-detail-sapi-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
assetstring<optional>
recvWindownumber<optional>

The value cannot be greater than 60000

assetDevidendRecord(optionsopt)

Asset Dividend Record (USER_DATA)

GET /sapi/v1/asset/assetDividend

Query asset dividend record.
https://binance-docs.github.io/apidocs/spot/en/#asset-dividend-record-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
assetstring<optional>
startTimenumber<optional>
endTimenumber<optional>
limitnumber<optional>

Default 20, max 500

recvWindownumber<optional>

The value cannot be greater than 60000

bnbConvertibleAssets(optionsopt)

Get Assets That Can Be Converted Into BNB (USER_DATA)

POST /sapi/v1/asset/dust-btc

https://binance-docs.github.io/apidocs/spot/en/#dustlog-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

coinInfo(optionsopt)

All Coins' Information (USER_DATA)

GET /sapi/v1/capital/config/getall

Get information of coins (available for deposit and withdraw) for user.

https://binance-docs.github.io/apidocs/spot/en/#all-coins-39-information-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

depositAddress(coin, optionsopt)

Deposit Address (supporting network) (USER_DATA)

GET /sapi/v1/capital/deposit/address

https://binance-docs.github.io/apidocs/spot/en/#deposit-address-supporting-network-user_data

Parameters:
NameTypeAttributesDescription
coinstring
optionsobject<optional>
Properties
NameTypeAttributesDescription
networkstring<optional>
recvWindownumber<optional>

The value cannot be greater than 60000

depositHistory(optionsopt)

Deposit History(supporting network) (USER_DATA)

GET /sapi/v1/capital/deposit/hisrec

https://binance-docs.github.io/apidocs/spot/en/#deposit-history-supporting-network-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
coinstring<optional>
statusnumber<optional>

0:pending, 6:credited but cannot withdraw, 1:success

startTimenumber<optional>

Default: 90 days from current timestamp

endTimenumber<optional>

Default: present timestamp

offestnumber<optional>
limitnumber<optional>
recvWindownumber<optional>

The value cannot be greater than 60000

disableFastWithdraw(optionsopt)

Disable Fast Withdraw Switch (USER_DATA)

GET /sapi/v1/account/disableFastWithdrawSwitch

https://binance-docs.github.io/apidocs/spot/en/#disable-fast-withdraw-switch-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

dustLog(optionsopt)

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
startTimenumber<optional>
endTimenumber<optional>
recvWindownumber<optional>

The value cannot be greater than 60000

dustTransfer(asset, optionsopt)

Dust Transfer (USER_DATA)

POST /sapi/v1/asset/dust

Convert dust assets to BNB.
https://binance-docs.github.io/apidocs/spot/en/#dust-transfer-user_data

Parameters:
NameTypeAttributesDescription
assetarray

The asset being converted

optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

enableFastWithdraw(optionsopt)

Enable Fast Withdraw Switch (USER_DATA)

GET /sapi/v1/account/enableFastWithdrawSwitch

https://binance-docs.github.io/apidocs/spot/en/#enable-fast-withdraw-switch-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

fundingWallet(optionsopt)

Funding Wallet (USER_DATA)

POST /sapi/v1/asset/get-funding-asset

https://binance-docs.github.io/apidocs/spot/en/#funding-wallet-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
assetstring<optional>
needBtcValuationstring<optional>

true or false

recvWindownumber<optional>

The value cannot be greater than 60000

systemStatus()

tradeFee(optionsopt)

Trade Fee (USER_DATA)

GET /sapi/v1/asset/tradeFee

Fetch trade fee
https://binance-docs.github.io/apidocs/spot/en/#trade-fee-sapi-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
symbolstring<optional>
recvWindownumber<optional>

The value cannot be greater than 60000

tradingStatus(optionsopt)

Account API Trading Status (USER_DATA)

GET /sapi/v1/account/apiTradingStatus

Fetch account api trading status detail.
https://binance-docs.github.io/apidocs/spot/en/#account-api-trading-status-sapi-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

userAsset(optionsopt)

Get user assets, just for positive data. (USER_DATA)

POST /sapi/v3/asset/getUserAsset

https://binance-docs.github.io/apidocs/spot/en/#user-asset-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
assetstring<optional>

If asset is blank, then query all positive assets user have.

needBtcValuationboolean<optional>

Whether need btc valuation or not.

userUniversalTransfer(type, asset, amount, optionsopt)

User Universal Transfer (USER_DATA)

POST /sapi/v1/asset/transfer

https://binance-docs.github.io/apidocs/spot/en/#user-universal-transfer

Parameters:
NameTypeAttributesDescription
typestring
assetstring
amountnumber
optionsobject<optional>
Properties
NameTypeAttributesDescription
fromSymbolstring<optional>

must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN

toSymbolstring<optional>

must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN

recvWindownumber<optional>

The value cannot be greater than 60000

userUniversalTransferHistory(type, optionsopt)

Query User Universal Transfer History (USER_DATA)

GET /sapi/v1/asset/transfer

https://binance-docs.github.io/apidocs/spot/en/#query-user-universal-transfer-history

Parameters:
NameTypeAttributesDescription
typestring
optionsobject<optional>
Properties
NameTypeAttributesDescription
startTimenumber<optional>
endTimenumber<optional>
currentnumber<optional>
sizenumber<optional>
fromSymbolstring<optional>

must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN

toSymbolstring<optional>

must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN

recvWindownumber<optional>

The value cannot be greater than 60000

withdraw(coin, address, amount, optionsopt)

Withdraw (USER_DATA)

POST /sapi/v1/capital/withdraw/apply

https://binance-docs.github.io/apidocs/spot/en/#withdraw-user_data

Parameters:
NameTypeAttributesDescription
coinstring
addressstring
amountnumber
optionsobject<optional>
Properties
NameTypeAttributesDescription
withdrawOrderIdstring<optional>

client id for withdraw

networkstring<optional>
addressTagstring<optional>

Secondary address identifier for coins like XRP,XMR etc.

transactionFeeFlagboolean<optional>

When making internal transfer, true for returning the fee to the destination account;
false for returning the fee back to the departure account. Default false.

namestring<optional>

Description of the address. Space in name should be encoded into %20.

walletTypenumber<optional>

The wallet type for withdraw,0-spot wallet, 1-funding wallet. Default is spot wallet

recvWindownumber<optional>

The value cannot be greater than 60000

withdrawHistory(optionsopt)

Withdraw History(supporting network) (USER_DATA)

GET /sapi/v1/capital/withdraw/history

https://binance-docs.github.io/apidocs/spot/en/#withdraw-history-supporting-network-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
coinstring<optional>
withdrawOrderIdstring<optional>
statusnumber<optional>

0:Email Sent 1:Cancelled 2:Awaiting Approval 3:Rejected 4:Processing 5:Failure 6:Completed

startTimenumber<optional>

Default: 90 days from current timestamp

endTimenumber<optional>

Default: present timestamp

offestnumber<optional>
limitnumber<optional>
recvWindownumber<optional>

The value cannot be greater than 60000