Documentation

Content negotiation

Content negotiation means the ability to specify the format in which a record will be returned.

Crossref and DataCite support content-negotiated DOIs via their respective DOIs. Learn more about content negotiation.

Content negotiation responses are returned by one of our three API pools, just like any other REST API response. Requests that include mailto identification in the user agent header will be serviced by the polite pool, and requests that include a token for Metadata Plus subscribers will be serviced by the Plus pool. All other requests will be serviced by the public pool.

Examples using cURL

curl -D - -L -H "Accept: application/rdf+xml" "https://doi.org/10.1126/science.1157784"

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

curl -D - -L -H "Accept: application/atom+xml" "https://doi.org/10.1126/science.1157784"

curl -D - -L -H "Accept: text/x-bibtex" "https://doi.org/10.1126/science.1157784"

The Crossref-specific ‘unixref’ format can be used as well:

curl -D - -L -H "Accept: application/unixref+xml" "https://doi.org/10.1126/science.1157784"

Content negotiation also supports formatted citations via the text/x-bibliography record type. A list of all supported citation styles is available via our API.

Page owner: Patrick Polischuk   |   Last updated 2020-April-08