ETF/MF
Sector allocation chart
Chart-ready sector allocation over time. Returns one series per top sector (by latest quarter weight), with portfolio weight values for each quarter. Sectors are derived from SIC codes of underlying holdings. Periods sorted ascending. Historical depth depends on subscription tier.
get/api/fund/chart/sectors
Request
- Base URLhttps://api.stockfit.io/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
symbolstring
Fund ticker symbol (ETF or mutual fund). Identify the entity by exactly one of: symbol, cik, cusip, composite_figi, or share_class_figi. At least one is required.
cikinteger
SEC Central Index Key (CIK).
cusipstring
CUSIP identifier (9 characters).
composite_figistring
Composite OpenFIGI identifier.
share_class_figistring
Share-class OpenFIGI identifier.
topNinteger
Number of top sectors to include
Response
Sector allocation chart data with periods sorted ascending
Example response
{
"periods": [
"2025-03-31",
"2025-06-30",
"2025-09-30",
"2025-12-31"
],
"series": [
{
"name": "Technology",
"data": [
31.2,
32.5,
33.1,
32.8
]
}
]
}Changes
No recorded changes to this operation across all 15 revisions of this API.