Skip to content

Releases: binance/binance-api-swagger

v1.14.0 Release

23 Dec 04:40
caa308b
Compare
Choose a tag to compare

Added

VIP Loans:

  • GET /sapi/v1/loan/vip/collateral/account: Check Locked Value of VIP Collateral Account
  • GET /sapi/v1/loan/vip/ongoing/orders: Get VIP Loan Ongoing Orders
  • POST /sapi/v1/loan/vip/repay: VIP Loan Repay
  • GET /sapi/v1/loan/vip/repay/history: Get VIP Loan Repayment History

Crypto Loan:

  • GET /sapi/v1/loan/loanable/data: Get interest rate and borrow limit of loanable assets. The borrow limit is shown in USD value.
  • GET /sapi/v1/loan/collateral/data: Get LTV information and collateral limit of collateral assets. The collateral limit is shown in USD value.
  • GET /sapi/v1/loan/repay/collateral/rate: Get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 second.
  • POST /sapi/v1/loan/customize/margin_call: Customize margin call for ongoing orders only.

Convert:

  • GET /sapi/v1/convert/exchangeInfo: Query for all convertible token pairs and the tokens’ respective upper/lower limits
  • GET /sapi/v1/convert/assetInfo: Query for supported asset’s precision information
  • POST /sapi/v1/convert/getQuote: Request a quote for the requested token pairs
  • POST /sapi/v1/convert/acceptQuote: Accept the offered quote by quote ID.
  • GET /sapi/v1/convert/orderStatus: Query order status by order ID.

Wallet:

  • GET /sapi/v1/asset/ledger-transfer/cloud-mining/queryByPage: The query of Cloud-Mining payment and refund history

Sub-account:

  • GET /sapi/v1/sub-account/apiRestrictions/ipRestriction/thirdPartyList: To query Sub-Account API key Third Party IP whitelist
  • POST /sapi/v2/sub-account/subAccountApi/ipRestriction: To support master account update IP Restriction for Sub-Account API key

Binance Code:

  • POST /sapi/v1/giftcard/buyCode: For buying a fixed-value Binance Code.
  • GET /sapi/v1/giftcard/buyCode/token-limit: To verify which tokens are available for you to purchase fixed-value gift cards as mentioned in section 2 and its’ limitation.

v1.13.1 Release

23 Nov 01:04
@2pd 2pd
0727829
Compare
Choose a tag to compare
  • Upgrade Swagger UI

v1.13.0

13 Oct 06:19
7b3717c
Compare
Choose a tag to compare

Added

  • New endpoints for Futures:
    • POST /sapi/v1/futures/transfer
    • GET /sapi/v1/futures/transfer
    • 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
  • New endpoints for Futures Algo:
    • POST /sapi/v1/algo/futures/newOrderVp
    • POST /sapi/v1/algo/futures/newOrderTwap
    • DELETE /sapi/v1/algo/futures/order
    • GET /sapi/v1/algo/futures/openOrders
    • GET /sapi/v1/algo/futures/historicalOrders
    • GET /sapi/v1/algo/futures/subOrders
  • New endpoint for Margin:
    • GET /sapi/v1/margin/tradeCoeff: Get personal margin level information
  • New endpoints for Wallet:
    • POST /sapi/v1/asset/convert-transfer: Convert transfer, convert between BUSD and stablecoins.
    • POST /sapi/v1/asset/convert-transfer/queryByPage: Query convert transfer
  • New endpoints for Crypto Loan
    • POST /sapi/v1/loan/borrow: Borrow - Crypto Loan Borrow
    • GET /sapi/v1/loan/borrow/history: Borrow - Get Loan Borrow History
    • GET /sapi/v1/loan/ongoing/orders: Borrow - Get Loan Ongoing Orders
    • POST /sapi/v1/loan/repay: Repay - Crypto Loan Repay
    • GET /sapi/v1/loan/repay/history: Repay - Get Loan Repayment History
    • POST /sapi/v1/loan/adjust/ltv: Adjust LTV - Crypto Loan Adjust LTV
    • GET /sapi/v1/loan/ltv/adjustment/history: Adjust LTV - Get Loan LTV Adjustment History

Changed

  • 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"].
  • Update endpoint for Sub-Account:
    • POST /sapi/v1/sub-account/subAccountApi/ipRestriction: Add new param thirdParty
    • POST /sapi/v1/sub-account/subAccountApi/ipRestriction/ipList: Add new param thirdPartyName
    • DELETE /sapi/v1/sub-account/subAccountApi/ipRestriction/ipList: Add new param thirdPartyName

v1.12.0 Release

29 Aug 04:37
286e8b0
Compare
Choose a tag to compare

Added

  • New endpoint for Market:

    • GET /api/v3/uiKlines
  • New kline interval: 1s

  • New field brokered has been added to GET /api/v3/account

Changed

  • Changes to GET /api/v3/ticker and GET /api/v3/ticker/24hr
    • New optional parameter type added
    • Supported values for parameter type are FULL and MINI
      • FULL is the default value and the response that is currently being returned from the endpoint
      • MINI omits the following fields from the response: priceChangePercent, weightedAvgPrice, bidPrice, bidQty, askPrice, askQty, and lastQty

v1.11.0 Release

