Skip to main content

Get DCP Info

Query the DCP configuration of the account. Before calling the interface, please make sure you have applied for the UTA account DCP configuration with your account manager

  • Only the configured main / sub account can query information from this API. Calling this API by an account always returns empty.

  • If you only request to activate Spot trading for DCP, the contract and options data will not be returned.

info
  • Support UTA2.0:
    USDT Perpetuals, USDC Perpetuals, USDC Futures, Inverse Perpetuals, Inverse Futures [DERIVATIVES]
    Spot [SPOT]
    Options [OPTIONS]
  • Support UTA1.0:
    USDT Perpetuals, USDC Perpetuals, USDC Futures [DERIVATIVES]
    Spot [SPOT]
    Options [OPTIONS]

HTTP Request

GET /v5/account/query-dcp-info

Request Parameters

None

Response Parameters

ParameterTypeComments
dcpInfosarray<object>DCP config for each product
> productstringSPOT, DERIVATIVES, OPTIONS
> dcpStatusstringDisconnected-CancelAll-Prevention status: ON
> timeWindowstringDCP trigger time window which user pre-set. Between [3, 300] seconds, default: 10 sec

Request Example

GET /v5/account/query-dcp-info HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: XXXXXX
X-BAPI-TIMESTAMP: 1717065530867
X-BAPI-RECV-WINDOW: 5000

Response Example

// it means my account enables Spot and Deriviatvies on the backend
// Options is not enabled with DCP
{
"retCode": 0,
"retMsg": "success",
"result": {
"dcpInfos": [
{
"product": "SPOT",
"dcpStatus": "ON",
"timeWindow": "10"
},
{
"product": "DERIVATIVES",
"dcpStatus": "ON",
"timeWindow": "10"
}
]
},
"retExtInfo": {},
"time": 1717065531697
}