Haze Day 烟霾助手中文

Developers: public haze data endpoints (JSON)

The endpoints are public, need no key, allow cross-origin requests and are cached for about 5 minutes. Please do not poll aggressively, and credit the data sources.

Endpoints

/api/now?place=sgReading, weather, causes, advice and trend for a city
/api/now?lat=1.35&lon=103.82Any coordinates (inside Singapore it uses the nearest NEA region)
/api/newsAggregated haze headlines (title, outlet, link)
/api/map/grid?lat=1.35&lon=103.82Regional PM2.5 model grid (-12 h to +24 h) and 1.5 km wind
/api/map/hotspotsLast-24-hour fire detections [lat, lon, power]
curl "https://haze.day/api/now?place=sg" | jq '{pm25, basis, advice: [.advice[] | {id, verdict}]}'

Units: PM2.5 in µg/m³. basis is official or modelled (a model estimate, not official).

Attribution and terms

Each data source is explained on the data sources pages; an index for AI tools is at llms.txt.

General information, not medical advice. Follow your doctor and your school, league or organiser's final call. Data come from official sources; see data sources.