This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Given A Doi How Can I Retrieve The Metadata About An Object

Given a doi how can I programmatically obtain the citation, such as author, title, publication, year. As opposed to retrieving or resolving to the document itself?

reference literature

It would be great to have this for all articles (not only those in PubMed) and with more extensive metadata than is available through CrossRef (e.g. keywords).

4 answers

It appears CrossRef have recently opened up their meta-data services:

So it looks like the following request (see others here) should get you what you want:

curl -D - -L -H   "Accept:text/turtle" "http://dx.doi.org/10.1126/science.1157784"

++ - this is great, and I hadn't spotted it :)

This is not yet a month old... so no wonder :) But it is pretty cool indeed. I'm linking to it already.

CrossRef have an API for doing just this.

You need an API key, which you can get by requesting an account here.

If the journal you care about is in PubMed, you can probably use the EUtils to retrieve this information. E.g. you can search PubMed by DOI and then also get the PMID via the EUtils.

Then it should be easy to also get all the further info you want.

My initial requirement was for articles that had a doi and were not in Pubmed. However, it would be useful to first determine the doi, then to determine if it had a Pubmed match as you describe.

[?]

Query PubMed for citation information using a DOI and Python

Log in to answer this question.