28 lines
1.8 KiB
Markdown
28 lines
1.8 KiB
Markdown
# SECURITIES_API_URL
|
|
|
|
- **URL:** https://api.sgx.com/securities/v1.1
|
|
- **Status:** 200
|
|
- **Classification:** ACCESSIBLE
|
|
- **Content-Type:** application/json
|
|
- **Content-Length:** 929855 bytes
|
|
- **Elapsed:** 0.106 s
|
|
- **Probed at:** 2026-06-24T09:39:58.517503+00:00
|
|
## Notes
|
|
|
|
This is the primary market-data endpoint. The frontend never calls the bare base URL; it appends resource paths and `params` projections.
|
|
|
|
- **Market aggregates:** `/aggregate/`, `/aggregate/volume?securitytype=stocks`, `/aggregate/value?securitytype=stocks`.
|
|
- **Sector heat map:** `/sectorbreakdown` (20 SSIC sectors with `change`/`changePercentage`).
|
|
- **Circuit breakers:** `/circuitbreaker`.
|
|
- **Top movers:** `/advancers/{stocks,reits,etfs,structuredwarrants,dlcertificates}/{N}/v?params=...`.
|
|
- **ETF snapshot:** `/etfs?params=n,nc,cx,lt,c,p,vl,v,sc`.
|
|
- **Full screener:** `/?excludetypes=bonds&pagestart=0&pagesize=500&sort=vl&sortdir=desc¶ms=...`.
|
|
- **Reference snapshot:** `/?params=nc,n,type,ls,m,sc,bl,sip,ex,ej,clo,cr,cur,el,r,i,cc,ig,lf`.
|
|
- **Full quote snapshot:** `/?params=nc,adjusted-vwap,bond_accrued_interest,bond_clean_price,bond_dirty_price,bond_date,b,bv,p,c,change_vs_pc,change_vs_pc_percentage,cx,cn,dp,dpc,du,ed,fn,h,iiv,iopv,lt,l,o,p_,pv,ptd,s,sv,trading_time,v_,v,vl,vwap,vwap-currency`.
|
|
- **Per-stock quote:** `/stocks/code/{code}?ts={timestamp}`.
|
|
- **Stock charts (use these instead of `V1_CHART_API_URL`):**
|
|
- `/charts/historic/stocks/code/{code}/{1w,1m,1y,5y}?params=trading_time,vl,lt`
|
|
- `/charts/intraday/stocks/code/{code}/1d?params=trading_time,vl,lt`
|
|
- **Bond endpoints:** `/bonds?params=...`, `/retailbonds/code/{code}?params=...`, `/retailpreferenceshares/code/{code}?params=...`, `/charts/historic/retailbonds/code/{code}/{period}?params=...`.
|
|
- Always include `Origin: https://www.sgx.com` and `Referer: https://www.sgx.com/`.
|