Skip to main content

Index Constituents

Retrieve constituent companies and their components for a specific market index.

GET/3.0/market/index/constituents

Description​

This endpoint returns detailed information about the constituent companies that make up a specific market index, including their point contributions, weightings, and market capitalization.

Request​

Authentication​

  • Type: Bearer Token
  • Required: Yes

Parameters​

NameTypeRequiredDescriptionExample
codestringYesIndex code to retrieve constituents forKSE100
datestringNoDate of the index constituents (format: YYYY-MM-DD)2026-07-15

Response​

Success Response (200)​

{
"status": "ok",
"message": "",
"data": [
{
"symbol": "SRVI",
"sector": "0816",
"index": "KSE100",
"from": "2026-07-15",
"to": "2026-07-15",
"point": 2.8086151159832364,
"weight": 0.005831489394940272,
"mcc": 96794250000
},
{
"symbol": "TGL",
"sector": "0811",
"index": "KSE100",
"from": "2026-07-15",
"to": "2026-07-15",
"point": 7.430497011421956,
"weight": 0.001991505664312788,
"mcc": 33056100096
}
]
}

Response Fields​

FieldTypeDescription
symbolstringStock symbol of the constituent
sectorstringSector code the constituent belongs to
indexstringIndex code (e.g., KSE100)
fromstringStart date of the constituent period (YYYY-MM-DD)
tostringEnd date of the constituent period (YYYY-MM-DD)
pointnumberIndex points contributed by the constituent
weightnumberWeight of the constituent in the index
mccnumberMarket capitalization contribution

Error Responses​

For detailed Common Error responses, see the Error Handling.

Examples​

Get Index Constituents​

curl -X GET "https://csapis.com/3.0/market/index/constituents?code=KSE100" \
-H "Authorization: Bearer YOUR_API_TOKEN"

Get Index Constituents for a Specific Date​

curl -X GET "https://csapis.com/3.0/market/index/constituents?code=KSE100&date=2026-07-15" \
-H "Authorization: Bearer YOUR_API_TOKEN"

Use Cases​

  • Index Composition: Get complete list of index constituent companies
  • Index Tracking: Understand which stocks make up the index
  • Rebalancing Information: Track index composition changes
  • Investment Analysis: Analyze index components for investment decisions
  • Portfolio Benchmarking: Compare portfolio with index constituents
  • Risk Analysis: Understand index concentration and diversification