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.

Heritage Trails

Updated 5 months ago

NHB (National Heritage Board)

Heritage Trails are National Heritage Board’s ongoing efforts to document and present the history and social memories of places in Singapore. We hope the trails will bring back fond memories for those who have worked, lived or played in the areas, and serve as a useful source of information for visitors and new residents.

Sample OpenAPI query

This code can be used to test a sample API query. It retrieves the data catalogue of this dataset. For a complete guide on query parameters and syntax, please refer to the API documentation

import requests
          
dataset_id = "d_e12a738c0dab18d7ab9b60c255ba697d"
url = "https://api-open.data.gov.sg/v1/public/api/datasets/" + dataset_id + "/poll-download"
        
response = requests.get(url)
json_data = response.json()
if json_data['code'] != 0:
    print(json_data['errMsg'])
    exit(1)

url = json_data['data']['url']
response = requests.get(url)
print(response.text)

Citation

This dataset can be reused and cited in research publications.

National Heritage Board. (2024). Heritage Trails (2024) [Dataset]. data.gov.sg. Retrieved November 22, 2024 from https://data.gov.sg/datasets/d_e12a738c0dab18d7ab9b60c255ba697d/view

About this dataset

Contact

cai_zejun@nhb.gov.sg

Created on

22 Feb 2024

Licence

Free forever for personal or commercial use, under the Open Data Licence.

Agency

NHB (National Heritage Board)

Dataset usage

4
Views
655
Downloads
1
API calls