Releases: binance/binance-api-swagger
Releases · binance/binance-api-swagger
v1.22.0 Release
Added
Trade
POST /api/v3/orderList/otoPOST /api/v3/orderList/otoco
Margin Trading
POST /sapi/v1/margin/order/otoPOST /sapi/v1/margin/order/otoco
Simple Earn
POST /sapi/v1/simple-earn/locked/setRedeemOption
Copy Trading
GET /sapi/v1/copyTrading/futures/userStatusGET /sapi/v1/copyTrading/futures/leadSymbol
Portfolio Margin
GET /sapi/v2/portfolio/collateralRate
Updated
Trade
POST /api/v3/order/ocois deprecated. Update to the newPOST /api/v3/orderList/ocoendpoint.
Margin Trading
- New parameters added into response body to replace the parameter of 'transferEnabled' in the endpoint of
GET /sapi/v1/margin/account:created,collateralMarginLevel,TotalCollateralValueInUSDT,transferInEnabled,transferOutEnabled,accountType
Simple Earn
POST /sapi/v1/simple-earn/locked/subscribenew parameter:redeemToGET /sapi/v1/simple-earn/locked/positionnew fields in response:redeemTo,parentPositionId,rewardAmt,extraRewardAsset,extraRewardAPR,estExtraRewardAmt,nextPay,nextPayDate,payPeriod,redeemAmountEarly,rewardsEndDate,deliverDate,redeemPeriod,redeemingAmt,redeemTo,partialAmtDeliverDate,canRedeemEarly,canFastRedemption,autoSubscribe,type,status,canReStakeGET /sapi/v1/simple-earn/flexible/history/subscriptionRecordnew fields in response:productIdGET /sapi/v1/simple-earn/locked/history/subscriptionRecordnew fields in response:projectIdGET /sapi/v1/simple-earn/locked/history/redemptionRecordnew fields in response:originalAmount,lossAmount,isComplete,rewardAsset,rewardAmt,extraRewardAsset,estExtraRewardAm
v1.21.0 Release
Added
GET /api/v3/account/commissionGET /api/v3/ticker/tradingDay
Convert
POST /sapi/v1/convert/limit/placeOrderPOST /sapi/v1/convert/limit/cancelOrderGET /sapi/v1/convert/limit/queryOpenOrders
Dual Investment
GET /sapi/v1/dci/product/listPOST /sapi/v1/dci/product/subscribeGET /sapi/v1/dci/product/positionsGET /sapi/v1/dci/product/accountsPOST /sapi/v1/dci/product/auto_compound/edit-status
Margin
POST /sapi/v1/margin/borrow-repayGET /sapi/v1/margin/borrow-repayGET /sapi/v1/spot/delist-schedule
Staking
POST /sapi/v2/eth-staking/eth/stakePOST /sapi/v1/eth-staking/eth/redeemGET /sapi/v1/eth-staking/eth/history/stakingHistoryGET /sapi/v1/eth-staking/eth/history/redemptionHistoryGET /sapi/v1/eth-staking/eth/history/rewardsHistoryGET /sapi/v1/eth-staking/eth/quotaGET /sapi/v1/eth-staking/eth/history/rateHistoryGET /sapi/v2/eth-staking/accountPOST /sapi/v1/eth-staking/wbeth/wrapGET /sapi/v1/eth-staking/wbeth/history/wrapHistoryGET /sapi/v1/eth-staking/wbeth/history/unwrapHistoryGET /sapi/v1/eth-staking/eth/history/wbethRewardsHistory
Wallet
GET /sapi/v1/capital/withdraw/address/listGET /sapi/v1/account/info
Changed
Gift Card
POST /sapi/v1/giftcard/createCode: add response fieldexpiredTimePOST /sapi/v1/giftcard/buyCode: add response fieldexpiredTime
Loan
- Updated
POST /sapi/v1/loan/flexible/borrowtoPOST /sapi/v2/loan/flexible/borrow - Updated
GET /sapi/v1/loan/flexible/loanable/datatoGET /sapi/v2/loan/flexible/loanable/data - Updated
GET /sapi/v1/loan/flexible/collateral/datatoGET /sapi/v2/loan/flexible/collateral/data - Updated
GET /sapi/v1/loan/flexible/ongoing/orderstoGET /sapi/v2/loan/flexible/ongoing/orders - Updated
POST /sapi/v1/loan/flexible/repaytoPOST /sapi/v2/loan/flexible/repay - Updated
POST /sapi/v1/loan/flexible/adjust/ltvtoPOST /sapi/v2/loan/flexible/adjust/ltv - Updated
GET /sapi/v1/loan/flexible/borrow/historytoGET /sapi/v2/loan/flexible/borrow/history - Updated
GET /sapi/v1/loan/flexible/repay/historytoGET /sapi/v2/loan/flexible/repay/history - Updated
GET /sapi/v1/loan/flexible/ltv/adjustment/historytoGET /sapi/v2/loan/flexible/ltv/adjustment/history
Market
GET /api/v3/avgPrice: response has a new fieldcloseTimeGET /api/v3/klinesandGET /api/v3/uiKlineshave a new optional parametertimeZoneGET /api/v3/exchangeInfo: addotoAllowed,cancelReplaceAllowedandpermissionSetsin response
Margin
GET /sapi/v1/margin/transfer: add parameterisolatedSymbolGET /sapi/v1/margin/allAssets: add parameterassetGET /sapi/v1/margin/allPairs: add parametersymbolGET /sapi/v1/margin/isolated/allPairs: add parametersymbol
Trade
POST /api/v3/order/testand POST/api/v3/sor/order/testhave a new optional parametercomputeCommissionRates
Wallet
GET /sapi/v1/asset/dribblet: add parameteraccountTypePOST /sapi/v1/asset/dust-btc: add parameteraccountTypePOST /sapi/v1/asset/dust: add parameteraccountTypeGET /sapi/v1/capital/config/getall: remove response fieldresetAddressStatus
Deleted
Bswap
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
Margin
POST /sapi/v1/margin/transferPOST /sapi/v1/margin/isolated/transferPOST /sapi/v1/margin/loanPOST /sapi/v1/margin/repayGET /sapi/v1/margin/isolated/transferGET /sapi/v1/margin/assetGET /sapi/v1/margin/pairGET /sapi/v1/margin/isolated/pairGET /sapi/v1/margin/loanGET /sapi/v1/margin/repayGET /sapi/v1/margin/dribbletGET /sapi/v1/margin/dustPOST /sapi/v1/margin/dust
Staking
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
v1.20.1 Release
- Minor updates
v1.20.0 Release
Added
GET /sapi/v1/capital/deposit/address/listGET /sapi/v1/margin/leverageBracket
v1.19.0 Release
Added
GET /sapi/v1/loan/vip/request/interestRateGET /sapi/v1/margin/capital-flowGET /sapi/v1/margin/delist-scheduleGET /sapi/v1/margin/available-inventoryPOST /sapi/v1/margin/manual-liquidationGET /sapi/v1/portfolio/margin-asset-leverageGET /sapi/v1/loan/vip/collateral/dataGET /api/v3/myAllocationsPOST /api/v3/sor/orderPOST /api/v3/sor/order/test
Changed
GET /api/v3/tradesGET /api/v3/depthGET /sapi/v1/account/apiRestrictionsGET /sapi/v1/loan/vip/request/dataPOST /api/v3/userDataStreamPUT /api/v3/userDataStreamDELETE /api/v3/userDataStreamGET /sapi/v1/capital/withdraw/historyPOST /sapi/v1/margin/max-leverageGET /api/v3/openOrderListGET /api/v3/rateLimit/orderGET /api/v3/myTradesGET /api/v3/accountGET /api/v3/allOrderListGET /api/v3/orderListGET /api/v3/openOrdersGET /api/v3/orderGET /api/v3/tickerGET /api/v3/ticker/bookTickerGET /api/v3/ticker/priceGET /api/v3/ticker/24hrGET /api/v3/avgPriceGET /api/v3/uiKlinesGET /api/v3/klinesGET /api/v3/aggTradesGET /api/v3/historicalTradesGET /api/v3/allOrders
v1.18.0 Release
Added
GET /sapi/v1/lending/auto-invest/index/infoGET /sapi/v1/lending/auto-invest/index/user-summaryPOST /sapi/v1/lending/auto-invest/one-offGET /sapi/v1/lending/auto-invest/one-off/statusPOST /sapi/v1/lending/auto-invest/redeemGET /sapi/v1/lending/auto-invest/redeem/historyGET /sapi/v1/lending/auto-invest/rebalance/historyGET /sapi/v1/asset/wallet/balanceGET /sapi/v1/asset/custody/transfer-historyGET /sapi/v1/futures/histDataLink
Changed
GET /sapi/v1/margin/isolated/transferadd fieldtypeGET /sapi/v1/loan/vip/loanable/dataadd new response fields_flexibleDailyInterestRate,_flexibleYearlyInterestRateGET /sapi/v1/loan/vip/ongoing/ordersadd new response fieldsloanDate,loanRate,loanTermPOST /sapi/v1/portfolio/repayadd paramaterfrom
Deleted
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
v1.17.1 Release
Changed
- Fixing typo
v1.17.0 Release
Added
GET /sapi/v1/simple-earn/flexible/listGET /sapi/v1/simple-earn/locked/listPOST /sapi/v1/simple-earn/flexible/subscribePOST /sapi/v1/simple-earn/locked/subscribePOST /sapi/v1/simple-earn/flexible/redeemPOST /sapi/v1/simple-earn/locked/redeemGET /sapi/v1/simple-earn/flexible/positionGET /sapi/v1/simple-earn/locked/positionGET /sapi/v1/simple-earn/accountGET /sapi/v1/simple-earn/flexible/history/subscriptionRecordGET /sapi/v1/simple-earn/locked/history/subscriptionRecordGET /sapi/v1/simple-earn/flexible/history/redemptionRecordGET /sapi/v1/simple-earn/locked/history/redemptionRecordGET /sapi/v1/simple-earn/flexible/history/rewardsRecordGET /sapi/v1/simple-earn/locked/history/rewardsRecordPOST /sapi/v1/simple-earn/flexible/setAutoSubscribePOST /sapi/v1/simple-earn/locked/setAutoSubscribeGET /sapi/v1/simple-earn/flexible/personalLeftQuotaGET /sapi/v1/simple-earn/locked/personalLeftQuotaGET /sapi/v1/simple-earn/flexible/subscriptionPreviewGET /sapi/v1/simple-earn/locked/subscriptionPreviewGET /sapi/v1/simple-earn/flexible/history/rateHistoryGET /sapi/v1/simple-earn/flexible/history/collateralRecord
Removed
GET /sapi/v1/sub-account/apiRestrictions/ipRestriction/thirdPartyList
v1.16.0 Release
Added
GET /sapi/v1/managed-subaccount/queryTransLogForInvestorGET /sapi/v1/managed-subaccount/queryTransLogForTradeParentGET /sapi/v1/managed-subaccount/fetch-future-assetGET /sapi/v1/managed-subaccount/marginAssetGET /sapi/v1/margin/crossMarginCollateralRatioGET /api/v3/myPreventedMatchesGET /sapi/v1/margin/exchange-small-liabilityGET /sapi/v1/margin/exchange-small-liability-historyGET /sapi/v4/sub-account/assetsGET /sapi/v1/margin/next-hourly-interest-rateGET /sapi/v1/portfolio/interest-historyGET /sapi/v1/managed-subaccount/infoGET /sapi/v1/sub-account/transaction-statisticsPOST /sapi/v1/algo/spot/newOrderTwapDELETE /sapi/v1/algo/spot/orderGET /sapi/v1/algo/spot/openOrdersGET /sapi/v1/algo/spot/historicalOrdersGET /sapi/v1/algo/spot/subOrdersGET /sapi/v1/managed-subaccount/deposit/addressGET /sapi/v1/portfolio/asset-index-pricePOST /sapi/v1/capital/deposit/credit-applyPOST /sapi/v1/portfolio/auto-collectionPOST /sapi/v1/portfolio/bnb-transferGET /sapi/v1/lending/auto-invest/target-asset/listGET /sapi/v1/lending/auto-invest/target-asset/roi/listGET /sapi/v1/lending/auto-invest/all/assetGET /sapi/v1/lending/auto-invest/source-asset/listPOST /sapi/v1/lending/auto-invest/plan/addPOST/sapi/v1/lending/auto-invest/plan/editPOST /sapi/v1/lending/auto-invest/plan/edit-statusGET /sapi/v1/lending/auto-invest/plan/listGET /sapi/v1/lending/auto-invest/plan/idGET /sapi/v1/lending/auto-invest/history/listPOST /sapi/v1/sub-account/eoptions/enableGET /sapi/v1/managed-subaccount/query-trans-logGET /sapi/v1/margin/dustPOST /sapi/v1/margin/dustPOST /sapi/v1/loan/vip/borrowGET /sapi/v1/loan/vip/loanable/dataGET /sapi/v1/loan/vip/collateral/dataGET /sapi/v1/loan/vip/request/dataPOST /sapi/v1/margin/max-leveragePOST /sapi/v1/portfolio/repay-futures-switchGET /sapi/v1/portfolio/repay-futures-switchPOST /sapi/v1/portfolio/repay-futures-negative-balancePOST /sapi/v1/loan/vip/renewPOST /sapi/v1/portfolio/asset-collectionPOST /sapi/v1/loan/flexible/borrowGET /sapi/v1/loan/flexible/ongoing/ordersGET /sapi/v1/loan/flexible/borrow/historyPOST /sapi/v1/loan/flexible/repayGET /sapi/v1/loan/flexible/repay/historyPOST /sapi/v1/loan/flexible/adjust/ltvGET /sapi/v1/loan/flexible/ltv/adjustment/historyGET /sapi/v1/loan/flexible/loanable/dataGET /sapi/v1/loan/flexible/collateral/data
Changed
- Add new fields
preventedMatchIdandpreventedQuantityto :GET /api/v3/orderGET /api/v3/openOrdersGET /api/v3/allOrders
- Add new optional parameter
selfTradePreventionModeto:POST /api/v3/orderPOST /api/v3/order/ocoPOST /api/v3/order/cancelReplace
- Add new optional parameter
cancelRestrictionsto:DELETE /api/v3/orderPOST /api/v3/order/cancelReplace
- Add
totalCollateralValueAfterHaircutandlockedCollateralValuetoGET /sapi/v1/loan/vip/ongoing/orders - Add
preventSoranduidtoGET /api/v3/account - Update security type from
MARKET_DATAtoNONEtoGET /api/v3/historicalTrades - Add
transactTimeto:DELETE /api/v3/orderPOST /api/v3/order/cancelReplaceDELETE /api/v3/openOrdersDELETE /api/v3/orderList
- Add
isFlexibleRatetoPOST /sapi/v1/loan/vip/borrow - Add
autoRepayAtCancelandselfTradePreventionModetoPOST /sapi/v1/margin/order - Add
selfTradePreventionModetoPOST /sapi/v1/margin/order/oco
Removed
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/union/accountGET /sapi/v1/lending/union/purchaseRecordGET /sapi/v1/lending/union/redemptionRecordGET /sapi/v1/lending/union/interestHistory
v1.15.0
Added
- New response fields
defaultSelfTradePreventionModeandallowedSelfTradePreventionModestoGET /api/v3/exchangeInfo. - New response field
selfTradePreventionModeto the following endpoints:POST /api/v3/orderPOST /api/v3/order/ocoPOST /api/v3/order/cancelReplaceGET /api/v3/orderDELETE /api/v3/orderDELETE /api/v3/orderList
- New response field
requireSelfTradePreventiontoGET /api/v3/account. - New response field
workingTimeto the following endpoints:POST /api/v3/orderGET /api/v3/orderPOST /api/v3/order/cancelReplacePOST /api/v3/order/ocoGET /api/v3/openOrdersGET /api/v3/allOrders
- New response field
commissionRatestoGET /api/v3/acccount.
Removed
- Discontinued endpoints
POST /sapi/v1/sub-account/subAccountApi/ipRestrictionandPOST /sapi/v1/sub-account/subAccountApi/ipRestriction/ipList.
Changed
- Replace
sufficientword (contains special character) withsufficient.