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
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
code | string | No | Index code identifier | KSE100 |
page | integer | Yes | Page number for pagination. Default is 1 | 1 |
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
| Field | Type | Description |
|---|---|---|
symbol | string | Stock symbol of the constituent |
sector | string | Sector code the constituent belongs to |
index | string | Index code (e.g., KSE100) |
from | string | Start date of the constituent period (YYYY-MM-DD) |
to | string | End date of the constituent period (YYYY-MM-DD) |
point | number | Index points contributed by the constituent |
weight | number | Weight of the constituent in the index |
mcc | number | Market 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