15 Aug 08:14
@2pd 2pd
e1f0c4b
Compare
Choose a tag to compare

Added

New endpoint for Portfolio Margin:

  • GET /sapi/v1/portfolio/pmLoan to query Portfolio Margin Bankruptcy Loan Record.
  • POST /sapi/v1/portfolio/repay to repay Portfolio Margin Bankruptcy Loan.
  • GET /sapi/v1/portfolio/collateralRate to get Portfolio Margin Collateral Rate.

Changed

Changed endpoints for Trade:

  • POST /api/v3/order/test New optional fields strategyId and strategyType.
  • POST /api/v3/order New optional fields strategyId and strategyType.
  • POST /api/v3/order/cancelReplace New optional fields strategyId and strategyType.
  • POST /api/v3/order/oco New optional fields limitStrategyId, limitStrategyType, stopStrategyId and stopStrategyType.

v1.10.0

19 Jul 12:45
a614de7
Compare
Choose a tag to compare

New endpoint for Market:

  • GET /api/v3/ticker for rolling window price change statistics based on windowSize provided.

New endpoint for Trade:

  • POST /api/v3/order/cancelReplace to cancel an existing order and place a new order on the same symbol.

Update endpoint for Fiat:

  • GET /sapi/v1/fiat/orders: Weight changes from IP(1) to UID(90000)

Update endpoint for Pay:

  • GET /sapi/v1/pay/transactions: Param names changed: startTimestamp -> startTime; endTimestamp -> endTime.

New endpoint for Margin:

  • POST /sapi/v3/asset/getUserAsset to get user assets.

New endpoint for Wallet:

  • GET /sapi/v1/margin/dribblet to query the historical information of user's margin account small-value asset conversion BNB.

Update endpoint for Convert:

  • GET /sapi/v1/fiat/orders: Weight changes from IP(3000) to IP(100)

v1.9.0

23 May 11:57
71db659
Compare
Choose a tag to compare

New endpoint for Gift Card:

  • GET /sapi/v1/giftcard/cryptography/rsa-public-key to fetch RSA public key.

Update endpoint for Gift Card:

  • 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.

New endpoints for Staking:

  • GET /sapi/v1/staking/productList to get Staking product list
  • POST /sapi/v1/staking/purchase to stake product
  • POST /sapi/v1/staking/redeem to redeem product
  • GET /sapi/v1/staking/position to get Staking product holding position
  • GET /sapi/v1/staking/stakingRecord to inquiry Staking history records
  • POST /sapi/v1/staking/setAutoStaking to set Auto Staking function
  • GET /sapi/v1/staking/personalLeftQuota to inquiry Staking left quota

New endpoint for Portfolio Margin:

  • GET /sapi/v1/portfolio/account to support query portfolio margin account info.

New endpoint for Margin:

  • GET /sapi/v1/margin/rateLimit/order to display the user's current margin order count usage for all intervals.

Update endpoints for Market:

  • GET /api/v3/ticker/24hr, GET /api/v3/ticker/price and GET /api/v3/ticker/bookTicker new optional parameter symbols.

v1.8.0

25 Apr 16:50
7327281
Compare
Choose a tag to compare

1.8.0 - 2022-04-25

Added

  • GET /sapi/v1/managed-subaccount/accountSnapshot - New endpoint to support investor master account query asset snapshot of managed sub-account.
  • POST /sapi/v1/sub-account/universalTransfer - New transfer types MARGIN, ISOLATED_MARGIN and parameter symbol
  • POST /api/v3/order - New optional field trailingDelta
  • POST /api/v3/order/test - New optional field trailingDelta
  • POST /api/v3/order/oco - New optional field trailingDelta

Changed

  • GET /sapi/v1/sub-account/universalTransfer - The query time period must be less then 30 days; If startTime and endTime not sent, return records of the last 30 days by default.
  • GET /sapi/v1/capital/withdraw/history - confirmNo and info are now optional.

v1.7.0

04 Mar 15:39
8c65b15
Compare
Choose a tag to compare

1.7.0 - 2022-03-04

Added

  • Parameter type to POST /sapi/v1/bswap/liquidityAdd
  • Response field allowTrailingStop to GET /api/v3/exchangeInfo
  • Response fields isManagedSubAccount and isAssetManagementSubAccount to GET /sapi/v1/sub-account/list

Changed

  • Corrected multiple parameters from different endpoints to be in sync with the API Doc
  • Updated parameter limit from GET api/v3/depth to englobe its new functionality

v1.6.0

17 Feb 12:30
22ade77
Compare
Choose a tag to compare

1.6.0 - 2022-02-17

Added

  • New endpoints for Binance Gift Card:
    • 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 POST /sapi/v1/asset/dust-btc to get assets that can be converted into BNB.

Changed

  • Added missing field network to /sapi/v1/capital/config/getall 200 response
  • Correct from POST /sapi/v1/bswap/unclaimedRewards to POST /sapi/v1/bswap/claimRewards
  • Correct GET /sapi/v1/asset/assetDividend parameter limit
  • Correct POST /sapi/v1/asset/dust parameter asset
  • Update description of ENUM parameters to follow same format for values explanation
  • Update query limits of GET /sapi/v1/accountSnapshot