Skip to content

v1.12.0 Release

Compare
Choose a tag to compare
@alplabin alplabin released this 08 Aug 02:42
· 8 commits to master since this release
2a453b7

Spot API Collection

Added

Spot Algo

  • POST /sapi/v1/algo/spot/newOrderTwap: Place a new spot TWAP order with Algo service.
  • DELETE /sapi/v1/algo/spot/order: Cancel an open TWAP order.
  • GET /sapi/v1/algo/spot/openOrders: Get all open SPOT TWAP orders.
  • GET /sapi/v1/algo/spot/historicalOrders: Get all historical SPOT TWAP orders.
  • GET /sapi/v1/algo/spot/subOrders: Get respective sub orders for a specified algoId.

Sub-Account

  • GET /sapi/v1/managed-subaccount/deposit/address: Get investor's managed sub-account deposit address.
  • GET /sapi/v1/managed-subaccount/query-trans-log: Query Managed Sub Account Transfer Log (For Trading Team Sub Account).
  • GET /sapi/v1/managed-subaccount/queryTransLogForInvestor: Investor can use this api to query managed sub account transfer log. This endpoint is available for investor of Managed Sub-Account. A Managed Sub-Account is an account type for investors who value flexibility in asset allocation and account application, while delegating trades to a professional trading team.
  • GET /sapi/v1/managed-subaccount/queryTransLogForTradeParent: Trading team can use this api to query managed sub account transfer log.
  • GET /sapi/v1/managed-subaccount/fetch-future-asset: Investor can use this api to query managed sub account futures asset details.
  • GET /sapi/v1/managed-subaccount/marginAsset: Investor can use this api to query managed sub account margin asset details.
  • GET /sapi/v1/managed-subaccount/info: Get investor's managed sub-account list.
  • POST /sapi/v1/sub-account/eoptions/enable: Enable Options for Sub-account (For Master Account).
  • GET /sapi/v4/sub-account/assets: Fetch sub-account assets
  • GET /sapi/v1/sub-account/transaction-statistics: Query Sub-account Transaction statistics (For Master Account).

Portfolio

  • GET /sapi/v1/portfolio/asset-index-price: Query Portfolio Margin Asset Index Price.
  • GET /sapi/v1/portfolio/repay-futures-switch: Change Auto-repay-futures Status.
  • POST /sapi/v1/portfolio/auto-collection: Transfers all assets from Futures Account to Margin account.
  • POST /sapi/v1/portfolio/bnb-transfer: BNB transfer can be between Margin Account and USDM Account.
  • POST /sapi/v1/portfolio/repay-futures-switch: Change Auto-repay-futures Status.
  • POST /sapi/v1/portfolio/repay-futures-negative-balance: Repay futures Negative Balance.
  • POST /sapi/v1/portfolio/asset-collection: Transfers specific asset from Futures Account to Margin account.
  • GET /sapi/v1/portfolio/interest-history: Query interest history of negative balance for portfolio margin.

Wallet

  • POST /sapi/v1/capital/deposit/credit-apply: Apply deposit credit for expired address (One click arrival).
  • GET /sapi/v1/capital/contract/convertible-coins: Get a user's auto-conversion settings in deposit/withdrawal.
  • POST /sapi/v1/capital/contract/convertible-coins: User can use it to turn on or turn off the BUSD auto-conversion from/to a specific stable coin.

Simple Earn

  • GET /sapi/v1/simple-earn/flexible/list: Get available Simple Earn flexible product list.
  • GET /sapi/v1/simple-earn/locked/list: Get available Simple Earn locked product list.
  • POST /sapi/v1/simple-earn/flexible/subscribe: Subscribe flexibe product.
  • POST /sapi/v1/simple-earn/locked/subscribe: Subscribe locked product.
  • POST /sapi/v1/simple-earn/flexible/redeem: Redeem flexible product.
  • POST /sapi/v1/simple-earn/locked/redeem: Redeem locked product.
  • GET /sapi/v1/simple-earn/flexible/position: Get flexible product position.
  • GET /sapi/v1/simple-earn/locked/position: Get locked product position.
  • GET /sapi/v1/simple-earn/account: Get account details.
  • GET /sapi/v1/simple-earn/flexible/history/subscriptionRecord: Get flexible subscription record.
  • GET /sapi/v1/simple-earn/locked/history/subscriptionRecord: Get locked subscription record.
  • GET /sapi/v1/simple-earn/flexible/history/redemptionRecord: Get flexible redemption record.
  • GET /sapi/v1/simple-earn/locked/history/redemptionRecord: Get locked redemption record.
  • GET /sapi/v1/simple-earn/flexible/history/rewardsRecord: Get flexible rewards history.
  • GET /sapi/v1/simple-earn/locked/history/rewardsRecord: Get locked rewards history.
  • POST /sapi/v1/simple-earn/flexible/setAutoSubscribe: Set flexible auto subscribe.
  • POST /sapi/v1/simple-earn/locked/setAutoSubscribe: Set locked auto subscribe.
  • GET /sapi/v1/simple-earn/flexible/personalLeftQuota: Get flexible personal left quota.
  • GET /sapi/v1/simple-earn/locked/personalLeftQuota: Get locked personal left quota.
  • GET /sapi/v1/simple-earn/flexible/subscriptionPreview: Get flexible subscription preview.
  • GET /sapi/v1/simple-earn/locked/subscriptionPreview: Get locked subscription preview.
  • GET /sapi/v1/simple-earn/flexible/history/rateHistory: Get rate history.
  • GET /sapi/v1/simple-earn/flexible/history/collateralRecord: Get collateral record.

