Unofficial CSE API Docs

Live-probed documentation for https://www.cse.lk/api. Not affiliated with the Colombo Stock Exchange.

POST /allSectors

market probe ok

Sector index rows.

Used by UI: —

Last probe status: 200 · expect [200]

curl

curl -sS -X POST 'https://www.cse.lk/api/allSectors' \
  -H 'Content-Type: application/json' \
  -H 'Origin: https://www.cse.lk' -H 'Referer: https://www.cse.lk/' \
  -d '{}'

Known failures

Fields

Sample

{
  "_probe": {
    "id": "allSectors",
    "url": "https://www.cse.lk/api/allSectors",
    "method": "POST",
    "status": 200,
    "verified_at": "2026-07-16T16:34:31.875544+00:00",
    "fingerprint": {
      "type": "array",
      "len": 22,
      "item_keys": [
        "change",
        "id",
        "indexCode",
        "indexCodeSp",
        "indexName",
        "indexValue",
        "name",
        "percentage",
        "sectorId",
        "sectorPreviousClose",
        "sectorTradeToday",
        "sectorTurnoverToday",
        "sectorVolumeToday",
        "symbol",
        "transactionTime"
      ]
    }
  },
  "response": [
    {
      "id": 104417,
      "sectorId": 223,
      "symbol": "EGY",
      "indexCode": "1010",
      "indexCodeSp": "SPCSEEIP",
      "indexName": "S&P/CSE Energy Industry Group Index",
      "name": "Energy",
      "indexValue": 2914.6,
      "change": 4.84,
      "percentage": 0.16633674254921368,
      "sectorTradeToday": 159.0,
      "sectorVolumeToday": 235975,
      "sectorTurnoverToday": 27314377.1,
      "sectorPreviousClose": 2909.76,
      "transactionTime": 1784192292469
    },
    {
      "id": 104407,
      "sectorId": 224,
      "symbol": "MAT",
      "indexCode": "1510",
      "indexCodeSp": "SPCSEMIP",
      "indexName": "S&P/CSE Materials Industry Group Index",
      "name": "Materials",
      "indexValue": 3048.67,
      "change": 4.64,
      "percentage": 0.1524295095646232,
      "sectorTradeToday": 1907.0,
      "sectorVolumeToday": 5039477,
      "sectorTurnoverToday": 143643499.05,
      "sectorPreviousClose": 3044.03,
      "transactionTime": 1784192400513
    },
    {
      "id": 104406,
      "sectorId": 225,
      "symbol": "CG",
      "indexCode": "2010",
      "indexCodeSp": "SPCSECGP",
      "indexName": "S&P/CSE Capital Goods Industry Group Index",
      "name": "Capital Goods",
      "indexValue": 2302.46,
      "change": 5.34,
      "percentage": 0.23246499965173784,
      "sectorTradeToday": 1930.0,
      "sectorVolumeToday": 18370586,
      "sectorTurnoverToday": 715809272.6,
      "sectorPreviousClose": 2297.12,
      "transactionTime": 1784192400252
    },
    {
      "id": 104414,
      "sectorId": 226,
      "symbol": "CPS",
      "indexCode": "2020",
      "indexCodeSp": "SPCSECPP",
      "indexName": "S&P/CSE Commercial & Professional Services Industry Group Index",
      "name": "Commercial & Professional Services",
      "indexValue": 2344.49,
      "change": -5.2,
      "percentage": -0.2213057892743298,
      "sectorTradeToday": 133.0,
      "sectorVolumeToday": 101042,
      "sectorTurnoverToday": 1961817.55,
      "sectorPreviousClose": 2349.69,
      "transactionTime": 1784192337063
    },
    {
      "id": 104421,
      "sectorId": 227,
      "symbol": "TRP",
      "indexCode": "2030",
      "indexCodeSp": "SPCSETP",
      "indexName": "S&P/CSE Transportation Industry Group Index",
      "name": "Transportation",
      "indexValue": 98539.91,
      "change": 1328.78,
      "percentage": 1.3669010945557365,
      "sectorTradeToday": 70.0,
      "sectorVolumeToday": 54652,
      "sectorTurnoverToday": 7647013.9,
      "sectorPreviousClose": 97211.13,
      "transactionTime": 1784192077390
    },
    {
      "id": 104419,
      "sectorId": 228,
      "symbol": "A&C",
      "indexCode": "2510",
      "indexCodeSp": "SPCSEAMP",
      "indexName": "S&P/CSE Automobiles & Components Industry Group Index",
      "name": "Automobiles & Components",
      "indexValue": 1172.92,
      "change": -6.7,
      "percentage": -0.5679795188280972,
      "sectorTradeToday": 32.0,
      "sectorVolumeToday": 13815,
      "sectorTurnoverToday": 1214435.5,
      "sectorPreviousClose": 1179.62,
      "transactionTime": 1784191780280
    },
    {
      "id": 104415,
      "sectorId": 229,
      "symbol": "CDA",
      "indexCode": "2520",
      "indexCodeSp": "SPCSECAP",
      "indexName": "S&P/CSE Consumer Durables & Apparel Industry Group Index",
      "name": "Consumer Durables & Apparel",
      "indexValue": 1854.15,
      "change": -21.76,
      "percentage": -1.1599703610514365,
      "sectorTradeToday": 209.0,
      "sectorVolumeToday": 81351,
      "sectorTurnoverToday": 4657581.3,
      "sectorPreviousClose": 1875.91,
      "transactionTime": 1784192200876
    },
    {
      "id": 104410,
      "sectorId": 230,
      "symbol": "CS",
      "indexCode": "2530",
      "indexCodeSp": "SPCSECSP",
      "indexName": "S&P/CSE Consumer Services Industry Group Index",
      "name": "Consumer Services",
      "indexValue": 530.3,
      "change": 0.18,
      "percentage": 0.03395457632234211,
      "sectorTradeToday": 388.0,
      "sectorVolumeToday": 599261,
      "sectorTurnoverToday": 6109209.2,
      "sectorPreviousClose": 530.12,
      "transactionTime": 1784192393311
    },
    {
      "id": 104412,
      "sectorId": 232,
      "symbol": "RET",
      "indexCode": "2550",
      "indexCodeSp": "SPCSERP",
      "indexName": "S&P/CSE Retailing Industry Group Index",
      "name": "Retailing",
      "indexValue": 3034.15,
      "change": 14.69,
      "percentage": 0.4865108330628655,
      "sectorTradeToday": 490.0,
      "sectorVolumeToday": 679336,
      "sectorTurnoverToday": 48290753.7,
      "sectorPreviousClose": 3019.46,
      "transactionTime": 1784192384676
    },
    {
      "id": 104422,
      "sectorId": 233,
      "symbol": "FSR",
      "indexCode": "3010",
      "indexCodeSp": "SPCSEFRP",
      "indexName": "S&P/CSE Food & Staples Retailing Industry Group Index",
      "name": "Food & Staples Retailing",
      "indexValue": 3887.24,
      "change": 9.38,
      "percentage": 0.2418859886638507,
      "sectorTradeToday": 38.0,
      "sectorVolumeToday": 42510,
      "sectorTurnoverToday": 1363316.4,
      "sectorPreviousClose": 3877.86,
      "transactionTime": 1784191910731
    },
    {
      "id": 104409,
      "sectorId": 234,
      "symbol": "FBT",
      "indexCode": "3020",
      "indexCodeSp": "SPCSEFBP",
      "indexName": "S&P/CSE Food, Beverage & Tobacco Industry Group Index",
      "name": "Food, Beverage & Tobacco",
      "indexValue": 2311.21,
      "change": 9.17,
      "percentage": 0.39834233983770917,
      "sectorTradeToday": 1518.0,
      "sectorVolumeToday": 3600729,
      "sectorTurnoverToday": 79879346.4,
      "sectorPreviousClose": 2302.04,
      "transactionTime": 1784192400858
    },
    {
      "id": 104420,
      "sectorId": 235,
      "symbol": "HPP",
      "indexCode": "3030",
      "indexCodeSp": "SPCSEHPP",
      "indexName": "S&P/CSE Household & Personal Products Industry Group Index",
      "name": "Household & Personal Products",
      "indexValue": 1419.62,
      "change": -22.42,
      "percentage": -1.5547418934287538,
      "sectorTradeToday": 33.0,
      "sectorVolumeToday": 23751,
      "sectorTurnoverToday": 469903.2,
      "sectorPreviousClose": 1442.04,
      "transactionTime": 1784191806146
    },
    {
      "id": 104408,
      "sectorId": 236,
      "symbol": "HES",
      "indexCode": "3510",
      "indexCodeSp": "SPCSEHSP",
      "indexName": "S&P/CSE Health Care Equipment & Services Industry Group Index",
      "name": "Health Care Equipment & Services",
      "indexValue": 1894.27,
      "change": -3.31,
      "percentage": -0.17443269848965526,
      "sectorTradeToday": 351.0,
      "sectorVolumeToday": 822947,
      "sectorTurnoverToday": 8816916,
      "sectorPreviousClose": 1897.58,
      "transactionTime": 1784192393345
    },
    {
      "id": 104411,
      "sectorId": 238,
      "symbol": "BNK",
      "indexCode": "4010",
      "indexCodeSp": "SPCSEBP",
      "indexName": "S&P/CSE Banks Industry Group Index",
      "name": "Banks",
      "indexValue": 1699.84,
      "change": -0.25,
      "percentage": -0.014705103847443371,
      "sectorTradeToday": 2430.0,
      "sectorVolumeToday": 2450934,
      "sectorTurnoverToday": 270631827.4,
      "sectorPreviousClose": 1700.09,
      "transactionTime": 1784192400788
    },
    {