Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

This question is slightly related to the question located here.

My current solution is using the deprecated Google Web Search API - but since it's deprecated, qeuries to the API is now limited. This is a problem for me - the suggested alternative is using the Google Custom Search API but this only allows me to search on specific sites and pages. This is not what I need.

I need to be able to search the web for a query, preferebly through Google. But I'm open to alternatives.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

It seems that I'm able to answer my own question while using the new Custom Search API.

Creating a Custom Search Engine will initially ask you to provide sites or pages that you want your CSE to search in. By filling in a sample website and creating the CSE you are then able to manage and adjust it after the creation process. Here you can tell the CSE that you wan't it to search the entire web and not only the provided sites.

For the best search performance I selected this option and removed the site I provided initially, since the CSE will favor the sites provided in the search.

The new API is limited in the free edition to 100 queries a day. But it solves the issue I had.

share|improve this answer
    
How do you remove the site later? –  RubyDev Aug 24 '12 at 5:04
    
What do you mean? –  Repox Aug 24 '12 at 5:35
    
You said in your answer - "For the best search performance I selected this option and removed the site I provided initially, since the CSE will favor the sites provided in the search.". But when I removed the site; the CSE or call through API do not work. I get no results. –  RubyDev Aug 25 '12 at 6:27
    
@RubyDev I just went to the control panel and under 'Sites' I just removed the site. –  Repox Aug 26 '12 at 20:30
    
did it work after you remove site, I mean the CSE or API. –  RubyDev Aug 27 '12 at 2:01

protected by John Conde Oct 1 at 14:20

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.