Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the alternatives now that the Google web search API has been deprecated? [closed]

Google Web Search API has been deprecated and replaced with Custom Search API (see http://code.google.com/apis/websearch/).

I wanted to search the whole web but it looks like with the new API only custom sites can be searched.

Is there a way to search the whole web programmatically? I was able to query the old API using JSON from a Java program.

like image 340
Dan Avatar asked Nov 02 '10 23:11

Dan


People also ask

Is there an API for Google search results?

The Google Custom Search API allows you to build your own programmable search engine. You can choose to have your search engine return both web and image results. The search engine can be configured to return results from a specific site, or from multiple sites about a particular topic.

Is Google News API dead?

Important: The Google News Search API has been officially deprecated as of May 26, 2011. It will continue to work as per our deprecation policy, but the number of requests you may make per day may be limited. I've checked SO Questions but I've not been able to find a question related to the News API.

What is Google+ API?

The Purpose of Google+ API is to provide a programming interface so that you can integrate application or website with Google+. Google implies a limit to the usage of Google+ API - Each developer has a quota.


1 Answers

Yes, Google Custom Search has now replaced the old Search API, but you can still use Google Custom Search to search the entire web, although the steps are not obvious from the Custom Search setup.

To create a Google Custom Search engine that searches the entire web:

  1. From the Google Custom Search homepage ( http://www.google.com/cse/ ), click Create a Custom Search Engine.
  2. Type a name and description for your search engine.
  3. Under Define your search engine, in the Sites to Search box, enter at least one valid URL (For now, just put www.anyurl.com to get past this screen. More on this later ).
  4. Select the CSE edition you want and accept the Terms of Service, then click Next. Select the layout option you want, and then click Next.
  5. Click any of the links under the Next steps section to navigate to your Control panel.
  6. In the left-hand menu, under Control Panel, click Basics.
  7. In the Search Preferences section, select Search the entire web but emphasize included sites.
  8. Click Save Changes.
  9. In the left-hand menu, under Control Panel, click Sites.
  10. Delete the site you entered during the initial setup process.

Now your custom search engine will search the entire web.

Pricing

  • Google Custom Search gives you 100 queries per day for free.
  • After that you pay $5 per 1000 queries.
  • There is a maximum of 10,000 queries per day.

Source: https://developers.google.com/custom-search/json-api/v1/overview#Pricing


  • The search quality is much lower than normal Google search (no synonyms, "intelligence" etc.)
  • It seems that Google is even planning to shut down this service completely.
like image 159
Bangkokian Avatar answered Oct 02 '22 10:10

Bangkokian