| # | Code | LTP | High | Low | YCP | Change | Trade | Value | Volume |
|---|---|---|---|---|---|---|---|---|---|
|
Loading data... |
|||||||||
/api/stocks
Get cached stock data
/api/stocks/live
Get freshly scraped data from DSE
/api/stocks/scrape
Trigger manual scraping
/api/stocks/:code/history?days=30
Get historical data for a stock
/api/stocks/json
Download data as JSON
/api/stocks/csv
Download data as CSV
/api/live
Get latest data from database (for UI)
/api/scheduler/start
Start local scheduler (optional)
/api/scheduler/stop
Stop local scheduler
/api/cron/scrape
Vercel cron job (automatic every 5 min)