Skip to main content

ETF Basket

Retrieve the complete basket of holdings and composition details for an ETF.

GET/3.0/etf/basket

Description​

This endpoint returns the detailed holdings basket for an ETF, including all constituent securities and cash balance. Useful for understanding exact ETF composition and rebalancing details.

Request​

Authentication​

  • Type: Bearer Token
  • Required: Yes

Parameters​

This endpoint does not accept any query parameters.

Response​

Success Response (200)​

{
"status": "ok",
"message": "",
"data": [
{
"symbol": "NITGETF",
"name": "NIT Pakistan Gateway ETF",
"update_date": "2026-06-29 03:31:59",
"cash_component": 1568.14,
"constituents": [
{
"symbol": "LUCK",
"shares": 51
},
{
"symbol": "MARI",
"shares": 28
},
{
"symbol": "MCB",
"shares": 48
}
]
}
]
}

Response Fields​

FieldTypeDescription
symbolstringETF symbol
namestringETF name
update_datestringDate and time of the latest basket update
cash_componentnumberCash held in the fund in PKR
constituentsarrayList of constituent stocks in the basket. See Constituent Object.

Constituent Object​

FieldTypeDescription
symbolstringStock symbol of the constituent
sharesintegerNumber of shares in the basket

Error Responses​

For detailed Common Error responses, see the Error Handling.

Examples​

Get ETF Basket​

curl -X GET "https://csapis.com/3.0/etf/basket" \
-H "Authorization: Bearer YOUR_API_TOKEN"

Use Cases​

  • Portfolio Rebalancing: Understand exact holdings for rebalancing decisions
  • Sector Analysis: Analyze sector exposure in the ETF
  • Constituent Analysis: Review individual holding details
  • Tracking Verification: Verify index replication accuracy
  • Due Diligence: Analyze complete holdings list for investment decision