post https://platform.atom.finance/api/2.0/ui/fund/composition
Introduction
This endpoint returns separate donut chart SVG strings for a fund's asset distribution and sector exposure. Note that this endpoint currently only supports Fund assets.
The illustrations below render sample sector exposure and asset distribution charts

Customizing the Donut Chart
By default, the SVGs are produced using the following colors. You can override these using the optional "assetClassColors" and "sectorColors" parameters, which take in an array of colors (starting at "color1").
Response Fields
Name | Type | Description |
---|---|---|
asset | object | The requested asset |
assetClassComposition | string | An asset distribution donut chart composed as an SVG string. Empty string if unavailable. |
sectorComposition | string | A sector exposure donut chart composed as an SVG string. Empty string if unavailable. |
message | string | undefined | A message that indicates when either assetClassComposition or sectorComposition is empty |
error | string | undefined | A clarifying message sent on failure |
Ready to get started? Get your free trial API key ➔