Get Coin State
HTTP Request
GET /v5/spot-margin-trade/coinstate
Request Parameters
Parameter | Required | Type | Comments |
---|---|---|---|
currency | false | string | Coin name, uppercase only |
Response Parameters
Parameter | Type | Comments |
---|---|---|
list | arrayList | Object |
> currency | string | Coin name, uppercase only |
> spotLeverage | string | Spot margin leverage. Returns "" if spot margin mode is turned off |
Request Example
- HTTP
- Python
- Node.js
GET /v5/spot-margin-trade/coinstate HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1692696840996
X-BAPI-RECV-WINDOW: 5000
Response Example
{
"retCode": 0,
"retMsg": "Success",
"result": {
"list": [
{
"spotLeverage": 3,
"currency": "BTC"
},
{
"spotLeverage": 4,
"currency": "ETH"
},
{
"spotLeverage": 4,
"currency": "AVAX"
},
{
"spotLeverage": 4,
"currency": "EOS"
},
{
"spotLeverage": 4,
"currency": "XRP"
},
{
"spotLeverage": 4,
"currency": "USDT"
},
{
"spotLeverage": 4,
"currency": "GALA"
},
{
"spotLeverage": 4,
"currency": "DOGE"
},
{
"spotLeverage": 4,
"currency": "BIT"
},
{
"spotLeverage": 4,
"currency": "BTC3S"
},
{
"spotLeverage": 4,
"currency": "BTC3L"
},
{
"spotLeverage": 4,
"currency": "EUR"
},
{
"spotLeverage": 4,
"currency": "USDC"
},
{
"spotLeverage": 4,
"currency": "UNI"
},
{
"spotLeverage": 4,
"currency": "SOL"
},
{
"spotLeverage": 4,
"currency": "ADA"
}
]
},
"retExtInfo": {},
"time": 1756273703314
}