Auto-Investment

  • GET /sapi/v1/lending/auto-invest/target-asset/list: Get target asset list.
  • GET /sapi/v1/lending/auto-invest/target-asset/roi/list: ROI return list for target asset.
  • GET /sapi/v1/lending/auto-invest/all/asset: Query all source assets and target assets.
  • GET /sapi/v1/lending/auto-invest/source-asset/list: Query Source Asset to be used for investment.
  • GET /sapi/v1/lending/auto-invest/plan/list: Query plan lists.
  • GET /sapi/v1/lending/auto-invest/plan/id: Query holding details of the plan
  • GET /sapi/v1/lending/auto-invest/history/list: Query subscription transaction history of a plan
  • POST /sapi/v1/lending/auto-invest/plan/add: Post an investment plan creation.
  • POST /sapi/v1/lending/auto-invest/plan/edit: Query Source Asset to be used for investment.
  • POST /sapi/v1/lending/auto-invest/plan/edit-status: Change Plan Status.

Margin

  • GET /sapi/v1/margin/dust: Get assets that can be converted into BNB.
  • POST /sapi/v1/margin/dust: Convert dust assets to BNB.
  • GET /sapi/v1/margin/crossMarginCollateralRatio: Get cross margin account details.
  • GET /sapi/v1/margin/exchange-small-liability: Query the coins which can be small liability exchange.
  • POST /sapi/v1/margin/exchange-small-liability: Cross Margin Small Liability Exchange.
  • GET /sapi/v1/margin/exchange-small-liability-history: Get Small liability Exchange History.
  • GET /sapi/v1/margin/next-hourly-interest-rate: Get user the next hourly estimate interest.
  • GET /sapi/v1/margin/delist-schedule: Get tokens or symbols delist schedule for cross margin and isolated margin.
  • POST /sapi/v1/margin/max-leverage: Adjust cross margin max leverage

VIP loan

  • POST /sapi/v1/loan/vip/renew: VIP loan is available for VIP users only.
  • POST /sapi/v1/loan/vip/borrow: VIP loan is available for VIP users only.
  • GET /sapi/v1/loan/vip/loanable/data: Get interest rate and borrow limit of loanable assets. The borrow limit is shown in USD value.
  • GET /sapi/v1/loan/vip/collateral/data: Get Collateral Asset Data.
  • GET /sapi/v1/loan/vip/request/data: Query the application status.

Fixed

Margin

  • POST /sapi/v1/margin/order: Add fields autoRepayAtCancel and selfTradePreventionMode
  • POST /sapi/v1/margin/order/oco: Add fields autoRepayAtCancel and selfTradePreventionMode

Deleted

Lending

  • GET /sapi/v1/lending/daily/product/list
  • GET /sapi/v1/lending/daily/userLeftQuota
  • GET /sapi/v1/lending/daily/userRedemptionQuota
  • 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
  • POST /sapi/v1/lending/daily/redeem
  • POST /sapi/v1/lending/daily/purchase

Sub-Account

  • POST /sapi/v1/sub-account/subAccountApi/ipRestriction
  • POST /sapi/v1/sub-account/subAccountApi/ipRestriction/ipList

USDⓈ-Margined Futures Collection

Added

  • PUT /fapi/v1/order: Order modify function, currently only LIMIT order modification is supported, modified orders will be reordered in the match queue.
  • PUT /fapi/v1/batchOrders: Modify Multiple Orders.
  • GET /fapi/v1/orderAmendment: Get order modification history.
  • GET /fapi/v1/order/asyn: Get download id for futures order history.
  • GET /fapi/v1/order/asyn/id: Get futures order history download link by id.
  • GET /fapi/v1/trade/asyn: Get download id for futures trade history.
  • GET /fapi/v1/trade/asyn/id: Get futures trade download link by id.

Deleted

  • GET /fapi/v1/pmExchangeInfo

European Options Collection

Added

  • GET /eapi/v1/order: Check an order status.
  • GET /eapi/v1/income/asyn/id: Get option transaction history download link by id.
  • GET /eapi/v1/income/asyn: Get download id for option transaction history.

Deleted

  • POST /eapi/v1/transfer