Skip to content

Latest commit

 

History

History
150 lines (75 loc) · 20.9 KB

example_rest.md

File metadata and controls

150 lines (75 loc) · 20.9 KB

Account

/sapi/v1/margin/max-leverage - adjustCrossMarginMaxLeverage - AdjustCrossMarginMaxLeverageExample.php:16

/sapi/v1/margin/isolated/account - disableIsolatedMarginAccount - DisableIsolatedMarginAccountExample.php:15

/sapi/v1/margin/isolated/account - enableIsolatedMarginAccount - EnableIsolatedMarginAccountExample.php:16

/sapi/v1/bnbBurn - getBnbBurnStatus - GetBnbBurnStatusExample.php:14

/sapi/v1/margin/tradeCoeff - getSummaryOfMarginAccount - GetSummaryOfMarginAccountExample.php:14

/sapi/v1/margin/capital-flow - queryCrossIsolatedMarginCapitalFlow - QueryCrossIsolatedMarginCapitalFlowExample.php:22

/sapi/v1/margin/account - queryCrossMarginAccountDetails - QueryCrossMarginAccountDetailsExample.php:14

/sapi/v1/margin/crossMarginData - queryCrossMarginFeeData - QueryCrossMarginFeeDataExample.php:16

/sapi/v1/margin/isolated/accountLimit - queryEnabledIsolatedMarginAccountLimit - QueryEnabledIsolatedMarginAccountLimitExample.php:14

/sapi/v1/margin/isolated/account - queryIsolatedMarginAccountInfo - QueryIsolatedMarginAccountInfoExample.php:15

/sapi/v1/margin/isolatedMarginData - queryIsolatedMarginFeeData - QueryIsolatedMarginFeeDataExample.php:16

BorrowRepay

/sapi/v1/margin/next-hourly-interest-rate - getFutureHourlyInterestRate - GetFutureHourlyInterestRateExample.php:16

/sapi/v1/margin/interestHistory - getInterestHistory - GetInterestHistoryExample.php:20

/sapi/v1/margin/borrow-repay - marginAccountBorrowRepay - MarginAccountBorrowRepayExample.php:21

/sapi/v1/margin/borrow-repay - queryBorrowRepayRecordsInMarginAccount - QueryBorrowRepayRecordsInMarginAccountExample.php:23

/sapi/v1/margin/interestRateHistory - queryMarginInterestRateHistory - QueryMarginInterestRateHistoryExample.php:18

/sapi/v1/margin/maxBorrowable - queryMaxBorrow - QueryMaxBorrowExample.php:16

MarketData

/sapi/v1/margin/crossMarginCollateralRatio - crossMarginCollateralRatio - CrossMarginCollateralRatioExample.php:12

/sapi/v1/margin/allPairs - getAllCrossMarginPairs - GetAllCrossMarginPairsExample.php:13

/sapi/v1/margin/isolated/allPairs - getAllIsolatedMarginSymbol - GetAllIsolatedMarginSymbolExample.php:14

/sapi/v1/margin/allAssets - getAllMarginAssets - GetAllMarginAssetsExample.php:13

/sapi/v1/margin/delist-schedule - getDelistSchedule - GetDelistScheduleExample.php:13

/sapi/v1/margin/limit-price-pairs - getLimitPricePairs - GetLimitPricePairsExample.php:12

/sapi/v1/margin/list-schedule - getListSchedule - GetListScheduleExample.php:13

/sapi/v1/margin/risk-based-liquidation-ratio - getMarginAssetRiskBasedLiquidationRatio - GetMarginAssetRiskBasedLiquidationRatioExample.php:12

/sapi/v1/margin/restricted-asset - getMarginRestrictedAssets - GetMarginRestrictedAssetsExample.php:12

/sapi/v1/margin/isolatedMarginTier - queryIsolatedMarginTierData - QueryIsolatedMarginTierDataExample.php:16

/sapi/v1/margin/leverageBracket - queryLiabilityCoinLeverageBracketInCrossMarginProMode - QueryLiabilityCoinLeverageBracketInCrossMarginProModeExample.php:12

/sapi/v1/margin/available-inventory - queryMarginAvailableInventory - QueryMarginAvailableInventoryExample.php:15

/sapi/v1/margin/priceIndex - queryMarginPriceindex - QueryMarginPriceindexExample.php:13

Trade

/sapi/v1/margin/apiKey - createSpecialKey - CreateSpecialKeyExample.php:16

/sapi/v1/margin/apiKey - deleteSpecialKey - DeleteSpecialKeyExample.php:16

/sapi/v1/margin/apiKey/ip - editIpForSpecialKey - EditIpForSpecialKeyExample.php:16

