/api/v1/exchanges/:id/pie_chart_data
Returns currency balance distribution of a specific account using its ID, structured and calculated for direct visualization in pie and donut charts.
Pro Tip (Portfolio Summary)
By replacing :id with summary (/api/v1/exchanges/summary/pie_chart_data), you can retrieve aggregated balance distribution data across all accounts where available_include_in_summary is enabled.
Path Parameters
Unique Quentrade UUID of this exchange account entity (or 'summary' for aggregated portfolio distribution).
Example Request
Response Parameters
The cryptocurrency ticker code symbol (e.g. BTC, DOGE, USDT).
Full display name of the cryptocurrency (e.g. Bitcoin (BTC)).
Unique asset identifier on CoinMarketCap.
Percentage proportion of total portfolio value held in this currency.
Y-axis chart plotting value equivalent to the percentage proportion.
Total coin quantity held in this account.
Total equivalent holding value calculated in BTC.
Total equivalent holding value calculated in USD.
Unique ID of the exchange account entity.
Object containing the formatted holding value in the user's primary currency.
Target fiat or reference currency code (e.g. USD).
Total asset balance evaluated in the primary display currency.