Get Borrowable Coin Info
info
This is public endpoint, so do not need an authentication
HTTP Request
GET /spot/v3/public/cross-margin-borrow-data
Request Parameters
Parameter | Required | Type | Comments |
---|---|---|---|
coin | false | string | Coin name |
Response Parameters
Parameter | Type | Comments |
---|---|---|
list | array | Object |
> coin | string | Coin name |
> borrowingPrecision | integer | Accuracy of loan amount |
> repaymentPrecision | integer | Accuracy of repayment amount |
Request Example
GET /spot/v3/public/cross-margin-borrow-data?coin=ETH HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN-TYPE: 2
X-BAPI-API-KEY: XXXXXX
X-BAPI-TIMESTAMP: 1677750684772
X-BAPI-RECV-WINDOW: 5000
X-BAPI-SIGN: XXXXXX
Response Example
{
"retCode": 0,
"retMsg": "success",
"result": {
"list": [
{
"borrowingPrecision": 5,
"coin": "ETH",
"repaymentPrecision": 4
}
]
},
"retExtInfo": {},
"time": 1677750685331
}