Skip to main content

User balances for table chart visualization

POST
/ver1/accounts/:account_id/account_table_data
Permission: ACCOUNTS_READ
Security: SIGNED

Returns information about currency balances of a specific account using its ID, for visualization in a table chart.

By replacing account_id with summary, you can use the /ver1/accounts/summary/account_table_data endpoint to retrieve aggregated data for all accounts where available_include_in_summary is set to true.


Path Parameter

account_idintegerrequired

Unique 3Commas ID of this exchange account entity.

Example Request

POST
/ver1/accounts/12345678/account_table_data

Response Parameters

currency_codestring

Code symbol for the cryptocurrency.

currency_namestring

Full name of the cryptocurrency.

currency_iconstring

URL link to the icon image of the cryptocurrency.

currency_slugstring

Slug or identifier used for the cryptocurrency in URLs.

More attributes

Example Response

[
{
"currency_code": "ETH",
"currency_name": "Ethereum",
"currency_icon": "https://app.3commas.io/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBbnNRIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--f7e20d2abb9f03965b29c091e5ca77a8fc4ade51/1027.png",
"currency_slug": "ethereum",
"percentage": 0.7908972825805544,
"position": 9.52E-5,
"position_available": 9.52E-5,
"position_type": 0,
"borrowed": 0,
"on_orders": 0,
"on_orders_with_leverage": 0,
"on_orders_long": 0,
"on_orders_short": 0,
"equity": 9.52E-5,
"current_price": 0.04085,
"current_price_usd": 2611.4959735,
"day_change_percent": 1.036,
"day_change_percent_btc": 1.036,
"day_change_percent_usd": -1.418,
"btc_value": 3.88892E-6,
"usd_value": 0.2486144166772,
"available_long": 0,
"available_short": 0,
"available_with_leverage_long": 0,
"available_with_leverage_short": 0,
"account_id": 32402783,
"is_wallet": false
},
{
"currency_code": "DOGE",
"currency_name": "Dogecoin",
"currency_icon": "https://app.3commas.io/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBNW5KQVE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--d8f3102172a7531aa8e21cc8687e40bc07073889/74.png",
"currency_slug": "dogecoin",
"percentage": 10.24208849013634,
"position": 27.076,
"position_available": 27.076,
"position_type": 0,
"borrowed": 0,
"on_orders": 0,
"on_orders_with_leverage": 0,
"on_orders_long": 0,
"on_orders_short": 0,
"equity": 27.076,
"current_price": 1.86E-6,
"current_price_usd": 0.1189077726,
"day_change_percent": -2.094,
"day_change_percent_btc": -2.094,
"day_change_percent_usd": -4.886,
"btc_value": 5.036136E-5,
"usd_value": 3.2195468509176,
"available_long": 0,
"available_short": 0,
"available_with_leverage_long": 0,
"available_with_leverage_short": 0,
"account_id": 32402783,
"is_wallet": false
}
]