android – Google places API returning only 5 results-ThrowExceptions

Exception or error:

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”

How to solve:

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.



Google specifies that they only give up to 5 results for place API.
You can check below image where google accepts this. Google Place API Doc

Leave a Reply

Your email address will not be published. Required fields are marked *