Unofficial CSE API Docs

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

POST /getGeneralAnnouncementById

disclosures probe ok

Detail by id (empty {} for unknown ids). Used by cse.lk UI.

Used by UI: —

Last probe status: 200 · expect [200, 204]

curl

curl -sS -X POST 'https://www.cse.lk/api/getGeneralAnnouncementById' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -H 'Origin: https://www.cse.lk' -H 'Referer: https://www.cse.lk/' \
  -d 'announcementId=1'

Known failures

Fields

Sample

{
  "_probe": {
    "id": "getGeneralAnnouncementById",
    "url": "https://www.cse.lk/api/getGeneralAnnouncementById",
    "method": "POST",
    "status": 200,
    "verified_at": "2026-07-16T16:34:42.388509+00:00",
    "fingerprint": {
      "type": "object",
      "keys": []
    }
  },
  "response": {}
}