The Google AJAX Search API lets you put Google Search in your web pages with JavaScript. You can embed a simple, dynamic search box and display search results in your own web pages or use the results in innovative, programmatic ways. See the examples below for inspiration.
Add Local Search results to your web site, or integrate them with your Google Maps API mashup.
Don't want to write code? Generate cut-and-paste HTML with our AJAX Search wizards.
If you have questions or problems, please check out our AJAX Search API discussion group to see if anyone has had the same problem you're wrestling with. The Google AJAX Search API team also participates in the group and answers questions.
You should also take a look at the online documentation.