getRecommendations

GET

getRecommendations

Searches across various tourism sectors to provide data-driven recommendations based on visitor profiles and interests.

Resource URL

https://tih-api.stb.gov.sg/service/v1 /content/recommendations

Query Parameters

Name Values Description
nationality

Return recommendations based on nationality. Possible values: [AU | CN | DE | GB | ID | IN | JP | KR | MY | PH | TH | TW | US | VN | Others]. When unspecified, the default nationality is 'Others'.

interest

Filter recommendations based on interests. Possible values: [arts_culture | entertainment_nightlife | food | history_heritage | shopping | sport_outdoors]. Multiple interests may be selected, separated by a comma e.g. 'food,shopping'.

dataset

Filter recommendations based on content categories. Possible values: [accommodation | attractions | bars_clubs | event | food_beverages | shops | tour | venue | walking_trail]. Multiple categories may be selected, separated by a comma, e.g. 'attractions,shops,food_beverages'.

rating

Filter recommendations by Google rating. Possible values: 0, 1, 2, 3, 4, 5. An input of “3”, will return Point of Interests (POIs) of Google rating 3 and above.

location

Filter recommendations by location. Input format: [latitude,longitude], e.g. '1.2835627,103.8584985'.

radius

Filter recommendations based on distance (in metres) from the pre-defined location; this parameter can only be used when ‘location’ parameter is specified. When unspecified, the default distance is 5000 metres from specified ‘location’.

openNow

Filter recommendations based on POIs which are currently open. Possible values: [true | false].

Try it out

HTTP Basic

OAuth 2.0

API Key

RESET

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Response Error Details

HTTP Code Error Code Description
400 Bad Request
401 Unauthorized
404 Not found
410 XSS Threat Detected

Resource Summary

Security Category

Working...