searchKeywordByMultiDataset

get

searchKeywordByMultiDataset

Provide the ability to search through multiple datasets for a specific keyword.

Resource URL

https://tih-api.stb.gov.sg/content /v1/search/all

Query Parameters

Name Values Description
dataset
(required)

Dataset which the search will be executed on. Accept one or more comma-delimited string of dataset. (accommodation, attractions, bars_clubs, cruises, event, food_beverages, precincts, shops, tour, venue, walking_trail).
Validation: valid dataset(s)

keyword

Keyword to look for within name, description, body and tags when performing the search function.
Max: 255 characters

filtersource

Filter the content based on specific source or multiple sources by using a comma-delimited string of values.
Max: 255 characters
Validation: valid content source & case sensitive
E.g. stb, other content source(s)

sortBy

Field name to sort (name, rating, source, lastupdateddate ).
Validation: Acceptable value

sortOrder

Sort order [asc | desc].
Validation: acceptable sort order value

nextToken

Parameter to obtain the subsequent set of 20 records. The parameter is pulled directly from the output response provided by the API and should not be modified.
Max: 255 characters

language

Supported language [en | zh-cn | zh-tw | ja | ko].
Validation: acceptable language code

distinct

Filters content to remove duplicated Places of Interest.
Distinct value [Yes | No].
Validation: acceptable distinct value

startDate

Event start date.
Max: 255 characters
Validation: date format in YYYY-MM-DD

endDate

Event end date.
Max: 255 characters
Validation: date format in YYYY-MM-DD

group

Retrieve Points of Interest related to wellness (Wellness), SG Clean certification (SGClean) or Singapore Tourism Awards (STA) by using the group value(s) (Wellness, SGClean, STA). Provide one value or a comma-delimited string of values.
Max: 255 characters
E.g. Wellness,SGClean,STA

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 400 Bad request
401 401 Unauthorized
404 404 Not Found

Resource Summary

Security Category

General

Working...