ETF/MF
Portfolio composition
Returns a breakdown of the fund's portfolio by asset type, country, issuer type, and top 10 holdings from the most recent N-PORT filing. Useful for understanding portfolio diversification at a glance.
get/api/fund/composition
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.
Response
Portfolio composition breakdown
Example response
{
"reportDate": "2025-12-31",
"assetTypes": [
{
"category": "EC",
"count": 498,
"weight": 99.82
}
],
"countries": [
{
"category": "US",
"count": 498,
"weight": 99.52
}
],
"issuerTypes": [
{
"category": "CORP",
"count": 498,
"weight": 99.82
}
],
"top10": [
{
"name": "NVIDIA Corp",
"cusip": "67066G104",
"pctVal": 7.75,
"valueUsd": 55218508208,
"mappedSymbol": "NVDA"
}
],
"top10Weight": 36.82
}Changes
No recorded changes to this operation across all 15 revisions of this API.