Skip to main content

All Symbols Overview

Retrieve the most recent snapshot of all stocks including pricing, sector, valuation metrics, and market data for the entire market.

GET/3.0/market/stocks

Description

This endpoint returns comprehensive snapshots of all stocks in the market including current prices, trading volumes, market capitalizations, and the indices they're listed in. This is ideal for market-wide analysis and screening.

Request

Authentication

  • Type: Bearer Token
  • Required: Yes

Parameters

NameTypeRequiredDescriptionExample
symbolstringNoComma-separated stock symbols to filter resultsSYS,UNITY,TRG

Response

Success Response (200)

{
"status": "ok",
"message": "",
"data": [
{
"date": "2025-12-11 12:38:06",
"symbol": "GGGL",
"name": "Ghani Global Glass Limited",
"sector": "0811",
"type": 1,
"status": 1,
"ldcp": 10.56,
"ldcv": 1843912,
"high52": 14.47,
"low52": 6.92,
"ucap": 11.62,
"lcap": 9.5,
"shares": 240000000,
"free_float": 120000000,
"market_cap": 2544000000,
"listed_in": [
"ALLSHR",
"KMIALLSHR"
],
"xb": false,
"xd": false,
"xr": false,
"sd": false
},
{
"date": "2025-12-11 12:38:14",
"symbol": "MIRKS",
"name": "Mirpurkhas Sugar Mills Limited",
"sector": "0826",
"type": 1,
"status": 1,
"ldcp": 39.59,
"ldcv": 111006,
"high52": 44.5,
"low52": 25,
"ucap": 43.55,
"lcap": 35.63,
"shares": 66557888,
"free_float": 29951050,
"market_cap": 2619718471.68,
"listed_in": [
"ALLSHR"
],
"xb": false,
"xd": false,
"xr": false,
"sd": false
}
]
}

Response Fields

FieldTypeDescription
datestringData timestamp (YYYY-MM-DD HH:MM:SS)
symbolstringStock symbol/ticker
namestringCompany name
sectorstringSector classification
typenumberStock type ( 1- Company, 2 - Rights, 5 - Defaulter)
statusnumberStock status (0 - Inactive, 1 - Active, 2 - Suspended, 3 - Hidden)
ldcpnumberLast day close price
ldcvnumberLast day close volume
high52number52-week high price
low52number52-week low price
ucapnumberUpper circuit price
lcapnumberLower circuit price
sharesnumberTotal shares outstanding
free_floatnumberFree float shares
market_capnumberMarket capitalization
listed_inarrayIndices the stock is listed in
xbbooleanXB flag (ex-bonus)
xdbooleanXD flag (ex-dividend)
xrbooleanXR flag (ex-rights)
sdbooleanSD flag (ex-specie-dividend)

Error Responses

For detailed Common Error responses, see the Error Handling.

Examples

Get All Stocks Overview

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

Get Specific Symbols Overview

curl -X GET "https://csapis.com/3.0/market/stocks?symbol=SYS,UNITY,TRG" \
-H "Authorization: Bearer YOUR_API_TOKEN"

Use Cases

  • Market Screening: Screen all stocks by market cap
  • Portfolio Analysis: Compare multiple stocks' performance metrics
  • Index Replication: Track stocks in specific indices
  • Sector Analysis: Compare stocks across different sectors