Other Resources:
crossref.org API - /works/{doi}/transform/{mime}
How to use crossref.org API URL, /works/{doi}/transform/{mime}, for DOI content negotiation?
✍: FYIcenter.com
crossref.org API URL /works/{doi}/transform/{mime} allows you
to use the DOI Content Negotiation service to
request a particular representation of metadata associated
with a given DOI.
The above API URL is a variation of /works/{doi}/transform without using the "Accept: {mime}" request header. So the following two requests will give you the same response:
GET https://api.crossref.org/works/{doi}/transform/{mime} HTTP/1.1 GET https://api.crossref.org/works/{doi}/transform HTTP/1.1 Accept: {mime}
DOI Content Negotiation supports the following MIME types for different representations:
MIME Type Representation --------------------------------------- ------------------------ application/rdf+xml RDF XML application/vnd.citationstyles.csl+json Citeproc JSON application/vnd.crossref.unixref+xml Crossref Unixref XML application/vnd.crossref.unixsd+xml Crossref UNIXSD XML application/x-bibtex BibTeX application/x-research-info-systems RIS text/turtle RDF Turtle text/x-bibliography Formatted text citation
Here is an example of how to use the DOI Content Negotiation service to get the BibTeX string of a given DOI:
fyicenter$ curl https://api.crossref.org/works/10.5555/12345678/transform/application/x-bibtex @article{Carberry_2008, doi = {10.5555/12345678}, url = {https://doi.org/10.5555%2F12345678}, year = 2008, month = {aug}, publisher = {Test accounts}, volume = {5}, number = {11}, pages = {1--3}, author = {Josiah Carberry}, title = {Toward a Unified Theory of High-Energy Metaphysics: Silly String Theory}, journal = {Journal of Psychoceramics}
Here is another example of how to use the DOI Content Negotiation service to get the Citeproc JSON format of a given DOI:
fyicenter$ curl https://api.crossref.org/works/10.1037/0003-066x.59.1.29/transform/application/vnd.citationstyles.csl+json { "DOI": "10.1126/science.169.3946.635", "ISSN": [ "0036-8075", "1095-9203" ], "URL": "http://dx.doi.org/10.1126/science.169.3946.635", "alternative-id": [ "10.1126/science.169.3946.635" ], "author": [ { "affiliation": [ { "name": "University of Pittsburgh, Mellon Institute of Carnegie-Mellon University" } ], "family": "Frank", "given": "Henry S.", "sequence": "first" } ], "container-title": "Science", "container-title-short": "Science", "content-domain": { "crossmark-restriction": false, "domain": [] }, "created": { "date-parts": [ [ 2006, 10, 5 ] ], "date-time": "2006-10-05T12:56:56Z", "timestamp": 1160053016000 }, ...
⇒ crossref.org API - /works Updates
2022-10-08, 375👍, 0💬
Popular Posts:
How to download DOI list from Sci-Hub? Sci-Hub also provides a list of its archived DOIs. You can fo...
Collections: Download Papers Open Access Lookup DOI FAQs Other Resources: Software QA Resources Deve...
How to download Scientific paper with Telegram? Sci-Hub has provided a Telegram bot for you to downl...
How to download the research paper with a given DOI number? If you know the DOI (Digital Object Iden...
Paper Summary: Title: Brain foods: the effects of nutrients on brain function Author(s): Gómez-Pinil...