Is there an API available for Google's Related Search Queries? [closed]

守給你的承諾、 提交于 2019-11-28 23:23:32

问题


When I search for Clooney at google.com a number of related search queries are suggested at the bottom:

Searches related to clooney
clooney movies
clooney girlfriend
rosemary clooney
nick clooney
clooney oscar
obama clooney
clooney fundraiser
betty clooney

I would like to receive this list programmatically for a single or a list of keywords. Is any such API available?


回答1:


Unfortunately, Google has sunset the Related Queries API. There are similar and semi-similar APIs though.

I am not affiliated with any of these, and haven't used any of them.

Similarweb provides an API to find domains that are similar to passed domains. It's not the same as search terms, but if you know which domains you wish to compare, that is an option. It is not a free service though.

Another pay service is from KeywordDiscovery and their related keywords.

Yahoo! provides a related search service. It is not free, and will return 10 results per query. This is part of their BOSS search product.




回答2:


No, Google doesn't have any public API that you can use to retrieve a list of related URLs programmatically. But if you can settle for an alternative, then Bing has a public API for a similar purpose:

http://api.bing.com/osjson.aspx?query=clooney



回答3:


The Freebase API is an open source knowledge graph that contains the publicly available part of the knowledge base that Google uses to populate there related queries list.

It is actually released by Google however contains only a subset of there full knowledge graph due to legal restrictions from some of there data sources.

Search results can be queried programmatically using HTTP and JSON or there is a variety of programming language client libraries

Here is the default JSON result for the 'clooney' example given in the question. Which could be filtered via the API and used as seeds for branching the search depending on the usecase.




回答4:


Try out the Google Webmaster Tools. It has a bunch of methods that help manage queries!

https://www.google.com/webmasters/tools/home?hl=en



来源:https://stackoverflow.com/questions/20655207/is-there-an-api-available-for-googles-related-search-queries

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!