Real Time APIs
Example Request For Real Time API
The full list of Realtime APIs are available at: https://data.gov.sg/datasets?formats=API
https://api-open.data.gov.sg/v2/real-time/api/pm25
Updated hourly from NEA.
Readings are provided for each major region in Singapore
Filter for specific date or date-time by providing
datein query parameter.use YYYY-MM-DD format to retrieve all of the readings for that day
use YYYY-MM-DDTHH:mm:ss to retrieve the latest readings at that moment in time
example:
?date=2024-07-16or?date=2024-07-16T23:59:00
If
dateis not provided in query parameter, API will return the latest reading
The
region_metadatafield in the response provides longitude/latitude information for the regions. You can use that to place the readings on a map.Unit of measure for readings is
µg/m3.
SGT date for which to retrieve data (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS)
Pagination token for retrieving subsequent data pages (only exists when there is a next page available for requests with date filters)
PM 2.5 Information
Invalid HTTP request body
Weather data not found
Last updated
Was this helpful?