title: Google Custom Search - Query database/API?
body: <p>We're interested about using Google Custom Search / Google in our project, mostly due to the fact that it's amazing at conjugation &amp; correcting misspelled words.</p>
  
  <p>We know that it can return data in JSON or XML, and we're fine with that. But finding an answer to question: </p>
  
  <p><strong>Can we use that conjugation and mistake correction and search our own database/api?</strong> </p>
  
  <p>If you would type <code>drnks with no alcohol</code> it would automatically correct to <code>drinks with no alcohol</code>, and then search our database like this:</p>
  
  <p><a href="http://example.com?search=drinks&amp;alcohol=0" rel="nofollow">http://example.com?search=drinks&amp;alcohol=0</a>, and it could respond like this:</p>
  
  <pre><code>{
      "coke": {
          "alcohol": 0,
          "calories": 300,
          "taste": "awesome"
      },
      "pepsi": {
          "alcohol": 0,
          "calories": 300,
          "taste": "meh"
      }
  }
  </code></pre>
  
  <p>And then it would return these two results, in some form. </p>
  
  <p>Solutions using the paid version are fine. </p>
  
  <p>If it's possible to do this, could you provide me with a simple example? </p>