How to add Google search results to my site?

Is there a way to add google search results to your site so that the results appear below your domain (and the page does not redirect to google.com)? I know about google cse , but this is not a free solution. Does CSE pay the only way? Thanks.

+3
source share
4 answers

Use the Google AJAX Search API (my emphasis):

The AJAX Google Search API allows you to put Google Search on your JavaScript web pages. You can embed a simple, dynamic search box and display search results on your own web pages, or use the results in an innovative, programmatic way.

You just need JavaScript - nothing server-side.

+7
source

You can use the Google Search API .

You can also query the Google search engine through the web service. Here is the WSDL and here is the FAQ. But I think this will be discontinued in favor of the first proposal I gave.

+2
source
+1

How about this? http://code.google.com/apis/ajaxsearch/web.html And there should even be an API for PHP, etc.

0
source

Source: https://habr.com/ru/post/1716789/


All Articles