title: How to access Wayback Machine programmatically?
body: <h2>What I'm trying to do</h2>
  
  <p>For a list of websites, I want to get the pages indexed by year, <em>if</em> they were archived at any point that year. So if I'm looking at <code>example1.com</code> and <code>example2.com</code>, I want to be able to get:</p>
  
  <pre><code>2010: example1.com, example2.com (the html from these archived pages)
  2011: example1.com (example2.com, say, was not archived in 2011)
  2012: example2.com
  2013: example1.com, example2.com
  </code></pre>
  
  <p>and so on. </p>
  
  <h2>Question</h2>
  
  <p>Is this possible to get using the Wayback Machine API? I looked at <a href="https://archive.org/help/wayback_api.php" rel="noreferrer">their API listing</a> and it didn't seem like I could do what I was trying to do. Maybe I'm missing something, but it seems like a fairly plausible use case. Any other suggestions?</p>