How to get BibTeX from DOI

The most common way to use a DOI is to append it to the URL. The web server at that URL redirects you to the URL where the actual content of that DOI is hosted. These destination URLs are typically on the web server of some journal, publisher or conference website.

However, the DOI server also provides other services besides redirection. You can get the BibTeX entry for a DOI if you query with a HTTP header where the Content type is x-bibtex:

Here is a tiny Bash script that takes a DOI as input and returns the BibTeX from the DOI server using Curl:

Tried with: Curl 7.35 and Ubuntu 14.04

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.