Releases: binance/binance-api-swagger
Releases · binance/binance-api-swagger
v1.22.0 Release
Added
Trade
POST /api/v3/orderList/oto
POST /api/v3/orderList/otoco
Margin Trading
POST /sapi/v1/margin/order/oto
POST /sapi/v1/margin/order/otoco
Simple Earn
POST /sapi/v1/simple-earn/locked/setRedeemOption
Copy Trading
GET /sapi/v1/copyTrading/futures/userStatus
GET /sapi/v1/copyTrading/futures/leadSymbol
Portfolio Margin
GET /sapi/v2/portfolio/collateralRate
Updated
Trade
POST /api/v3/order/oco
is deprecated. Update to the newPOST /api/v3/orderList/oco
endpoint.
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/subscribe
new parameter:redeemTo
GET /sapi/v1/simple-earn/locked/position
new fields in response:redeemTo
,parentPositionId
,rewardAmt
,extraRewardAsset
,extraRewardAPR
,estExtraRewardAmt
,nextPay
,nextPayDate
,payPeriod
,redeemAmountEarly
,rewardsEndDate
,deliverDate
,redeemPeriod
,redeemingAmt
,redeemTo
,partialAmtDeliverDate
,canRedeemEarly
,canFastRedemption
,autoSubscribe
,type
,status
,canReStake
GET /sapi/v1/simple-earn/flexible/history/subscriptionRecord
new fields in response:productId
GET /sapi/v1/simple-earn/locked/history/subscriptionRecord
new fields in response:projectId
GET /sapi/v1/simple-earn/locked/history/redemptionRecord
new fields in response:originalAmount
,lossAmount
,isComplete
,rewardAsset
,rewardAmt
,extraRewardAsset
,estExtraRewardAm
v1.21.0 Release
Added
GET /api/v3/account/commission
GET /api/v3/ticker/tradingDay
Convert
POST /sapi/v1/convert/limit/placeOrder
POST /sapi/v1/convert/limit/cancelOrder
GET /sapi/v1/convert/limit/queryOpenOrders
Dual Investment
GET /sapi/v1/dci/product/list
POST /sapi/v1/dci/product/subscribe
GET /sapi/v1/dci/product/positions
GET /sapi/v1/dci/product/accounts
POST /sapi/v1/dci/product/auto_compound/edit-status
Margin
POST /sapi/v1/margin/borrow-repay
GET /sapi/v1/margin/borrow-repay
GET /sapi/v1/spot/delist-schedule
Staking
POST /sapi/v2/eth-staking/eth/stake
POST /sapi/v1/eth-staking/eth/redeem
GET /sapi/v1/eth-staking/eth/history/stakingHistory
GET /sapi/v1/eth-staking/eth/history/redemptionHistory
GET /sapi/v1/eth-staking/eth/history/rewardsHistory
GET /sapi/v1/eth-staking/eth/quota
GET /sapi/v1/eth-staking/eth/history/rateHistory
GET /sapi/v2/eth-staking/account
POST /sapi/v1/eth-staking/wbeth/wrap
GET /sapi/v1/eth-staking/wbeth/history/wrapHistory
GET /sapi/v1/eth-staking/wbeth/history/unwrapHistory
GET /sapi/v1/eth-staking/eth/history/wbethRewardsHistory
Wallet
GET /sapi/v1/capital/withdraw/address/list
GET /sapi/v1/account/info
Changed
Gift Card
POST /sapi/v1/giftcard/createCode
: add response fieldexpiredTime
POST /sapi/v1/giftcard/buyCode
: add response fieldexpiredTime
Loan
- Updated
POST /sapi/v1/loan/flexible/borrow
toPOST /sapi/v2/loan/flexible/borrow
- Updated
GET /sapi/v1/loan/flexible/loanable/data
toGET /sapi/v2/loan/flexible/loanable/data
- Updated
GET /sapi/v1/loan/flexible/collateral/data
toGET /sapi/v2/loan/flexible/collateral/data
- Updated
GET /sapi/v1/loan/flexible/ongoing/orders
toGET /sapi/v2/loan/flexible/ongoing/orders
- Updated
POST /sapi/v1/loan/flexible/repay
toPOST /sapi/v2/loan/flexible/repay
- Updated
POST /sapi/v1/loan/flexible/adjust/ltv
toPOST /sapi/v2/loan/flexible/adjust/ltv
- Updated
GET /sapi/v1/loan/flexible/borrow/history
toGET /sapi/v2/loan/flexible/borrow/history
- Updated
GET /sapi/v1/loan/flexible/repay/history
toGET /sapi/v2/loan/flexible/repay/history
- Updated
GET /sapi/v1/loan/flexible/ltv/adjustment/history
toGET /sapi/v2/loan/flexible/ltv/adjustment/history
Market
GET /api/v3/avgPrice
: response has a new fieldcloseTime
GET /api/v3/klines
andGET /api/v3/uiKlines
have a new optional parametertimeZone
GET /api/v3/exchangeInfo
: addotoAllowed
,cancelReplaceAllowed
andpermissionSets
in response
Margin
GET /sapi/v1/margin/transfer
: add parameterisolatedSymbol
GET /sapi/v1/margin/allAssets
: add parameterasset
GET /sapi/v1/margin/allPairs
: add parametersymbol
GET /sapi/v1/margin/isolated/allPairs
: add parametersymbol
Trade
POST /api/v3/order/test
and POST/api/v3/sor/order/test
have a new optional parametercomputeCommissionRates
Wallet
GET /sapi/v1/asset/dribblet
: add parameteraccountType
POST /sapi/v1/asset/dust-btc
: add parameteraccountType
POST /sapi/v1/asset/dust
: add parameteraccountType
GET /sapi/v1/capital/config/getall
: remove response fieldresetAddressStatus
Deleted
Bswap
GET /sapi/v1/bswap/pools
GET /sapi/v1/bswap/liquidity
POST /sapi/v1/bswap/liquidityAdd
POST /sapi/v1/bswap/liquidityRemove
GET /sapi/v1/bswap/liquidityOps
GET /sapi/v1/bswap/quote
POST /sapi/v1/bswap/swap
GET /sapi/v1/bswap/swap
GET /sapi/v1/bswap/poolConfigure
GET /sapi/v1/bswap/addLiquidityPreview
GET /sapi/v1/bswap/removeLiquidityPreview
GET /sapi/v1/bswap/unclaimedRewards
POST /sapi/v1/bswap/claimRewards
GET /sapi/v1/bswap/claimedHistory
Margin
POST /sapi/v1/margin/transfer
POST /sapi/v1/margin/isolated/transfer
POST /sapi/v1/margin/loan
POST /sapi/v1/margin/repay
GET /sapi/v1/margin/isolated/transfer
GET /sapi/v1/margin/asset
GET /sapi/v1/margin/pair
GET /sapi/v1/margin/isolated/pair
GET /sapi/v1/margin/loan
GET /sapi/v1/margin/repay
GET /sapi/v1/margin/dribblet
GET /sapi/v1/margin/dust
POST /sapi/v1/margin/dust
Staking
GET /sapi/v1/staking/productList
POST /sapi/v1/staking/purchase
POST /sapi/v1/staking/redeem
GET /sapi/v1/staking/position
GET /sapi/v1/staking/stakingRecord
POST /sapi/v1/staking/setAutoStaking
GET /sapi/v1/staking/personalLeftQuota
v1.20.1 Release
- Minor updates
v1.20.0 Release
Added
GET /sapi/v1/capital/deposit/address/list
GET /sapi/v1/margin/leverageBracket
v1.19.0 Release
Added
GET /sapi/v1/loan/vip/request/interestRate
GET /sapi/v1/margin/capital-flow
GET /sapi/v1/margin/delist-schedule
GET /sapi/v1/margin/available-inventory
POST /sapi/v1/margin/manual-liquidation
GET /sapi/v1/portfolio/margin-asset-leverage
GET /sapi/v1/loan/vip/collateral/data
GET /api/v3/myAllocations
POST /api/v3/sor/order
POST /api/v3/sor/order/test
Changed
GET /api/v3/trades
GET /api/v3/depth
GET /sapi/v1/account/apiRestrictions
GET /sapi/v1/loan/vip/request/data
POST /api/v3/userDataStream
PUT /api/v3/userDataStream
DELETE /api/v3/userDataStream
GET /sapi/v1/capital/withdraw/history
POST /sapi/v1/margin/max-leverage
GET /api/v3/openOrderList
GET /api/v3/rateLimit/order
GET /api/v3/myTrades
GET /api/v3/account
GET /api/v3/allOrderList
GET /api/v3/orderList
GET /api/v3/openOrders
GET /api/v3/order
GET /api/v3/ticker
GET /api/v3/ticker/bookTicker
GET /api/v3/ticker/price
GET /api/v3/ticker/24hr
GET /api/v3/avgPrice
GET /api/v3/uiKlines
GET /api/v3/klines
GET /api/v3/aggTrades
GET /api/v3/historicalTrades
GET /api/v3/allOrders
v1.18.0 Release
Added
GET /sapi/v1/lending/auto-invest/index/info
GET /sapi/v1/lending/auto-invest/index/user-summary
POST /sapi/v1/lending/auto-invest/one-off
GET /sapi/v1/lending/auto-invest/one-off/status
POST /sapi/v1/lending/auto-invest/redeem
GET /sapi/v1/lending/auto-invest/redeem/history
GET /sapi/v1/lending/auto-invest/rebalance/history
GET /sapi/v1/asset/wallet/balance
GET /sapi/v1/asset/custody/transfer-history
GET /sapi/v1/futures/histDataLink
Changed
GET /sapi/v1/margin/isolated/transfer
add fieldtype
GET /sapi/v1/loan/vip/loanable/data
add new response fields_flexibleDailyInterestRate
,_flexibleYearlyInterestRate
GET /sapi/v1/loan/vip/ongoing/orders
add new response fieldsloanDate
,loanRate
,loanTerm
POST /sapi/v1/portfolio/repay
add paramaterfrom
Deleted
GET /sapi/v1/futures/loan/borrow/history
GET /sapi/v1/futures/loan/repay/history
GET /sapi/v2/futures/loan/wallet
GET /sapi/v1/futures/loan/adjustCollateral/history
GET /sapi/v1/futures/loan/liquidationHistory
GET /sapi/v1/futures/loan/interestHistory
v1.17.1 Release
Changed
- Fixing typo
v1.17.0 Release
Added
GET /sapi/v1/simple-earn/flexible/list
GET /sapi/v1/simple-earn/locked/list
POST /sapi/v1/simple-earn/flexible/subscribe
POST /sapi/v1/simple-earn/locked/subscribe
POST /sapi/v1/simple-earn/flexible/redeem
POST /sapi/v1/simple-earn/locked/redeem
GET /sapi/v1/simple-earn/flexible/position
GET /sapi/v1/simple-earn/locked/position
GET /sapi/v1/simple-earn/account
GET /sapi/v1/simple-earn/flexible/history/subscriptionRecord
GET /sapi/v1/simple-earn/locked/history/subscriptionRecord
GET /sapi/v1/simple-earn/flexible/history/redemptionRecord
GET /sapi/v1/simple-earn/locked/history/redemptionRecord
GET /sapi/v1/simple-earn/flexible/history/rewardsRecord
GET /sapi/v1/simple-earn/locked/history/rewardsRecord
POST /sapi/v1/simple-earn/flexible/setAutoSubscribe
POST /sapi/v1/simple-earn/locked/setAutoSubscribe
GET /sapi/v1/simple-earn/flexible/personalLeftQuota
GET /sapi/v1/simple-earn/locked/personalLeftQuota
GET /sapi/v1/simple-earn/flexible/subscriptionPreview
GET /sapi/v1/simple-earn/locked/subscriptionPreview
GET /sapi/v1/simple-earn/flexible/history/rateHistory
GET /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/queryTransLogForInvestor
GET /sapi/v1/managed-subaccount/queryTransLogForTradeParent
GET /sapi/v1/managed-subaccount/fetch-future-asset
GET /sapi/v1/managed-subaccount/marginAsset
GET /sapi/v1/margin/crossMarginCollateralRatio
GET /api/v3/myPreventedMatches
GET /sapi/v1/margin/exchange-small-liability
GET /sapi/v1/margin/exchange-small-liability-history
GET /sapi/v4/sub-account/assets
GET /sapi/v1/margin/next-hourly-interest-rate
GET /sapi/v1/portfolio/interest-history
GET /sapi/v1/managed-subaccount/info
GET /sapi/v1/sub-account/transaction-statistics
POST /sapi/v1/algo/spot/newOrderTwap
DELETE /sapi/v1/algo/spot/order
GET /sapi/v1/algo/spot/openOrders
GET /sapi/v1/algo/spot/historicalOrders
GET /sapi/v1/algo/spot/subOrders
GET /sapi/v1/managed-subaccount/deposit/address
GET /sapi/v1/portfolio/asset-index-price
POST /sapi/v1/capital/deposit/credit-apply
POST /sapi/v1/portfolio/auto-collection
POST /sapi/v1/portfolio/bnb-transfer
GET /sapi/v1/lending/auto-invest/target-asset/list
GET /sapi/v1/lending/auto-invest/target-asset/roi/list
GET /sapi/v1/lending/auto-invest/all/asset
GET /sapi/v1/lending/auto-invest/source-asset/list
POST /sapi/v1/lending/auto-invest/plan/add
POST/sapi/v1/lending/auto-invest/plan/edit
POST /sapi/v1/lending/auto-invest/plan/edit-status
GET /sapi/v1/lending/auto-invest/plan/list
GET /sapi/v1/lending/auto-invest/plan/id
GET /sapi/v1/lending/auto-invest/history/list
POST /sapi/v1/sub-account/eoptions/enable
GET /sapi/v1/managed-subaccount/query-trans-log
GET /sapi/v1/margin/dust
POST /sapi/v1/margin/dust
POST /sapi/v1/loan/vip/borrow
GET /sapi/v1/loan/vip/loanable/data
GET /sapi/v1/loan/vip/collateral/data
GET /sapi/v1/loan/vip/request/data
POST /sapi/v1/margin/max-leverage
POST /sapi/v1/portfolio/repay-futures-switch
GET /sapi/v1/portfolio/repay-futures-switch
POST /sapi/v1/portfolio/repay-futures-negative-balance
POST /sapi/v1/loan/vip/renew
POST /sapi/v1/portfolio/asset-collection
POST /sapi/v1/loan/flexible/borrow
GET /sapi/v1/loan/flexible/ongoing/orders
GET /sapi/v1/loan/flexible/borrow/history
POST /sapi/v1/loan/flexible/repay
GET /sapi/v1/loan/flexible/repay/history
POST /sapi/v1/loan/flexible/adjust/ltv
GET /sapi/v1/loan/flexible/ltv/adjustment/history
GET /sapi/v1/loan/flexible/loanable/data
GET /sapi/v1/loan/flexible/collateral/data
Changed
- Add new fields
preventedMatchId
andpreventedQuantity
to :GET /api/v3/order
GET /api/v3/openOrders
GET /api/v3/allOrders
- Add new optional parameter
selfTradePreventionMode
to:POST /api/v3/order
POST /api/v3/order/oco
POST /api/v3/order/cancelReplace
- Add new optional parameter
cancelRestrictions
to:DELETE /api/v3/order
POST /api/v3/order/cancelReplace
- Add
totalCollateralValueAfterHaircut
andlockedCollateralValue
toGET /sapi/v1/loan/vip/ongoing/orders
- Add
preventSor
anduid
toGET /api/v3/account
- Update security type from
MARKET_DATA
toNONE
toGET /api/v3/historicalTrades
- Add
transactTime
to:DELETE /api/v3/order
POST /api/v3/order/cancelReplace
DELETE /api/v3/openOrders
DELETE /api/v3/orderList
- Add
isFlexibleRate
toPOST /sapi/v1/loan/vip/borrow
- Add
autoRepayAtCancel
andselfTradePreventionMode
toPOST /sapi/v1/margin/order
- Add
selfTradePreventionMode
toPOST /sapi/v1/margin/order/oco
Removed
GET /sapi/v1/lending/daily/product/list
GET /sapi/v1/lending/daily/userLeftQuota
POST /sapi/v1/lending/daily/purchase
GET /sapi/v1/lending/daily/userRedemptionQuota
POST /sapi/v1/lending/daily/redeem
GET /sapi/v1/lending/daily/token/position
GET /sapi/v1/lending/union/account
GET /sapi/v1/lending/union/purchaseRecord
GET /sapi/v1/lending/union/redemptionRecord
GET /sapi/v1/lending/union/interestHistory
v1.15.0
Added
- New response fields
defaultSelfTradePreventionMode
andallowedSelfTradePreventionModes
toGET /api/v3/exchangeInfo
. - New response field
selfTradePreventionMode
to the following endpoints:POST /api/v3/order
POST /api/v3/order/oco
POST /api/v3/order/cancelReplace
GET /api/v3/order
DELETE /api/v3/order
DELETE /api/v3/orderList
- New response field
requireSelfTradePrevention
toGET /api/v3/account
. - New response field
workingTime
to the following endpoints:POST /api/v3/order
GET /api/v3/order
POST /api/v3/order/cancelReplace
POST /api/v3/order/oco
GET /api/v3/openOrders
GET /api/v3/allOrders
- New response field
commissionRates
toGET /api/v3/acccount
.
Removed
- Discontinued endpoints
POST /sapi/v1/sub-account/subAccountApi/ipRestriction
andPOST /sapi/v1/sub-account/subAccountApi/ipRestriction/ipList
.
Changed
- Replace
sufficient
word (contains special character) withsufficient
.