Mobile app version of vmapp.org
Login or Join
BetL925

: Google Site Search -- How to use as API? I am trying to get an API that I can use to do searches on my own site. Google has something called Site Search and something called Custom Search.

@BetL925

Posted in: #Api #GoogleCustomSearch #GoogleSearchApi #GoogleSiteSearch #SiteSearch

I am trying to get an API that I can use to do searches on my own site.

Google has something called Site Search and something called Custom Search. What is the difference?

I make a new site search, then it is listed on a page with custom search in the heading. This is really confusing.

I just want an API that I can use to search my site. I would prefer JSON to XML as the results. And if this service is offered by someone other than Google, that is fine too.

The ones that I create at Google want me to embed a premade search box into my site. I do not want that, I want an API that I can call from PHP or JS.

How can I get this?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @BetL925

1 Comments

Sorted by latest first Latest Oldest Best

 

@Merenda212

The biggest difference between the two is how the results are displayed. A Custom Search sends you to Google to see the results. The Site Search allows you to integrate the results with your site. I believe that Site Search gives you results in XML format for site integration.

Also Site Search is not free. Custom Search is supported by Adsense.

Since you are looking for the api version, you want site search, since that has an xml api.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme