Files
sgx_scrapper/doc/endpoints/ANNOUNCEMENTS_API_URL_meta.md
T

1.6 KiB

ANNOUNCEMENTS_API_URL

  • URL: https://api.sgx.com/announcements/v1.1/

  • Status: 401

  • Classification: BLOCKED

  • Content-Type: application/json

  • Content-Length: 46 bytes

  • Elapsed: 0.0 s

  • Probed at: 2026-06-24T09:39:30.987268+00:00

  • Error: HTTPError: HTTP Error 401: Unauthorized

  • Block reasons: HTTP 401

Notes

Browser recon showed this endpoint is usable once the required headers and sub-paths are supplied.

  • Headers: send Origin: https://www.sgx.com and Referer: https://www.sgx.com/ (or the matching investors.sgx.com variants). The api.sgx.com/announcements/v1.1/* paths additionally require an authorizationtoken header. The token is hard-coded in the SGX frontend bundle; treat it as a credential and do not commit it in plain text.
  • Filter / dependent calls: call /companylist and /securitylist first to populate issuer/security filter dropdowns.
  • Useful patterns:
    • /count?periodstart={ts}&periodend={ts} — total announcements in a date window.
    • /?periodstart={ts}&periodend={ts}&pagestart=0&pagesize=20 — paginated list.
    • /summary/company?periodstart={ts}&cat={cat} or &sub={sub1,sub2,...} — category summary (ANNC, CACT, PLST, TRAD).
    • /securitycode?value={code}&cat=ANNC&securityCodeParams=securitycode&sub=ANNC17&pagestart=0&pagesize=250&periodstart={ts} — per-stock announcements (used by investors.sgx.com).
  • Timestamp format is yyyyMMdd_HHmmss (e.g. 20260624_160000). The bare /announcements/v1.1/ path returns HTTP 401 only because the auth header is missing.