Can I use the AJAX Search API in my non-Web application?

No. The Google AJAX Search API is currently available only for websites.
Google apps
Main menu
5978754594305733691
true
Search Help Center
true
true
true