DOI Content in BibTeX (Bibliography for LaTeX)

Q

How to represent DOI content in BibTeX (Bibliography for LaTeX) format?

✍: FYIcenter.com

A

If you are still using the LaTeX typesetting system to write your research paper, you may want to represent DOI content in BibTeX format by using the DOI Content Negotiation service provided by doi.org.

The BibTeX format is triggered by the "application/x-bibtex" MIME type as shown this HTTP request syntax:

GET https://doi.org/{doi} HTTP/1.1
Accept: application/x-bibtex

Here is an example of how to use the DOI Content Negotiation service to get the BibTeX format of a given DOI:

fyicenter$ curl -H "Accept: application/x-bibtex" \
  'https://doi.org/10.1126/science.169.3946.635'

<html><head><title>Handle Redirect</title></head>
<body>
<a href="https://api.crossref.org/v1/works/10.1126%2Fscience.169.3946.635/transform">
https://api.crossref.org/v1/works/10.1126%2Fscience.169.3946.635/transform</a>
</body></html>

Okay, doi.org is not serving this Content Negotiation request directly. It is redirecting you to api.crossref.org to get the response.

You can add the -L option to let "curl" follow the redirected location. api.crossref.org will return you the DOI content in BibTeX format.

fyicenter$ curl -LH "Accept: application/x-bibtex" \
  'https://doi.org/10.1126/science.169.3946.635'

@article{Frank_1970,
  doi = {10.1126/science.169.3946.635},
  url = {https://doi.org/10.1126%2Fscience.169.3946.635},
  year = 1970,
  month = {aug},
  publisher = {American Association for the Advancement of Science ({AAAS})},
  volume = {169},
  number = {3946},
  pages = {635--641},
  author = {Henry S. Frank},
  title = {The Structure of Ordinary Water},
  journal = {Science}

 

DOI Content in RIS (Research Information Systems)

DOI Content in Formatted Text Citation

DOI Content Negotiation at doi.org

⇑⇑ DOI - Frequently Asked Questions

2022-10-06, 359👍, 0💬