Skip to main content

Get Flexible Available Inventory

Retrieve the flexible available inventory for a specified cryptocurrency in spot margin trading. The returned value equals min(platform total lendable amount, UTA user remaining borrowing limit).

info
  • Unified account only

HTTP Request

GET/v5/spot-margin-trade/flexible-available-inventory

Request Parameters

ParameterRequiredTypeComments
currencytruestringCoin name, uppercase only. e.g. BTC

Response Parameters

ParameterTypeComments
currencystringCoin name
availableInventorystringAvailable inventory for the specified coin. Displayed value = min(platform total lendable amount, UTA user remaining borrowing limit)
updateTimestringLast update timestamp in milliseconds

Request Example

GET /v5/spot-margin-trade/flexible-available-inventory?currency=BTC HTTP/1.1
Host: api.bybit.com
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1756261353733
X-BAPI-RECV-WINDOW: 5000
X-BAPI-SIGN: XXXXX

Response Example

{
"retCode": 0,
"retMsg": "Success",
"result": {
"currency": "BTC",
"availableInventory": "17.54689892",
"updateTime": "1756261353733"
},
"retExtInfo": {},
"time": 1756261353733
}