- Updated
follow-redirectsdependency
-
Deprecated Savings endpoints:
GET /sapi/v1/lending/daily/product/listGET /sapi/v1/lending/daily/userLeftQuotaPOST /sapi/v1/lending/daily/purchaseGET /sapi/v1/lending/daily/userRedemptionQuotaPOST /sapi/v1/lending/daily/redeemGET /sapi/v1/lending/daily/token/positionGET /sapi/v1/lending/project/listPOST /sapi/v1/lending/customizedFixed/purchaseGET /sapi/v1/lending/union/accountGET /sapi/v1/lending/union/purchaseRecordGET /sapi/v1/lending/union/redemptionRecordGET /sapi/v1/lending/union/interestHistoryGET /sapi/v1/lending/project/position/list
-
Deprecated Staking endpoints:
GET /sapi/v1/staking/productListPOST /sapi/v1/staking/purchasePOST /sapi/v1/staking/redeemGET /sapi/v1/staking/positionGET /sapi/v1/staking/stakingRecordPOST /sapi/v1/staking/setAutoStakingGET /sapi/v1/staking/personalLeftQuota
-
Deprecated BSwap endpoints:
GET /sapi/v1/bswap/poolsGET /sapi/v1/bswap/liquidityPOST /sapi/v1/bswap/liquidityAddPOST /sapi/v1/bswap/liquidityRemoveGET /sapi/v1/bswap/liquidityOpsGET /sapi/v1/bswap/quotePOST /sapi/v1/bswap/swapGET /sapi/v1/bswap/swapGET /sapi/v1/bswap/poolConfigureGET /sapi/v1/bswap/addLiquidityPreviewGET /sapi/v1/bswap/removeLiquidityPreviewGET /sapi/v1/bswap/unclaimedRewardsPOST /sapi/v1/bswap/claimRewardsGET /sapi/v1/bswap/claimedHistory
- Add Auto Invest endpoints:
GET /sapi/v1/margin/available-inventoryQuery margin available inventoryPOST /sapi/v1/margin/manual-liquidationMargin manual liquidation
- Update dependencies
GET /sapi/v1/futures/loan/borrow/historyGET /sapi/v1/futures/loan/repay/historyGET /sapi/v2/futures/loan/walletGET /sapi/v1/futures/loan/adjustCollateral/historyGET /sapi/v1/futures/loan/liquidationHistoryGET /sapi/v1/futures/loan/interestHistory
- Update README #142
- Minor changes #143
- Update package
- Update Nodejs versions in pipeline
- Support Ed25519 key signature
- Add Spot Websocket API
- Redesign the Websocket Stream and rename stream methods
- Upgrade dependencies
- Fixed WebSocket onClose event issue
- Pump dependencies version
- Support RSA key signature.
- New endpoint
GET /api/v3/uiKlines
- Add new optional parameter
typetoGET /api/v3/tickerandGET /api/v3/ticker/24hr
- Delete endpoints for Futures Cross Collateral
POST /sapi/v1/futures/loan/borrowPOST /sapi/v1/futures/loan/repayGET /sapi/v2/futures/loan/configsGET /sapi/v2/futures/loan/calcAdjustLevelGET /sapi/v1/futures/loan/calcMaxAdjustAmountGET /sapi/v2/futures/loan/calcMaxAdjustAmountPOST /sapi/v2/futures/loan/adjustCollateralGET /sapi/v1/futures/loan/collateralRepayLimitGET /sapi/v1/futures/loan/collateralRepayPOST /sapi/v1/futures/loan/collateralRepayGET /sapi/v1/futures/loan/collateralRepayResult
- Fixing
assetin the endpoints that should not be mandatory #107GET /sapi/v1/lending/daily/token/positionGET /sapi/v1/lending/project/position/list
- Support timeout
- Support proxy
- Support httpsAgent
- Enable strict mode
- Improve Websocket
- Add
pingServermethod
- Add
- New endpoint for Portfolio Margin:
GET /sapi/v1/portfolio/pmLoanto query Portfolio Margin Bankruptcy Loan Record.POST /sapi/v1/portfolio/repayto repay Portfolio Margin Bankruptcy Loan.GET /sapi/v1/portfolio/collateralRateto get Portfolio Margin Collateral Rate.
- Changed endpoints for Trade:
POST /api/v3/order/testNew optional fieldsstrategyIdandstrategyType.POST /api/v3/orderNew optional fieldsstrategyIdandstrategyType.POST /api/v3/order/cancelReplaceNew optional fieldsstrategyIdandstrategyType.POST /api/v3/order/ocoNew optional fieldslimitStrategyId,limitStrategyType,stopStrategyIdandstopStrategyType.
-
New endpoint for Margin:
POST /sapi/v3/asset/getUserAssetto get user assets.
-
New endpoint for Wallet:
GET /sapi/v1/margin/dribbletto query the historical information of user's margin account small-value asset conversion BNB.
<symbol>@ticker_<window-size>Individual symbol rolling window ticker streams.!ticker_<window-size>@arrAll market rolling window ticker streamsGET /api/v3/tickerfor rolling window price change statistics based on windowSize provided.POST /api/v3/order/cancelReplaceto cancel an existing order and place a new order on the same symbol.
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.
- Updated
jestfrom^26.0.1to^28.1.2to resolvejsdomsecurity issueGHSA-f4c9-cqv8-9v98.
GET /sapi/v1/giftcard/cryptography/rsa-public-keyto fetch RSA public key.GET /sapi/v1/staking/productListto get Staking product listPOST /sapi/v1/staking/purchaseto stake productPOST /sapi/v1/staking/redeemto redeem productGET /sapi/v1/staking/positionto get Staking product holding positionGET /sapi/v1/staking/stakingRecordto inquiry Staking history recordsPOST /sapi/v1/staking/setAutoStakingto set Auto Staking functionGET /sapi/v1/staking/personalLeftQuotato inquiry Staking left quota
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/priceandGET /api/v3/ticker/bookTickernew optional parameter symbols.
GET /sapi/v1/managed-subaccount/accountSnapshotto support investor master account query asset snapshot of managed sub-account.GET /sapi/v1/margin/rateLimit/orderto display the user's current margin order count usage for all intervals.GET /sapi/v1/portfolio/accountto support query portfolio margin account info.
POST /sapi/v1/bswap/liquidityAdd- New optional parametertypePOST /sapi/v1/sub-account/universalTransfer- New transfer typesMARGIN,ISOLATED_MARGINand parametersymbolGET /api/v3/depth- Thelimitvalue 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/testand/api/v3/order/oco- New optional parametertrailingDelta
POST /sapi/v1/giftcard/createCodeto create a code for Binance Gift CardPOST /sapi/v1/giftcard/redeemCodeto redeem a code for Binance Gift CardGET /sapi/v1/giftcard/verifyto verify a code for Binance Gift CardPOST /sapi/v1/asset/dust-btcto get assets that can be converted into BNB
- npm audit upgrades
GET /sapi/v1/mining/payment/uidto get Mining account earningGET /sapi/v1/bswap/unclaimedRewardsto get unclaimed rewards recordPOST /sapi/v1/bswap/claimRewardsto claim swap rewards or liquidity rewardsGET /sapi/v1/bswap/claimedHistoryto get history of claimed rewardsPOST /sapi/v1/sub-account/universalTransferto transfer spot and futures asset between master account and sub accountsGET /sapi/v1/sub-account/universalTransferto search transfer recordsGET /sapi/v2/sub-account/futures/accountto get detail on sub-account's USDT margined futures account and COIN margined futures accountGET /sapi/v2/sub-account/futures/accountSummaryto get summary of sub-account's USDT margined futures account and COIN margined futures accountGET /sapi/v2/sub-account/futures/positionRiskto get position risk of sub-account's USDT margined futures account and COIN margined futures account
GET /api/v3/rateLimit/orderto get the current order count usage for all intervalsGET /sapi/v1/loan/incometo support user query crypto loans historyPOST /sapi/v1/sub-account/subAccountApi/ipRestrictionto support master account enable and disable IP restriction for a sub-account API KeyPOST /sapi/v1/sub-account/subAccountApi/ipRestriction/ipListto support master account add IP list for a sub-account API KeyGET /sapi/v1/sub-account/subAccountApi/ipRestrictionto support master account query IP restriction for a sub-account API KeyDELETE /sapi/v1/sub-account/subAccountApi/ipRestriction/ipListto support master account delete IP list for a sub-account API KeyGET /sapi/v1/pay/transactionsto support user query Pay trade historyGET /sapi/v1/convert/tradeFlowto support user query convert trade history recordsGET /sapi/v1/rebate/taxQueryto support user query spot rebate history recordsGET /sapi/v1/margin/crossMarginDatato get cross margin fee data collectionGET /sapi/v1/margin/isolatedMarginDatato get isolated margin fee data collectionGET /sapi/v1/margin/isolatedMarginTierto get isolated margin tier data collectionGET /sapi/v1/nft/history/transactionsto get NFT transaction historyGET /sapi/v1/nft/history/depositto get NFT deposit historyGET /sapi/v1/nft/history/withdrawto get NFT withdraw historyGET /sapi/v1/nft/user/getAssetto get NFT asset
- npm audit upgrades
GET /sapi/v1/bswap/poolConfigureto get pool configureGET /sapi/v1/bswap/addLiquidityPreviewto get add liquidity previewGET /sapi/v1/margin/isolated/accountLimitto get remove liquidity preview- Axios version upgrade to
0.21.4
GET /sapi/v1/capital/withdraw/historyhas a new optional field withdrawOrderIdDELETE /sapi/v1/margin/isolated/accountto disable isolated margin account for a specific symbolPOST /sapi/v1/margin/isolated/accountto enable isolated margin account for a specific symbolGET /sapi/v1/margin/isolated/accountLimitto query enabled isolated margin account limit
- Fix on websocket close event detection logic
POST /sapi/v1/asset/transferandGET /sapi/v1/asset/transferoptional fieldsfromSymbol,toSymbolPOST /sapi/v1/margin/order/ococreate a margin account OCO orderDELETE /sapi/v1/margin/orderListcancel a margin account OCO orderGET /sapi/v1/margin/orderListquery OCO orders under a margin accountGET /sapi/v1/margin/allOrderListquery all OCO orders under a margin accountGET /sapi/v1/margin/openOrderListquery open OCO orders under a margin account
GET /sapi/v1/c2c/orderMatch/listUserOrderHistoryto query user C2C trade historyGET api/v3/myTradeshas a new optional field orderId
GET /sapi/v1/fiat/ordersto query user fiat deposit and withdraw historyGET /sapi/v1/fiat/paymentsto query user fiat payments history
- First release, please find details from
README.md