Search

Searches for keywords and returns a list of relevant places.

Url

Method: GET

  https://sg-maps.track-asia.com/api/v1/search

Example

https://sg-maps.track-asia.com/api/v1/search?lang=en&text=kfc&key=public_key
https://sg-maps.track-asia.com/api/v1/search?lang=en&text=kfc&key=public_key&focus.point.lat=1.442841&focus.point.lon=103.791271

Parameters

ParameterValuesDescriptionExample
langTarget languageThe target language code in the BCP47 standard. Only the language subtag information is used to set the target language e.g. enen
textString (required)Representing what a user has typedkfc
sizeNumberThe number of results returned
focus.point.lat{latitude}Latitude to focus search based on geographic area1.442841
focus.point.lon{longitude}Longitude to focus search based a geographical area103.791271
keyString (required)API keypublic_key