My favorites | English | Sign in

Google AJAX Search API

Web Search Examples

The AJAX Search API is the easiest way to incorporate a Google search box on your site. You can incorporate results from Web Search, News Search, and Blog Search into your blog or web site with just a few lines of JavaScript.

Embed a news slideshow on your page, letting your users see headlines and previews of Google News Search results, based on queries that you've selected.
Integrate Web Search, News Search, and Blog Search into your web site, and easily format the results to fit your site's style. You can also display results from your Google Custom Search Engine.
Incorporate a search box into your blog that searches over your blog only. A great way to add Google-powered search to your blog.
Make an AJAX Search box tied to your Google Custom Search Engine.
Put a dynamic Google Blog bar on your web pages. Just enter the searches you want to power the blog bar, and the AJAX Search API does the rest. We support two different form factors — a thin horizontal strip and a wider vertical bar — so it's easy to incorporate dynamic blog content into the layout of your site.
This sample application demonstrates how you can incorporate the AJAX Search API in user composition. In this case, users can clip Google search results to their comments on a blog post.
Put a dynamic Google News bar on your web pages. Just enter the searches you want to power the news bar, and the AJAX Search API does the rest. We support two different form factors — a thin horizontal strip and a wider vertical bar — so it's easy to incorporate dynamic news content into the layout of your site.

Start using the API or see more code samples.