User Configuration List
Get the user's configuration for all trading pairs, including leverage and margin mode. Returns the existing configuration list.
API Information
- Method:
GET - Path:
/fapi/v1/configs - Authentication: Requires signature authentication (see Common Module · Signature Specification)
Response Fields
| Field | Type | Description |
|---|---|---|
| code | integer | Status code |
| message | string | Response message |
| data | array | Configuration list |
| data[].symbol | string | Trading pair |
| data[].leverage | integer | Leverage (cross mode) |
| data[].leverage_long | integer | Long leverage |
| data[].leverage_short | integer | Short leverage |
| data[].margin_mode | integer | Margin mode: 1=isolated, 2=cross |
| data[].position_mode | integer | Position mode: 1=one-way, 2=hedge |
Response Example
{
"code": 0,
"message": "success",
"data": [
{
"symbol": "BTC_USDT",
"leverage": 10,
"leverage_long": 10,
"leverage_short": 10,
"margin_mode": 1,
"position_mode": 2
}
]
}