30

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/maps/api/place/autocomplete/json?input=new&types=%28regions%29&sensor=false&key=API_KEY

Areg
  • 1,414
  • 1
  • 19
  • 39
Jitender Dev
  • 6,907
  • 2
  • 24
  • 35

2 Answers2

25

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

Dao Xio
  • 148
  • 11
Joel Fernandes
  • 4,776
  • 2
  • 26
  • 48
  • I have gone through the document and and found the same. Thanks. – Jitender Dev Dec 27 '13 at 15:23
  • 2
    @codeRider did you find any solution for this..? I just gone through that above mentioned link.. :( – SureshCS50 Aug 28 '15 at 07:42
  • 1
    @codeRider even I have a same quetion. Actually I used to get more than 5 results previously. But suddenly I am getting only 5 results returning by google. – Pavan Alapati Apr 12 '17 at 07:22
  • 3
    You can retrieve all reviews if you're the business owner using Google My Business API. https://developers.google.com/my-business/content/review-data#list_all_reviews – Aaron Cicali Jun 20 '18 at 17:21
1

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 Image

P A Gosai
  • 553
  • 5
  • 22