- New endpoints for Wallet:
POST /sapi/v1/asset/convert-transfer
to convert between BUSD and stablecoinsGET /sapi/v1/asset/convert-transfer/queryByPage
to query BUSD convert history
- New endpoints for Crypto Loan:
GET /sapi/v1/loan/loanable/data
to get interest rate and borrow limit of loanable assets. The borrow limit is shown in USD value.GET /sapi/v1/loan/collateral/data
to get LTV information and collateral limit of collateral assets. The collateral limit is shown in USD value.GET /sapi/v1/loan/repay/collateral/rate
to get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 seconds.POST /sapi/v1/loan/customize/margin_call
to customize margin call for ongoing orders only.
- 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/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
- Add support for use of RSA Key to generate signatures
- The All Book Tickers stream (!bookTicker) is removed
- New endpoints for Crypto Loan:
POST /sapi/v1/loan/borrow
to borrow Crypto LoanGET /sapi/v1/loan/borrow/history
to get Loan Borrow HistoryGET/sapi/v1/loan/ongoing/orders
to get Loan Ongoing OrdersPOST/sapi/v1/loan/repay
to repay Crypto LoanGET/sapi/v1/loan/repay/history
to get Loan Repayment HistoryPOST/sapi/v1/loan/adjust/ltv
to adjust Crypto Loan LTV (Loan-To-Value)GET/sapi/v1/loan/ltv/adjustment/history
to get Loan LTV (Loan-To-Value) Adjustment History
- Changes to
GET /api/v3/exchangeInfo
:- New optional parameter
permissions
added to display all symbols with the permissions matching the parameter provided. (eg.SPOT, MARGIN, LEVERAGED) - If not provided, the default value will be
["SPOT","MARGIN","LEVERAGED"]
- Cannot be combined with symbol or symbols
- New optional parameter
- Updated
checkstyle.xml
to also include Indentation verification
DecimalFormat
withLocale.ENGLISH
for requests withDouble
to have.
as decimal separator.
- 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/24hr
GET /api/v3/ticker/price
GET /api/v3/ticker/bookTicker
- Changes to
GET /api/v3/ticker
andGET /api/v3/ticker/24hr
- New optional parameter
type
added - Supported values for parameter
type
areFULL
andMINI
FULL
is the default value and the response that is currently being returned from the endpointMINI
omits the following fields from the response:priceChangePercent
,weightedAvgPrice
,bidPrice
,bidQty
,askPrice
,askQty
, andlastQty
- New optional parameter
- New wallet endpoint:
POST /sapi/v3/asset/getUserAsset
to get user assets
- New Portfolio Margin endpoints:
GET /sapi/v1/portfolio/collateralRate
to get Portfolio Margin Collateral RateGET /sapi/v1/portfolio/pmLoan
Query Portfolio Margin Bankruptcy Loan RecordPOST /sapi/v1/portfolio/repay
Portfolio Margin Bankruptcy Loan Repay
- New endpoints for Spot:
GET /api/v3/ticker
POST /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/dribblet
to 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-plugin
dependencies package version changed to scopetest
- Pumped
logback-classic
version to1.2.11
- Java checkstyle to pom.xml and github actions
- New endpoints for Staking:
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
- New endpoint for Binance Code:
GET /sapi/v1/giftcard/cryptography/rsa-public-key
to 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/order
added The endpoint will display the user's current margin order count usage for all intervals.GET /sapi/v1/portfolio/account
to 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/accountSnapshot
to 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/createCode
to create a Binance Code.POST /sapi/v1/giftcard/redeemCode
to redeem a Binance Code.GET /sapi/v1/giftcard/verify
to verify a Binance Code.
- New endpoint for Wallet:
POST /sapi/v1/asset/dust-btc
to get assets that can be converted into BNB
-
New endpoint for Mining:
GET /sapi/v1/mining/payment/uid
to get Mining account earning.
-
New endpoint for BSwap:
GET /sapi/v1/bswap/unclaimedRewards
to get unclaimed rewards record.POST /sapi/v1/bswap/claimRewards
to claim swap rewards or liquidity rewards.GET /sapi/v1/bswap/claimedHistory
to 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
clientTranId
added inPOST /sapi/v1/sub-account/universalTransfer
andGET /sapi/v1/sub-account/universalTransfer
to support custom transfer id
- New parameter
- log4j2 logger to logback.
- Websocket bugfix.
- Initial code release.