Changelog
v3.0.0-rc1 - 2023-04-20
Added
- Add Spot Websocket API
Updated
- Redesign the Websocket Stream and rename stream methods
- Upgrade dependencies
v2.0.1 - 2023-02-22
Updated
- Fixed WebSocket onClose event issue
v2.0.0 - 2023-01-31
Updated
- Pump dependencies version
v2.0.0-rc.4 - 2022-11-22
Added
- Support RSA key signature.
v2.0.0-rc.3 - 2022-10-12
Added
- New endpoint
GET /api/v3/uiKlines
Changed
- Add new optional parameter
type
toGET /api/v3/ticker
andGET /api/v3/ticker/24hr
v2.0.0-rc.2 - 2022-10-04
Changed
- Delete endpoints for Futures Cross Collateral
POST /sapi/v1/futures/loan/borrow
POST /sapi/v1/futures/loan/repay
GET /sapi/v2/futures/loan/configs
GET /sapi/v2/futures/loan/calcAdjustLevel
GET /sapi/v1/futures/loan/calcMaxAdjustAmount
GET /sapi/v2/futures/loan/calcMaxAdjustAmount
POST /sapi/v2/futures/loan/adjustCollateral
GET /sapi/v1/futures/loan/collateralRepayLimit
GET /sapi/v1/futures/loan/collateralRepay
POST /sapi/v1/futures/loan/collateralRepay
GET /sapi/v1/futures/loan/collateralRepayResult
- Fixing
asset
in the endpoints that should not be mandatory #107GET /sapi/v1/lending/daily/token/position
GET /sapi/v1/lending/project/position/list
v2.0.0-rc.1 - 2022-08-29
- Support timeout
- Support proxy
- Support httpsAgent
- Enable strict mode
- Improve Websocket
- Add
pingServer
method
- Add
v.1.13.0 - 2022-08-12
Added
- New endpoint for Portfolio Margin:
GET /sapi/v1/portfolio/pmLoan
to query Portfolio Margin Bankruptcy Loan Record.POST /sapi/v1/portfolio/repay
to repay Portfolio Margin Bankruptcy Loan.GET /sapi/v1/portfolio/collateralRate
to get Portfolio Margin Collateral Rate.
Changed
- Changed endpoints for Trade:
POST /api/v3/order/test
New optional fieldsstrategyId
andstrategyType
.POST /api/v3/order
New optional fieldsstrategyId
andstrategyType
.POST /api/v3/order/cancelReplace
New optional fieldsstrategyId
andstrategyType
.POST /api/v3/order/oco
New optional fieldslimitStrategyId
,limitStrategyType
,stopStrategyId
andstopStrategyType
.
v.1.12.0 - 2022-07-19
Added
New endpoint for Margin:
POST /sapi/v3/asset/getUserAsset
to get user assets.
New endpoint for Wallet:
GET /sapi/v1/margin/dribblet
to query the historical information of user's margin account small-value asset conversion BNB.
v.1.11.0 - 2022-07-04
Added
<symbol>@ticker_<window-size>
Individual symbol rolling window ticker streams.!ticker_<window-size>@arr
All market rolling window ticker streamsGET /api/v3/ticker
for rolling window price change statistics based on windowSize provided.POST /api/v3/order/cancelReplace
to cancel an existing order and place a new order on the same symbol.
Changed
GET /sapi/v1/fiat/orders
: Weight changes from IP(1) to UID(90000)GET /sapi/v1/pay/transactions
: Param names changed: startTimestamp -> startTime; endTimestamp -> endTime.
Fixed
- Updated
jest
from^26.0.1
to^28.1.2
to resolvejsdom
security issueGHSA-f4c9-cqv8-9v98
.
v.1.10.0 - 2022-05-23
Added
GET /sapi/v1/giftcard/cryptography/rsa-public-key
to fetch RSA public key.GET /sapi/v1/staking/productList
to get Staking product listPOST /sapi/v1/staking/purchase
to stake productPOST /sapi/v1/staking/redeem
to redeem productGET /sapi/v1/staking/position
to get Staking product holding positionGET /sapi/v1/staking/stakingRecord
to inquiry Staking history recordsPOST /sapi/v1/staking/setAutoStaking
to set Auto Staking functionGET /sapi/v1/staking/personalLeftQuota
to inquiry Staking left quota
Changed
POST /sapi/v1/giftcard/redeemCode
: new optional parameter externalUid. Each external unique ID represents a unique user on the partner platform. The function helps you to identify the redemption behavior of different users.GET /api/v3/ticker/24hr
,GET /api/v3/ticker/price
andGET /api/v3/ticker/bookTicker
new optional parameter symbols.
v.1.9.2 - 2022-05-05
Added
GET /sapi/v1/managed-subaccount/accountSnapshot
to support investor master account query asset snapshot of managed sub-account.GET /sapi/v1/margin/rateLimit/order
to display the user's current margin order count usage for all intervals.GET /sapi/v1/portfolio/account
to support query portfolio margin account info.
Changed
POST /sapi/v1/bswap/liquidityAdd
- New optional parametertype
POST /sapi/v1/sub-account/universalTransfer
- New transfer typesMARGIN
,ISOLATED_MARGIN
and parametersymbol
GET /api/v3/depth
- Thelimit
value can be outside of the previous values (i.e. 5, 10, 20, 50, 100, 500, 1000, 5000). The limit still cannot exceed 5000.POST /api/v3/order
,POST /api/v3/order/test
and/api/v3/order/oco
- New optional parametertrailingDelta
v1.8.0 - 2022-02-24
Added
POST /sapi/v1/giftcard/createCode
to create a code for Binance Gift CardPOST /sapi/v1/giftcard/redeemCode
to redeem a code for Binance Gift CardGET /sapi/v1/giftcard/verify
to verify a code for Binance Gift CardPOST /sapi/v1/asset/dust-btc
to get assets that can be converted into BNB
Fixed
- npm audit upgrades
v1.7.0 - 2022-01-13
Added
GET /sapi/v1/mining/payment/uid
to get Mining account earningGET /sapi/v1/bswap/unclaimedRewards
to get unclaimed rewards recordPOST /sapi/v1/bswap/claimRewards
to claim swap rewards or liquidity rewardsGET /sapi/v1/bswap/claimedHistory
to get history of claimed rewardsPOST /sapi/v1/sub-account/universalTransfer
to transfer spot and futures asset between master account and sub accountsGET /sapi/v1/sub-account/universalTransfer
to search transfer recordsGET /sapi/v2/sub-account/futures/account
to get detail on sub-account's USDT margined futures account and COIN margined futures accountGET /sapi/v2/sub-account/futures/accountSummary
to get summary of sub-account's USDT margined futures account and COIN margined futures accountGET /sapi/v2/sub-account/futures/positionRisk
to get position risk of sub-account's USDT margined futures account and COIN margined futures account
v1.6.0 - 2021-12-07
Added
GET /api/v3/rateLimit/order
to get the current order count usage for all intervalsGET /sapi/v1/loan/income
to support user query crypto loans historyPOST /sapi/v1/sub-account/subAccountApi/ipRestriction
to support master account enable and disable IP restriction for a sub-account API KeyPOST /sapi/v1/sub-account/subAccountApi/ipRestriction/ipList
to support master account add IP list for a sub-account API KeyGET /sapi/v1/sub-account/subAccountApi/ipRestriction
to support master account query IP restriction for a sub-account API KeyDELETE /sapi/v1/sub-account/subAccountApi/ipRestriction/ipList
to support master account delete IP list for a sub-account API KeyGET /sapi/v1/pay/transactions
to support user query Pay trade historyGET /sapi/v1/convert/tradeFlow
to support user query convert trade history recordsGET /sapi/v1/rebate/taxQuery
to support user query spot rebate history recordsGET /sapi/v1/margin/crossMarginData
to get cross margin fee data collectionGET /sapi/v1/margin/isolatedMarginData
to get isolated margin fee data collectionGET /sapi/v1/margin/isolatedMarginTier
to get isolated margin tier data collectionGET /sapi/v1/nft/history/transactions
to get NFT transaction historyGET /sapi/v1/nft/history/deposit
to get NFT deposit historyGET /sapi/v1/nft/history/withdraw
to get NFT withdraw historyGET /sapi/v1/nft/user/getAsset
to get NFT asset
Fixed
- npm audit upgrades
v1.5.0 - 2021-10-01
Added
GET /sapi/v1/bswap/poolConfigure
to get pool configureGET /sapi/v1/bswap/addLiquidityPreview
to get add liquidity previewGET /sapi/v1/margin/isolated/accountLimit
to get remove liquidity preview- Axios version upgrade to
0.21.4
v1.4.0 - 2021-09-14
Added
GET /sapi/v1/capital/withdraw/history
has a new optional field withdrawOrderIdDELETE /sapi/v1/margin/isolated/account
to disable isolated margin account for a specific symbolPOST /sapi/v1/margin/isolated/account
to enable isolated margin account for a specific symbolGET /sapi/v1/margin/isolated/accountLimit
to query enabled isolated margin account limit
v1.3.1 - 2021-09-02
Fix
- Fix on websocket close event detection logic
v1.3.0 - 2021-08-31
Added
POST /sapi/v1/asset/transfer
andGET /sapi/v1/asset/transfer
optional fieldsfromSymbol
,toSymbol
POST /sapi/v1/margin/order/oco
create a margin account OCO orderDELETE /sapi/v1/margin/orderList
cancel a margin account OCO orderGET /sapi/v1/margin/orderList
query OCO orders under a margin accountGET /sapi/v1/margin/allOrderList
query all OCO orders under a margin accountGET /sapi/v1/margin/openOrderList
query open OCO orders under a margin account
v1.2.0 - 2021-08-20
Added
GET /sapi/v1/c2c/orderMatch/listUserOrderHistory
to query user C2C trade historyGET api/v3/myTrades
has a new optional field orderId
v1.1.0 - 2021-08-12
Added
GET /sapi/v1/fiat/orders
to query user fiat deposit and withdraw historyGET /sapi/v1/fiat/payments
to query user fiat payments history
v1.0.0 - 2021-07-27
Added
- First release, please find details from
README.md