title: How to use AJAX to search Google Images?
body: <p>I'm trying to pull pictures from Google Images using AJAX and a color filter. </p>
  
  <p>The <a href="https://developers.google.com/web-search/" rel="nofollow noreferrer">Google Search API</a> has been deprecated, and use of the <a href="https://developers.google.com/custom-search/v1/overview" rel="nofollow noreferrer">Custom Search API</a> is encouraged instead. However, in reading the Programmer's Guides found there, I see no option for <em>global</em> search instead of <em>site-specific</em> search. It says <a href="https://developers.google.com/custom-search/v1/getting_started#set_up_cse" rel="nofollow noreferrer">here</a> to set up a custom search engine, but this requires the searching to be limited to a specific URL!</p>
  
  <p>There is a <a href="https://stackoverflow.com/q/8448788/805556">similar SO post</a> which links to a <a href="https://groups.google.com/forum/?fromgroups#!topic/google-ajax-search-api/iNbeR8IEjhc%5B1-25%5D" rel="nofollow noreferrer">Google Groups discussion</a>. The only solutions offered there are either to use the deprecated API, something I'm rather loath to do since access has been limited, or to use the Bing API instead, which cannot filter searches by colors.</p>
  
  <p>Are there really no other solutions? Is it impossible to perform a global Google Images search using AJAX? </p>