Dataset APIs
To find the datasetId, refer to the URL of dataset.
For this dataset:
https://beta.data.gov.sg/collections/522/datasets/d_11e68bba3b3c76733475a72d09759eeb/view
or
https://beta.data.gov.sg/datasets/d_11e68bba3b3c76733475a72d09759eeb/view
The datasetId is:
d_11e68bba3b3c76733475a72d09759eeb
Dataset Search
This API allows you to search for data within a dataset or scan through the rows of the dataset in a paginated manner.
Note that the following API uses the domain: https://data.gov.sg
For example:
https://data.gov.sg/api/action/datastore_search
If you're looking to query the following dataset: https://beta.data.gov.sg/datasets/d_8b84c4ee58e3cfc0ece0d773c8ca6abc/view Please refer to the URL from the dataset page, taking the dataset_id (starting with d_...), and passing that into your datastore search API query as shown below: https://data.gov.sg/api/action/datastore_search?resource_id=d_8b84c4ee58e3cfc0ece0d773c8ca6abc
Datasets Listing
This API returns a list of all the datasets available on data.gov.sg
Dataset Metadata
This API returns the metadata of a single dataset
Last updated