QUICK TIP

Data as a Service APIs allow developers to access Singapore tourism related datasets via an API key. Examples of datasets include Visitor Arrivals and Hotel Landscape.

Request for an API key under My Profile → API Key Request page.

Accommodation

Method
Description

GET

Get Accommodation By Resource Id

https://tih-api.stb.gov.sg/analytics/accommodation/open/v1/data

Retrieve data for a single resource under Accommodation by providing the resource identifier (resourceId). You may use the datasetId to query for the resourceId from List Resources By Dataset API. The datasetId may be obtained from List Datasets By Topic API.

Attractions

Method
Description

GET

Get Attractions By Resource Id

https://tih-api.stb.gov.sg/analytics/attractions/open/v1/data

Retrieve data for a single resource under Attractions by providing the resource identifier (resourceId). You may use the datasetId to query for the resourceId from List Resources By Dataset API. The datasetId may be obtained from List Datasets By Topic API.

Bars and Clubs

Method
Description

GET

Get Bars and Clubs By Resource Id

https://tih-api.stb.gov.sg/analytics/bars-and-clubs/open/v1/data

Retrieve data for a single resource under Bars and Clubs by providing the resource identifier (resourceId). You may use the datasetId to query for the resourceId from List Resources By Dataset API. The datasetId may be obtained from List Datasets By Topic API.

Cruises

Method
Description

GET

Get Cruises By Resource Id

https://tih-api.stb.gov.sg/analytics/cruises/open/v1/data

Retrieve data for a single resource under Cruises by providing the resource identifier (resourceId). You may use the datasetId to query for the resourceId from List Resources By Dataset API. The datasetId may be obtained from List Datasets By Topic API.

Events

Method
Description

GET

Get Events By Resource Id

https://tih-api.stb.gov.sg/analytics/events/open/v1/data

Retrieve data for a single resource under Events by providing the resource identifier (resourceId). You may use the datasetId to query for the resourceId from List Resources By Dataset API. The datasetId may be obtained from List Datasets By Topic API.

Food and Beverages

Method
Description

GET

Get Food and Beverages By Resource Id

https://tih-api.stb.gov.sg/analytics/food-and-beverages/open/v1/data

Retrieve data for a single resource under Food and Beverages by providing the resource identifier (resourceId). You may use the datasetId to query for the resourceId from List Resources By Dataset API. The datasetId may be obtained from List Datasets By Topic API.

Other Travel Services

Method
Description

GET

Get Other Travel Services By Resource Id

https://tih-api.stb.gov.sg/analytics/other-travel-services/open/v1/data

Retrieve data for a single resource under Other Travel Services by providing the resource identifier (resourceId). You may use the datasetId to query for the resourceId from List Resources By Dataset API. The datasetId may be obtained from List Datasets By Topic API.

Others

Method
Description

GET

Get Others By Resource Id

https://tih-api.stb.gov.sg/analytics/others/open/v1/data

Retrieve data for a single resource under Others by providing the resource identifier (resourceId). You may use the datasetId to query for the resourceId from List Resources By Dataset API. The datasetId may be obtained from List Datasets By Topic API.

Precincts

Method
Description

GET

Get Precincts By Resource Id

https://tih-api.stb.gov.sg/analytics/precincts/open/v1/data

Retrieve data for a single resource under Precincts by providing the resource identifier (resourceId). You may use the datasetId to query for the resourceId from List Resources By Dataset API. The datasetId may be obtained from List Datasets By Topic API.

Malls and Shops

Method
Description

GET

Get Shops By Resource Id

https://tih-api.stb.gov.sg/analytics/malls-and-shops/open/v1/data

Retrieve data for a single resource under Malls and Shops by providing the resource identifier (resourceId). You may use the datasetId to query for the resourceId from List Resources By Dataset API. The datasetId may be obtained from List Datasets By Topic API.

Tours

Method
Description

GET

Get Tours By Resource Id

https://tih-api.stb.gov.sg/analytics/tours/open/v1/data

Retrieve data for a single resource under Tours by providing the resource identifier (resourceId). You may use the datasetId to query for the resourceId from List Resources By Dataset API. The datasetId may be obtained from List Datasets By Topic API.

Venues

Method
Description

GET

Get Venues By Resource Id

https://tih-api.stb.gov.sg/analytics/venues/open/v1/data

Retrieve data for a single resource under Venues by providing the resource identifier (resourceId). You may use the datasetId to query for the resourceId from List Resources By Dataset API. The datasetId may be obtained from List Datasets By Topic API.

Visitors

Method
Description

GET

Get Visitors By Resource Id

https://tih-api.stb.gov.sg/analytics/visitors/open/v1/data

Retrieve data for a single resource under Visitors by providing the resource identifier (resourceId). You may use the datasetId to query for the resourceId from List Resources By Dataset API. The datasetId may be obtained from List Datasets By Topic API.

Walking Trails

Method
Description

GET

Get Walking Trails By Resource Id

https://tih-api.stb.gov.sg/analytics/walking-trails/open/v1/data

Retrieve data for a single resource under Walking Trails by providing the resource identifier (resourceId). You may use the datasetId to query for the resourceId from List Resources By Dataset API. The datasetId may be obtained from List Datasets By Topic API.

General

Method
Description

GET

List Datasets By Topic

https://tih-api.stb.gov.sg/analytics/common/open/v1/datasets

Retrieve the full list of datasets available on Data Marketplace by providing the topic, such as accommodation or visitors.

GET

List Resources By Dataset

https://tih-api.stb.gov.sg/analytics/common/open/v1/resources

Retrieve the full list of resources and respective metadata within a dataset available on Data Marketplace, by providing the dataset identifier (datasetId). The datasetId may be obtained from the List Datasets By Topic API.