/sapi/v1/margin/exit-special-key-mode - exitSpecialKeyMode - ExitSpecialKeyModeExample.php:15

/sapi/v1/margin/forceLiquidationRec - getForceLiquidationRecord - GetForceLiquidationRecordExample.php:19

/sapi/v1/margin/exchange-small-liability - getSmallLiabilityExchangeCoinList - GetSmallLiabilityExchangeCoinListExample.php:14

/sapi/v1/margin/exchange-small-liability-history - getSmallLiabilityExchangeHistory - GetSmallLiabilityExchangeHistoryExample.php:18

/sapi/v1/margin/liquidation-loan/repay - liquidationLoanRepay - LiquidationLoanRepayExample.php:17

/sapi/v1/margin/openOrders - marginAccountCancelAllOpenOrdersOnASymbol - MarginAccountCancelAllOpenOrdersOnASymbolExample.php:17

/sapi/v1/margin/orderList - marginAccountCancelOco - MarginAccountCancelOcoExample.php:20

/sapi/v1/margin/order - marginAccountCancelOrder - MarginAccountCancelOrderExample.php:20

/sapi/v1/margin/order/oco - marginAccountNewOco - MarginAccountNewOcoExample.php:21

/sapi/v1/margin/order - marginAccountNewOrder - MarginAccountNewOrderExample.php:20

/sapi/v1/margin/order/oto - marginAccountNewOto - MarginAccountNewOtoExample.php:28

/sapi/v1/margin/order/otoco - marginAccountNewOtoco - MarginAccountNewOtocoExample.php:27

/sapi/v1/margin/manual-liquidation - marginManualLiquidation - MarginManualLiquidationExample.php:17

/sapi/v1/margin/rateLimit/order - queryCurrentMarginOrderCountUsage - QueryCurrentMarginOrderCountUsageExample.php:17

/sapi/v1/margin/liquidation-loan - queryLiquidationLoan - QueryLiquidationLoanExample.php:14

/sapi/v1/margin/liquidation-loan/repay-history - queryLiquidationLoanRepayHistory - QueryLiquidationLoanRepayHistoryExample.php:18

/sapi/v1/margin/allOrderList - queryMarginAccountsAllOco - QueryMarginAccountsAllOcoExample.php:21

/sapi/v1/margin/allOrders - queryMarginAccountsAllOrders - QueryMarginAccountsAllOrdersExample.php:21

/sapi/v1/margin/orderList - queryMarginAccountsOco - QueryMarginAccountsOcoExample.php:19

/sapi/v1/margin/openOrderList - queryMarginAccountsOpenOco - QueryMarginAccountsOpenOcoExample.php:17

/sapi/v1/margin/openOrders - queryMarginAccountsOpenOrders - QueryMarginAccountsOpenOrdersExample.php:17

/sapi/v1/margin/oto/openOrderList - queryMarginAccountsOpenOtootocoOrderLists - QueryMarginAccountsOpenOtootocoOrderListsExample.php:15

/sapi/v1/margin/order - queryMarginAccountsOrder - QueryMarginAccountsOrderExample.php:19

/sapi/v1/margin/myTrades - queryMarginAccountsTradeList - QueryMarginAccountsTradeListExample.php:22

/sapi/v1/margin/myPreventedMatches - queryPreventedMatches - QueryPreventedMatchesExample.php:20

/sapi/v1/margin/apiKey - querySpecialKey - QuerySpecialKeyExample.php:15

/sapi/v1/margin/api-key-list - querySpecialKeyList - QuerySpecialKeyListExample.php:15

/sapi/v1/margin/exchange-small-liability - smallLiabilityExchange - SmallLiabilityExchangeExample.php:16

Transfer

/sapi/v1/margin/transfer - getCrossMarginTransferHistory - GetCrossMarginTransferHistoryExample.php:22

/sapi/v1/margin/maxTransferable - queryMaxTransferOutAmount - QueryMaxTransferOutAmountExample.php:16

UserDataStream

/sapi/v1/margin/listen-key - closeUserDataStream - CloseUserDataStreamExample.php:12

/sapi/v2/margin/listen-key - closeUserDataStreamV2 - CloseUserDataStreamV2Example.php:12

/sapi/v1/margin/listen-key - keepaliveUserDataStream - KeepaliveUserDataStreamExample.php:15

/sapi/v2/margin/listen-key - keepaliveUserDataStreamV2 - KeepaliveUserDataStreamV2Example.php:15

/sapi/v1/margin/listen-key - startUserDataStream - StartUserDataStreamExample.php:12

/sapi/v2/margin/listen-key - startUserDataStreamV2 - StartUserDataStreamV2Example.php:12