Question

This has been asked once before about a year ago but no one could provide any answers.

If you go to Google and search for any key, for example "Soccer", at the very end of the search results there is a list:

Searches related to soccer
soccer live
soccer results
soccer games
soccer direct
soccer sports
soccer manager
soccer am
soccer heads

Is it possible to get this list by using the Google custom search XML API?

I am querying

http://www.google.com/cse?cx=myKey&client=google-csbe&output=xml_no_dtd&q=soccer

And the XML contains no such section.

There is in the documentation (which is here) a way to query URLs that are related to a particular URL but there is not way to query search keys that are related to a particular search key.

So how does google do it and is this functionality not exposed via the API?

Was it helpful?

Solution

Google Custom Search is about searching webpages, not suggesting similar or related terms. It offers autocompletion though, if this is enough for your needs.

There are other APIs that do suggesting, e.g. http://www.veryrelated.com/related-api-v1-docs.php.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top