title: Easiest way to get imgur content type from imgur API
body: <p>Link examples:</p>
  
  <ul>
  <li><a href="https://imgur.com/oUO812R" rel="nofollow">https://imgur.com/oUO812R</a> (1. image link)</li>
  <li><a href="https://imgur.com/OBEF9yi" rel="nofollow">https://imgur.com/OBEF9yi</a> (2. image link)</li>
  <li><a href="https://imgur.com/WRFBK" rel="nofollow">https://imgur.com/WRFBK</a> (album link)</li>
  </ul>
  
  <p>Currently I'm just doing <code>https://api.imgur.com/3/gallery/[ID].json</code> for all links and get wether <code>is_album</code> is true or not. This works for the 1. image link and the album link above, but it returns 404 for the 2. image link (no idea why).<br>
  If it's returns 404, i'm doing an image api request (<code>https://api.imgur.com/3/image/OBEF9yi.json</code>) for that failed image.</p>
  
  <p>I want to know if there's a easier (with one api call) way to determine which link is which content type (either album or image).</p>