-1

Is it possible to get the top 10 autocomplete words from google search? I need this to work like this example: I type a word in google search, example:ear and google is returning suggestions so you can complete your query, example returning words: ear wax, ear piercing, ear infection etc.. So I would like to get the top 10 returning words from google in JAVA

Darko Petkovski
  • 3,892
  • 13
  • 53
  • 117

2 Answers2

0

I think there is no official documented API for what you are trying to do. However, a call to this http://suggestqueries.google.com/complete/search?client=firefox&q=ear will output your expected words.

After some searching, this blogpost explains it pretty well.

Andrei Catinean
  • 863
  • 10
  • 15
0

There are many posts about how to access the Google search API to get autocomplete candidates. For example just by googling I found Google Search autocomplete API?.

I don't see how your question is really specific to either Android or Java though. If you don't know how to make a HTTP request from Android, then I think that should be a separate question (which, honestly you will also find by searching old questions).

Community
  • 1
  • 1
JHH
  • 8,567
  • 8
  • 47
  • 91