NEA 2-Hour Weather Forecast
Area-level weather forecast for the next 2 hours across 47 Singapore planning areas, refreshed every 30 minutes. Returns forecast text (e.g. Thundery Showers) plus label coordinates per area.
How to authenticate
3 stops to a working call
- 1No key needed; the endpoint is public.
- 2Optional: create an account at data.gov.sg and request an API key for higher rate limits.
- 3If you have a key, send it in the x-api-key header.
Example request
curl 'https://api-open.data.gov.sg/v2/real-time/api/two-hr-forecast'Example response
{"code":0,"data":{"area_metadata":[{"name":"Ang Mo Kio","label_location":{"longitude":103.839,"latitude":1.375}}]}}NEA 2-Hour Weather Forecast: common questions
Is the NEA 2-Hour Weather Forecast free?
Yes. NEA via data.gov.sg offers the NEA 2-Hour Weather Forecast free of charge.
Does the NEA 2-Hour Weather Forecast need an API key?
No. The NEA 2-Hour Weather Forecast can be called without an API key or login.
What is the NEA 2-Hour Weather Forecast endpoint?
The base URL is https://api-open.data.gov.sg/v2/real-time/api/two-hr-forecast. A working example: curl 'https://api-open.data.gov.sg/v2/real-time/api/two-hr-forecast'
Notes for AI agents
v2 (api-open.data.gov.sg) is the current API; the older v1 at api.data.gov.sg/v1/environment/2-hour-weather-forecast still works too. Add ?date=YYYY-MM-DD for historical.
Machine-readable version: /api/apis/nea-2hr-weather-forecast
On the same line
NEA 24-Hour Weather Forecast
NEA via data.gov.sg
General 24-hour outlook for Singapore with per-region (north, south, east, west, central) forecasts in time blocks, plus temperature, humidity and wind ranges. Updated multiple times a day.
NEA Dengue Clusters (GeoJSON)
NEA via data.gov.sg
Current dengue cluster boundaries as GeoJSON, published by NEA and refreshed on data.gov.sg. Fetch via the dataset poll-download API which returns a signed S3 download URL.
NEA PSI (Pollutant Standards Index)
NEA via data.gov.sg
Hourly PSI and pollutant concentration readings (PM2.5, PM10, SO2, CO, O3, NO2) for the five regions of Singapore. The go-to source during haze season.
NEA Real-Time Air Temperature
NEA via data.gov.sg
Air temperature readings in degrees Celsius from island-wide NEA stations, updated every minute. Useful for hyperlocal current conditions.