example_rest.md
May 4, 2026 ยท View on GitHub
AccountManagement
/sapi/v1/sub-account/virtualSubAccount - createAVirtualSubAccount - CreateAVirtualSubAccountExample.php:27
/sapi/v1/sub-account/futures/enable - enableFuturesForSubAccount - EnableFuturesForSubAccountExample.php:27
/sapi/v1/sub-account/eoptions/enable - enableOptionsForSubAccount - EnableOptionsForSubAccountExample.php:27
/sapi/v1/sub-account/futures/positionRisk - getFuturesPositionRiskOfSubAccount - GetFuturesPositionRiskOfSubAccountExample.php:26
/sapi/v2/sub-account/futures/positionRisk - getFuturesPositionRiskOfSubAccountV2 - GetFuturesPositionRiskOfSubAccountV2Example.php:27
/sapi/v1/sub-account/status - getSubAccountsStatusOnMarginOrFutures - GetSubAccountsStatusOnMarginOrFuturesExample.php:26
/sapi/v1/sub-account/list - querySubAccountList - QuerySubAccountListExample.php:29
/sapi/v1/sub-account/transaction-statistics - querySubAccountTransactionStatistics - QuerySubAccountTransactionStatisticsExample.php:26
ApiManagement
/sapi/v2/sub-account/subAccountApi/ipRestriction - addIpRestrictionForSubAccountApiKey - AddIpRestrictionForSubAccountApiKeyExample.php:29
/sapi/v1/sub-account/subAccountApi/ipRestriction/ipList - deleteIpListForASubAccountApiKey - DeleteIpListForASubAccountApiKeyExample.php:28
/sapi/v1/sub-account/subAccountApi/ipRestriction - getIpRestrictionForASubAccountApiKey - GetIpRestrictionForASubAccountApiKeyExample.php:27
AssetManagement
/sapi/v1/sub-account/futures/transfer - futuresTransferForSubAccount - FuturesTransferForSubAccountExample.php:30
/sapi/v1/sub-account/futures/account - getDetailOnSubAccountsFuturesAccount - GetDetailOnSubAccountsFuturesAccountExample.php:26
/sapi/v2/sub-account/futures/account - getDetailOnSubAccountsFuturesAccountV2 - GetDetailOnSubAccountsFuturesAccountV2Example.php:27
/sapi/v1/sub-account/margin/account - getDetailOnSubAccountsMarginAccount - GetDetailOnSubAccountsMarginAccountExample.php:26
/sapi/v1/sub-account/futures/move-position - getMovePositionHistoryForSubAccount - GetMovePositionHistoryForSubAccountExample.php:30
/sapi/v1/capital/deposit/subAddress - getSubAccountDepositAddress - GetSubAccountDepositAddressExample.php:29
/sapi/v1/capital/deposit/subHisrec - getSubAccountDepositHistory - GetSubAccountDepositHistoryExample.php:33
/sapi/v1/sub-account/futures/accountSummary - getSummaryOfSubAccountsFuturesAccount - GetSummaryOfSubAccountsFuturesAccountExample.php:27
/sapi/v2/sub-account/futures/accountSummary - getSummaryOfSubAccountsFuturesAccountV2 - GetSummaryOfSubAccountsFuturesAccountV2Example.php:28
/sapi/v1/sub-account/margin/accountSummary - getSummaryOfSubAccountsMarginAccount - GetSummaryOfSubAccountsMarginAccountExample.php:25
/sapi/v1/sub-account/margin/transfer - marginTransferForSubAccount - MarginTransferForSubAccountExample.php:30
/sapi/v1/sub-account/futures/move-position - movePositionForSubAccount - MovePositionForSubAccountExample.php:30
/sapi/v3/sub-account/assets - querySubAccountAssets - QuerySubAccountAssetsExample.php:26
/sapi/v4/sub-account/assets - querySubAccountAssetsAssetManagement - QuerySubAccountAssetsAssetManagementExample.php:26
/sapi/v1/sub-account/futures/internalTransfer - querySubAccountFuturesAssetTransferHistory - QuerySubAccountFuturesAssetTransferHistoryExample.php:31
/sapi/v1/sub-account/sub/transfer/history - querySubAccountSpotAssetTransferHistory - QuerySubAccountSpotAssetTransferHistoryExample.php:31
/sapi/v1/sub-account/spotSummary - querySubAccountSpotAssetsSummary - QuerySubAccountSpotAssetsSummaryExample.php:28
/sapi/v1/sub-account/universalTransfer - queryUniversalTransferHistory - QueryUniversalTransferHistoryExample.php:32
/sapi/v1/sub-account/futures/internalTransfer - subAccountFuturesAssetTransfer - SubAccountFuturesAssetTransferExample.php:31
/sapi/v1/sub-account/transfer/subUserHistory - subAccountTransferHistory - SubAccountTransferHistoryExample.php:31
/sapi/v1/sub-account/transfer/subToMaster - transferToMaster - TransferToMasterExample.php:28
/sapi/v1/sub-account/transfer/subToSub - transferToSubAccountOfSameMaster - TransferToSubAccountOfSameMasterExample.php:29
/sapi/v1/sub-account/universalTransfer - universalTransfer - UniversalTransferExample.php:30
ManagedSubAccount
/sapi/v1/managed-subaccount/deposit - depositAssetsIntoTheManagedSubAccount - DepositAssetsIntoTheManagedSubAccountExample.php:29
/sapi/v1/managed-subaccount/deposit/address - getManagedSubAccountDepositAddress - GetManagedSubAccountDepositAddressExample.php:29
/sapi/v1/managed-subaccount/asset - queryManagedSubAccountAssetDetails - QueryManagedSubAccountAssetDetailsExample.php:26
/sapi/v1/managed-subaccount/fetch-future-asset - queryManagedSubAccountFuturesAssetDetails - QueryManagedSubAccountFuturesAssetDetailsExample.php:26
/sapi/v1/managed-subaccount/info - queryManagedSubAccountList - QueryManagedSubAccountListExample.php:28
/sapi/v1/managed-subaccount/marginAsset - queryManagedSubAccountMarginAssetDetails - QueryManagedSubAccountMarginAssetDetailsExample.php:26
/sapi/v1/managed-subaccount/accountSnapshot - queryManagedSubAccountSnapshot - QueryManagedSubAccountSnapshotExample.php:30
/sapi/v1/managed-subaccount/queryTransLogForInvestor - queryManagedSubAccountTransferLogMasterAccountInvestor - QueryManagedSubAccountTransferLogMasterAccountInvestorExample.php:31
/sapi/v1/managed-subaccount/queryTransLogForTradeParent - queryManagedSubAccountTransferLogMasterAccountTrading - QueryManagedSubAccountTransferLogMasterAccountTradingExample.php:31
/sapi/v1/managed-subaccount/query-trans-log - queryManagedSubAccountTransferLogSubAccountTrading - QueryManagedSubAccountTransferLogSubAccountTradingExample.php:31
/sapi/v1/managed-subaccount/withdraw - withdrawlAssetsFromTheManagedSubAccount - WithdrawlAssetsFromTheManagedSubAccountExample.php:29