A Singapore Government Agency Website
Official website links end with .gov.sg
Government agencies communicate via .gov.sg websites (e.g. go.gov.sg/open). Trusted websites

Secure websites use HTTPS

Look for a lock () or https:// as an added precaution. Share sensitive information only on official, secure websites.

Get ready for GE2025 by exploring the new electoral boundaries and more in our interactive map.

HomeDatasets

Historical 4-day Weather Forecast

Historical 4-day Weather Forecast

Historical 4 day outlook weather forecast data for Singapore. The data includes various attributes related to the forecast, such as forecast date, wind speed, relative humidity, temperature, and forecast descriptions. All timestamps are provided in Singapore Time (SGT), formatted in ISO 8601.

Please note that some dates may be missing from the dataset. We are currently in the process of back-filling these missing records to provide a more complete dataset.

9 related datasets

Related datasets are grouped into a collection based on themes, topics or common attributes for easier access and exploration. All datasets within a collection are published and managed by the same agency.

Sample OpenAPI query

This code can be used to test a sample API query. It retrieves the metadata for this collection. For a complete guide on query parameters and syntax, please refer to the API documentation. Try it out on your browser to see the response schema.

import requests
          
collection_id = 2212          
url = "https://api-production.data.gov.sg/v2/public/api/collections/{}/metadata".format(collection_id)
        
response = requests.get(url)
print(response.json())