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.
symbol string optional 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.
cik integer optional SEC Central Index Key (CIK).
cusip string optional CUSIP identifier (9 characters).
composite_figi string optional Composite OpenFIGI identifier.
share_class_figi string optional Share-class OpenFIGI identifier.
topN integer optional Number of top sectors to include
curl 'https://api.stockfit.io/v1/api/fund/chart/sectors?symbol=SPY&cik=884394&composite_figi=BBG000BDTBL9' \
-H 'Authorization: Bearer YOUR_API_TOKEN'Sector allocation chart data with periods sorted ascending
periods array of string Quarter-end dates sorted ascending
series array of object One series per top sector, with portfolio weight values (%)
name string data array of number | null {
"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
]
}
]
}Symbol not found or not a fund (ETF or mutual fund)
error string Human-readable error message
{}Feature not available on current plan
error string Human-readable error message
{}