Singapore haze (PSI / PM2.5)
get_hazeGet current Singapore haze data for your nearest PSI region, including 24-hr PSI, PM2.5, NEA advisory, and all five regions for comparison.
Instructions
Current haze for the caller's nearest PSI region: 24-hr PSI, 1-hr PM2.5, 24-hr PM2.5/PM10, the NEA band and health advisory, plus all five regions for comparison. Data: NEA via data.gov.sg, refreshed hourly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | Geolocate this IP instead of the machine's own public IP. | |
| lat | No | Latitude, if the caller already knows where they are (skips IP lookup). | |
| lon | No | Longitude, paired with lat. | |
| lang | No | Language for labels and health advice. Defaults to SG_HAZE_LANG or 'en'. | |
| region | No | Force a PSI region instead of locating the caller: north, south, east, west or central. |