GOOGLE CUSTOM SEARCH API - (searches related to function)

别来无恙 提交于 2019-12-11 06:29:15

问题


I need your help. I am looking to create a custom search engine.

I am currently looking at using the Google Custom search API. I tried looking into this but I couldn't find anything concrete.

Is there any way to setup related search words on a Google Custom search website? Is there any API that can generate "searches related to"?


回答1:


Yes, there is a service by SimilarSites which outputs data very similar to the Google Related API, but they use their own proprietary algos.




回答2:


I'm not pretty sure what you mean by "searches related to". Nevertheless for every single request in CSE API you can specify the following parameters:

  1. linkSite - "Specifies that all search results should contain a link to a particular URL".
  2. relatedSite - "Specifies that all search results should be pages that are related to the specified URL".
  3. orTerms - "Provides additional search terms to check for in a document, where each document in the search results must contain at least one of the additional search terms".
  4. hq - "Appends the extra query terms to the query".

More infos can be found here.

May be it will be useful for you.




回答3:


There are several interesting APIs that can help you here.

  • Keywords Competitors API - This is an API that let you query a domain and get all the other domains that are competing on the same paid or organic search keywords.

  • Search Keywords API - Another API that will provide all the leading keywords (paid and organic) for a given domain. This can even be broken down to specific countries.

  • SimilarWeb API - Get more websites that are similar to a given domain, based on many different factors including keywords and tags.



来源:https://stackoverflow.com/questions/11547584/google-custom-search-api-searches-related-to-function

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