Available market subtypes
GET
/ver1/accounts/types_to_connectReturns the available account types for connection by user for specific exchange and pair of keys.
Query Parameters
Name of the exchange in the 3Commas system.
Use endpoint Supported markets list and parameter market_code
to get value for parameter.
Example Request
GET
/ver1/accounts/types_to_connect?type=binance&name=binance123&api_key=...&secret=...Response Parameters
Example Responses
- 200 OK
- 400 Bad Request
[
{
"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
}
]
{
"error": "record_invalid",
"error_description": "Invalid parameters",
"error_attributes": {
"type": [
"does not have a valid value"
]
}
}