api.datacite.org/dois/{doi} - Retrieve a Single DOI

Q

How to retrieve a single DOI with api.datacite.org/dois/{doi}?

✍: FYIcenter.com

A

If you want to retrieve the content of a single DOI, you can use the following URL template:

https://api.datacite.org/dois/{doi}

Here is an example of retrieving the content of a given DOI:

fyicenter$ curl https://api.datacite.org/dois/10.5438/0012

{
    "data": {
        "id": "10.5438\/0012",
        "type": "dois",
        "attributes": {
            "doi": "10.5438\/0012",
            "prefix": "10.5438",
            "suffix": "0012",
            "creators": [
                {
                    "name": "DataCite Metadata Working Group"
                }
            ],
            "titles": [
                {
                    "title": "DataCite Metadata Schema Documentation for the Publication and Citation of Research Data v4.0"
                }
            ],
            "publisher": "DataCite e.V.",
            "publicationYear": 2016,
            "contributors": [
                {
                    "name": "Starr, Joan",
                    "nameType": "Personal",
                    "givenName": "Joan",
                    "familyName": "Starr",
                    "affiliation": [
                        "California Digital Library"
                    ]
                },
                {
                    "name": "Smaele, Madeleine de",
                    "nameType": "Personal",
                    "givenName": "Madeleine de",
                    "familyName": "Smaele",
                    "affiliation": [
                        "TU Delft"
                    ],
                    "contributorType": "ProjectLeader",
                    "nameIdentifiers": []
                }
            ],
            "dates": [
                {
                    "date": "2016",
                    "dateType": "Issued"
                }
            ],
            "language": "en",
            "sizes": [
                "45 pages"
            ],
            "formats": [
                "application\/pdf"
            ]
        },
        "relationships": {
        }
    }
    ...

Not that datacite.org only provides DOI metadata for DOIs registered by datacite.org. If search for a DOI registered by another DOI Registration Agency, you will get an error:

curl https://api.datacite.org/dois/10.1037/0003-066x.59.1.29

{"errors":[{"status":"404","title":"The resource you are looking for doesn't exist."}]}

 

api.datacite.org/dois - Retrieve a List of DOIs

DataCite REST API - api.datacite.org

DataCite.org DOI Database

⇑⇑ DOI - Frequently Asked Questions

2022-09-24, 263👍, 0💬