Skip to content Skip to sidebar Skip to footer

Google Places Api Returning Only 5 Results

I am using Google places API, It returns only top 5 search results. Is there any way to increase the count. e.g. URL I have searched for keyword 'new' https://maps.googleapis.com/

Solution 1:

From the documentation:

A JSON response contains two root elements:

"status" contains metadata on the request. See Status Codes below.

"predictions" contains an array of places, with information about the place. The Places API returns up to 5 results.

Source: https://developers.google.com/places/web-service/autocomplete#place_autocomplete_responses

Solution 2:

Post a Comment for "Google Places Api Returning Only 5 Results"