Places API Text Search

Raja Tamil
1 min readAug 31, 2020

Text search is a part of Google Places API as well.

Text Search Request returns a set of places based on the text query string.

For Example: “Restaurants in Toronto“

Text Search Request Base URL

https://maps.googleapis.com/maps/api/place/textsearch/

Request URL Parameter (Required)

Request Query Parameters (Required)

Sample URL Request To Text Search

https://maps.googleapis.com/maps/api/place/textsearch/json?key=[YOURAPIKEY]&query=restaurants-in-toronto

Text Search Response JSON Object

--

--

Raja Tamil

👇click the link and get 80% OFF on the premium web development courses (HTML5, CSS3, JavaScript ES6, Vue JS 3 & Firebase 10 https://softauthor.com