- New market endpoint:
GET /api/v3/uiKlines
- New kline interval:
1s - The following endpoints now support multi-symbol querying using the parameter symbols.
GET /api/v3/ticker/24hrGET /api/v3/ticker/priceGET /api/v3/ticker/bookTicker
- Changes to
GET /api/v3/tickerandGET /api/v3/ticker/24hr- New optional parameter
typeadded - Supported values for parameter
typeareFULLandMINIFULLis the default value and the response that is currently being returned from the endpointMINIomits the following fields from the response:priceChangePercent,weightedAvgPrice,bidPrice,bidQty,askPrice,askQty, andlastQty
- New optional parameter
- New wallet endpoint:
POST /sapi/v3/asset/getUserAssetto get user assets
- New Portfolio Margin endpoints:
GET /sapi/v1/portfolio/collateralRateto get Portfolio Margin Collateral RateGET /sapi/v1/portfolio/pmLoanQuery Portfolio Margin Bankruptcy Loan RecordPOST /sapi/v1/portfolio/repayPortfolio Margin Bankruptcy Loan Repay
- New endpoints for Spot:
GET /api/v3/tickerPOST /api/v3/order/cancelReplace
- New websocket streams:
- New symbol ticker streams with 1h and 4h windows: Individual symbol ticker streams
<symbol>@ticker_<window-size>
- All market ticker streams
!ticker_<window-size>@arr
- New symbol ticker streams with 1h and 4h windows: Individual symbol ticker streams
- New margin endpoint:
GET /sapi/v1/margin/dribbletto query the historical information of user's margin account small-value asset conversion BNB.
GET /sapi/v1/pay/transactions: Param names changed: startTimestamp -> startTime; endTimestamp -> endTime.
- Code Cleanup
- Applied lint checks on test and example files. Conditions are similar to the main source code.
- Code Cleanup
- Removed unused variables
- Replaced deprecated unittest variable
- Removed extra semicolon
- Remove unnecessary mandatory field for
/sapi/v1/lending/daily/token/position
maven-checkstyle-plugindependencies package version changed to scopetest- Pumped
logback-classicversion to1.2.11
- Java checkstyle to pom.xml and github actions
- New endpoints for Staking:
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
- New endpoint for Binance Code:
GET /sapi/v1/giftcard/cryptography/rsa-public-keyto fetch RSA public key.
- Update endpoint for Binance Code:
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 /sapi/v1/margin/rateLimit/orderadded The endpoint will display the user's current margin order count usage for all intervals.GET /sapi/v1/portfolio/accountto support query portfolio margin account info- Information on Trailing Stops (Documentation)
- Websocket symbol will be converted to lower case regardless of user input
- Update endpoint for Sub-Account:
- New endpoint
GET /sapi/v1/managed-subaccount/accountSnapshotto support investor master account query asset snapshot of managed sub-account
- New endpoint
- Fixed typo in function name.
- CloseIsloatedListenKey => CloseIsolatedMarginListenKey
- CreateIsloatedListenKey => CreateIsolatedMarginListenKey
- ExtendIsloatedListenKey => ExtendIsolatedMarginListenKey
- Websocket status callback
- New endpoints for Binance Code, named as Gift Card to avoid technical confusion.
POST /sapi/v1/giftcard/createCodeto create a Binance Code.POST /sapi/v1/giftcard/redeemCodeto redeem a Binance Code.GET /sapi/v1/giftcard/verifyto verify a Binance Code.
- New endpoint for Wallet:
POST /sapi/v1/asset/dust-btcto get assets that can be converted into BNB
-
New endpoint for Mining:
GET /sapi/v1/mining/payment/uidto get Mining account earning.
-
New endpoint for BSwap:
GET /sapi/v1/bswap/unclaimedRewardsto get unclaimed rewards record.POST /sapi/v1/bswap/claimRewardsto claim swap rewards or liquidity rewards.GET /sapi/v1/bswap/claimedHistoryto get history of claimed rewards.
-
Update endpoint for Margin:
- Removed out limit from
GET /sapi/v1/margin/interestRateHistory; The max interval between startTime and endTime is 30 days.
- Removed out limit from
-
Update endpoints for Sub-Account:
- New parameter
clientTranIdadded inPOST /sapi/v1/sub-account/universalTransferandGET /sapi/v1/sub-account/universalTransferto support custom transfer id
- New parameter
- log4j2 logger to logback.
- Websocket bugfix.
- Initial code release.