Skip to content

Releases: binance/binance-api-swagger

v1.22.0 Release

08 Oct 09:05
Compare
Choose a tag to compare

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 new POST /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

06 Jun 08:00
Compare
Choose a tag to compare

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 field expiredTime
  • POST /sapi/v1/giftcard/buyCode: add response field expiredTime

Loan

  • Updated POST /sapi/v1/loan/flexible/borrow to POST /sapi/v2/loan/flexible/borrow
  • Updated GET /sapi/v1/loan/flexible/loanable/data to GET /sapi/v2/loan/flexible/loanable/data
  • Updated GET /sapi/v1/loan/flexible/collateral/data to GET /sapi/v2/loan/flexible/collateral/data
  • Updated GET /sapi/v1/loan/flexible/ongoing/orders to GET /sapi/v2/loan/flexible/ongoing/orders
  • Updated POST /sapi/v1/loan/flexible/repay to POST /sapi/v2/loan/flexible/repay
  • Updated POST /sapi/v1/loan/flexible/adjust/ltv to POST /sapi/v2/loan/flexible/adjust/ltv
  • Updated GET /sapi/v1/loan/flexible/borrow/history to GET /sapi/v2/loan/flexible/borrow/history
  • Updated GET /sapi/v1/loan/flexible/repay/history to GET /sapi/v2/loan/flexible/repay/history
  • Updated GET /sapi/v1/loan/flexible/ltv/adjustment/history to GET /sapi/v2/loan/flexible/ltv/adjustment/history

Market

  • GET /api/v3/avgPrice: response has a new field closeTime
  • GET /api/v3/klines and GET /api/v3/uiKlines have a new optional parameter timeZone
  • GET /api/v3/exchangeInfo: add otoAllowed, cancelReplaceAllowed and permissionSets in response

Margin

  • GET /sapi/v1/margin/transfer: add parameter isolatedSymbol
  • GET /sapi/v1/margin/allAssets: add parameter asset
  • GET /sapi/v1/margin/allPairs: add parameter symbol
  • GET /sapi/v1/margin/isolated/allPairs: add parameter symbol

Trade

  • POST /api/v3/order/test and POST /api/v3/sor/order/test have a new optional parameter computeCommissionRates

Wallet

  • GET /sapi/v1/asset/dribblet: add parameter accountType
  • POST /sapi/v1/asset/dust-btc: add parameter accountType
  • POST /sapi/v1/asset/dust: add parameter accountType
  • GET /sapi/v1/capital/config/getall: remove response field resetAddressStatus

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

10 Dec 23:28
@2pd 2pd
d1b899f
Compare
Choose a tag to compare
  • Minor updates

v1.20.0 Release

27 Nov 06:00
@2pd 2pd
57f782f
Compare
Choose a tag to compare

Added

  • GET /sapi/v1/capital/deposit/address/list
  • GET /sapi/v1/margin/leverageBracket

v1.19.0 Release

15 Nov 07:19
cf8056f
Compare
Choose a tag to compare

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

28 Sep 01:05
@2pd 2pd
bc2d59b
Compare
Choose a tag to compare

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 field type
  • GET /sapi/v1/loan/vip/loanable/data add new response fields _flexibleDailyInterestRate, _flexibleYearlyInterestRate
  • GET /sapi/v1/loan/vip/ongoing/ordersadd new response fields loanDateloanRateloanTerm
  • POST /sapi/v1/portfolio/repay add paramater from

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

19 Sep 11:53
@2pd 2pd
1d6e0ab
Compare
Choose a tag to compare

Changed

  • Fixing typo

v1.17.0 Release

19 Sep 11:25
@2pd 2pd
23393fe
Compare
Choose a tag to compare

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

02 Sep 05:14
@2pd 2pd
af4bb4b
Compare
Choose a tag to compare

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 and preventedQuantity 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 and lockedCollateralValue to GET /sapi/v1/loan/vip/ongoing/orders
  • Add preventSor and uid to GET /api/v3/account
  • Update security type from MARKET_DATA to NONE to GET /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 to POST /sapi/v1/loan/vip/borrow
  • Add autoRepayAtCancel and selfTradePreventionMode to POST /sapi/v1/margin/order
  • Add selfTradePreventionMode to POST /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

26 Apr 10:06
816c8ef
Compare
Choose a tag to compare

Added

  • New response fields defaultSelfTradePreventionMode and allowedSelfTradePreventionModes to GET /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 to GET /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 to GET /api/v3/acccount.

Removed

  • Discontinued endpoints POST /sapi/v1/sub-account/subAccountApi/ipRestriction and POST /sapi/v1/sub-account/subAccountApi/ipRestriction/ipList.

Changed

  • Replace sufficient word (contains special character) with sufficient.