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 actions, weightings, and other component details.

Request

Authentication

  • Type: Bearer Token
  • Required: Yes

Parameters

NameTypeRequiredDescriptionExample
codestringNoIndex code identifierKSE100
pageintegerYesPage number for pagination. Default is 11

Response

Success Response (200)

{
"status": "ok",
"offset": 0,
"count": 1,
"total": 1,
"data": [
{
"symbol": "GHGL",
"sector": "0811",
"index": "KSE100",
"from": "2026-05-19",
"to": "2026-05-19",
"point": 6.9564940204091,
"weight": 0.0022955826915476477,
"mcc": 35359913820.06
}
]
}

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.

Missing page parameter (200)

{
"status": "error",
"message": "no_page_provided"
}

Examples

Get Index Constituents

curl -X GET "https://csapis.com/3.0/market/index/constituents?code=KSE100&page=1" \
-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