Risk Unit Borrow (TRADE)
This endpoint is used to perform a borrow request for that specified risk unit. This endpoint is accessible only with the credit account API key.
- You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
- The
amountfield refers to the quantity of the borrowed asset. The maximum allowable amount is subject to collateral ratio adjustment. The applicable collateral ratio depends on the margin mode of the credit account.
Risk Unit Borrow (TRADE) › Authorization
Risk Unit Borrow (TRADE) › Request Weight
This endpoint consumes account (UID)-based request weight. Heavier endpoints consume more of your account rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Risk Unit Borrow (TRADE) › Request Body
groupIdassetNameAsset Name , USDT or USDC or BTC or U
amounttimestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
Risk Unit Borrow (TRADE) › Responses
Risk Unit Borrow
transactionIdamountstatusRisk Unit Borrow/Repay Records (USER_DATA)
Get borrow/repay records in the Institution Loan Risk Unit. This endpoint is accessible only with the credit account API key.
Risk Unit Borrow/Repay Records (USER_DATA) › Authorization
Risk Unit Borrow/Repay Records (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
typeBORROW or REPAY
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
groupIdRisk unit unique identifier
assetAsset name, for example USDT or USDC
startTimeStart time in milliseconds.
endTimeEnd time in milliseconds.
currentCurrent page number. Starts from 1.
sizeNumber of records per page.
recvWindowRequest validity window in milliseconds.
Risk Unit Borrow/Repay Records (USER_DATA) › Responses
Risk Unit Borrow/Repay Records
totaltranIdassetNameamountprincipalintereststatustypeBORROW, NORMAL_REPAY, FORCE_REPAY
timestampRisk Unit Interest History (USER_DATA)
Query Institutional loan risk unit interest history. This endpoint is accessible only with the credit account API key.
Risk Unit Interest History (USER_DATA) › Authorization
Risk Unit Interest History (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
groupIdUnique risk unit identifier
assetAsset name, for example USDT or USDC.
startTimeStart time in milliseconds.
endTimeEnd time in milliseconds.
currentCurrent page number. Starts from 1.
sizeNumber of records per page.
Risk Unit Interest History (USER_DATA) › Responses
Risk Unit Interest History
totalNumber of historical interest records.
Interest history records.
groupIdassetNameprincipalinterestRateinterestinterestTimestampRisk Unit Repay (TRADE)
This endpoint is used to perform full or partial repayment of the specified risk unit. This endpoint is accessible only with the credit account API key.
By default (repayFrom=MARGIN), funds are deducted from the credit account's Margin account. When repayFrom=SPOT, funds are deducted directly from the credit account's Spot account.
- You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
Risk Unit Repay (TRADE) › Authorization
Risk Unit Repay (TRADE) › Request Weight
This endpoint consumes account (UID)-based request weight. Heavier endpoints consume more of your account rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Risk Unit Repay (TRADE) › Request Body
groupIdassetNameAsset name to repay
amounttimestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
repayFromFunding source for repayment. MARGIN (default): deduct from credit account's Margin account. SPOT: deduct directly from credit account's Spot account.
Risk Unit Repay (TRADE) › Responses
Risk Unit Repay
transactionIdamountrepayFromFunding source used for this repayment.
Query Interest Rebate Balance (USER_DATA)
Query the interest rebate balance for an institutional loan master account, including the remaining balance, total granted amount, and total consumed amount, all denominated in USDT. This endpoint requires authentication with the parent account API key.
Query Interest Rebate Balance (USER_DATA) › Authorization
Query Interest Rebate Balance (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
Query Interest Rebate Balance (USER_DATA) › Responses
Query Interest Rebate Balance
assetAsset name
balanceCurrent rebate balance remaining; represents the amount still available to offset future interest charges
totalGrantedThe total rebate amount that has ever been credited to your account
totalConsumedThe total rebate amount that has already been used up to pay off interest
Query Interest Rebate Balance Records (USER_DATA)
Query change records for an institutional loan interest rebate balance. Includes ADD (admin grant), DEDUCT (admin deduction), and INTEREST_OFFSET (system interest deduction) types.
Query Interest Rebate Balance Records (USER_DATA) › Authorization
Query Interest Rebate Balance Records (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
typeRecord type filter: 0=ADD, 1=DEDUCT, 2=INTEREST_OFFSET. Returns all if not specified.
startTimeStart time in ms
endTimeEnd time in ms
currentPage number, default 1
sizePage size, default 10, max 100
Query Interest Rebate Balance Records (USER_DATA) › Responses
Query Interest Rebate Balance Records
totalTotal number of records
typeADD / DEDUCT / INTEREST_OFFSET
groupIdLoan group ID (only for INTEREST_OFFSET)
rebateAssetRebate asset (USDT)
deltaAmount change. Positive for ADD, negative for DEDUCT/INTEREST_OFFSET
liabilityAssetLiability asset (only for INTEREST_OFFSET)
deductedInterestDeducted interest in liability asset (only for INTEREST_OFFSET)
exchangeRateExchange rate snapshot (only for INTEREST_OFFSET)
createTimeRecord creation time in ms
Query Loan Group Max Borrowable (USER_DATA)
Query the maximum borrowable amount of a given asset for an institutional loan risk unit.
This endpoint can be accessed using the API key from either the parent or the credit account:
- If the API key belongs to the credit account,
groupIdis optional. When omitted, the member's own risk unit is used; when provided, it must match the member's risk unit, otherwise an empty result is returned. - If the API key belongs to the parent account,
groupIdis required and must be owned by the parent account, otherwise an empty result is returned. - If the caller is neither the parent account nor the credit member of the group (e.g., a collateral member, or no matching risk unit),
maxBorrowableAmountis returned as empty/null.
Query Loan Group Max Borrowable (USER_DATA) › Authorization
Query Loan Group Max Borrowable (USER_DATA) › Request Weight
This endpoint consumes IP-based request weight. Heavier endpoints consume more of your IP rate limit capacity.
Learn more in the Rate limits section.
Headers
X-MBX-APIKEYAn API Key is required to access this endpoint and must be included in the request headers. To create an API Key, refer to: https://www.binance.com/en/support/faq/detail/360002502072.
Query Parameters
assetNameAsset to borrow, e.g., USDT. Case-insensitive (normalized to upper-case). Must be a borrowable asset, otherwise an error is returned.
timestampUnix timestamp in milliseconds used to sign the request. The value must reflect the current client time and is validated by the server for signed endpoints.
groupIdLoan group id. Optional when the API key belongs to the credit member; required when it belongs to the parent account.
recvWindowQuery Loan Group Max Borrowable (USER_DATA) › Responses
Query Loan Group Max Borrowable
maxBorrowableAmountMax borrowable amount of the asset for the risk unit. Empty/null when the caller has no matching risk unit.