title: How do I access the upcdatabase.org API?
body: <p>I'm working on a Java project that accepts a UPC barcode and searches online for a product description.</p>
  
  <p>I'm trying to access the upcdatabase.org API. The site instructs you to use the following URL for a JSON response with the product information:</p>
  
  <p>format: upcdatabase.org/api/json/APIKEY/BARCODE</p>
  
  <p>for example: <a href="http://upcdatabase.org/api/json/2316e70001a2757dc55dc64ce0465787/0111222333446" rel="nofollow">http://upcdatabase.org/api/json/2316e70001a2757dc55dc64ce0465787/0111222333446</a></p>
  
  <p>This works great for their test product, but doesn't work with any of the real barcodes I've given it. I get this when I try a real product: {"valid":"false","reason":"Code not found in database."}</p>
  
  <p>However, when I enter the same barcode into the text box on their web interface, it finds the product just fine.</p>
  
  <p>They mention that they moved their API service to api.upcdatabase.org but do not provide any documentation for how to access this site.</p>
  
  <p>Is anyone familiar with this site's API that might now what's going on?</p>
  
  <p>Here are some of the barcodes I've tried so far:
  016000275164
  031200016058
  024100440689</p>