<p><a href="https://tex.stackexchange.com/a/38367">original answer</a> from <a href="https://tex.stackexchange.com/users/5969/sebastian-busch">sebastian-busch</a>:</p>

<blockquote>
  <p>I've written a python script that returns the corresponding bib-entry
  from an arxiv ID, you can find it on
  <a href="http://www.thamnos.de/misc/look-up-bibliographical-information-from-an-arxiv-id/" rel="nofollow noreferrer">http://www.thamnos.de/misc/look-up-bibliographical-information-from-an-arxiv-id/</a>.
  If you save it e.g. as <code>arxiv2bib.py</code>, you can call it as
  <code>arxiv2bib.py&nbsp;1234.5678</code> or as
  <code>arxiv2bib.py&nbsp;http&#58;//arxiv.org/abs/1234.5678</code>.</p>
</blockquote>

<hr>

<p>Someone also made a PHP script that can do it.</p>

<p><a href="https://gist.github.com/MartinThoma/8133254" rel="nofollow noreferrer">PHP to automatically create BibTeX entry from arXiv</a></p>

<p>From answer in <a href="https://tex.stackexchange.com/questions/3833/how-to-cite-an-article-from-arxiv-using-bibtex">how-to-cite-an-article-from-arxiv-using-bibtex</a></p>
shell command to get bibtex entry from arxiv number
<p>I am currently using the following <code>curl</code> command to get bibliographic information for a scientific article from its digital object identifier (DOI) number:</p>

<pre><code>curl -LH "Accept: text/bibliography; style=bibtex" http://dx.doi.org/10.1901/jaba.1974.7-497a
</code></pre>

<p>I would like to be able to do something similar for <a href="http://www.arxiv.org" rel="nofollow noreferrer">arxiv</a> articles, i.e. send the articles arxiv number to some web service and get bibliographic information back. How would I go about doing this?</p>

<p>I am looking for a solution in bash, zsh, or python.</p>