Trading Pair Configuration
Get the user's configuration for a specified trading pair. A default configuration is created automatically if it does not exist.
API Information
- Method:
GET - Path:
/fapi/v1/configs/{symbol} - Authentication: Requires signature authentication (see Common Module · Signature Specification)
Request Parameters
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
| symbol | path | string | Yes | Trading pair |
Request Example
GET /fapi/v1/configs/BTC_USDT
Response Fields
| Field | Type | Description |
|---|---|---|
| code | integer | Status code |
| message | string | Response message |
| 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
}
}