Skip to main content

Available market subtypes

GET
/ver1/accounts/types_to_connect
Permission: NONE
Security: SIGNED

Returns the available account types for connection by user for specific exchange and pair of keys.


Query Parameters​

typestringrequired

Name of the exchange in the 3Commas system.

Use endpoint Supported markets list and parameter market_code to get value for parameter.

namestringrequired

Name for exchange account.

api_keystringrequired

API-key for this exchange account.

secretstringrequired

Secret-key for this exchange account.

Example Request​

GET
/ver1/accounts/types_to_connect?type=binance&name=binance123&api_key=...&secret=...

Response Parameters​

typestring

The exchange code available to connect.

connectedboolean

Indicates whether the exchange is currently connected true or not false

availableboolean

Secret-key for this exchange account.

unifiedboolean

Shows the exchange supports an unified account. Using for Bybit exchange true is if it supports.

Example Responses​

[
{
"type": "binance",
"connected": false,
"available": true,
"unified": false
},
{
"type": "binance_margin",
"connected": false,
"available": true,
"unified": false
},
{
"type": "binance_futures",
"connected": true,
"available": true,
"unified": false
},
{
"type": "binance_futures_coin",
"connected": true,
"available": true,
"unified": false
}
]