Comment on page
API v1
API v2 for the following method is coming soon!
In the meantime - this API will be supported beyond Nov 15, 2023
We are in the process of migrating towards an updated data.gov.sg, which includes updating the APIs as seen in the API v2 page, which will allow users to query both Collections and Datasets.
In the meantime, do note that we will continue to support the following API v1, which references the legacy nomenclature.
Note that the following API uses the domain
https://data.gov.sg/api/action/
For example:
This API allows you to search for data within a dataset
Do note that theresource
parameter refers to the updated nomenclature ofdataset
. For example,resource_id
refers todataset_id
per above.We encourage you to use thedataset_id
found on data.gov.sg, but legacyresource_id
will also be supported at the moment.
get
https://data.gov.sg/api/action
/datastore_search
Search data in a resource
Last modified 1mo ago