Comment on page

Get a single work

It's easy to get a work from from the API with: /works/<entity_id> Here's an example:
That will return a Work object, describing everything OpenAlex knows about the work with that ID.
{
"id": "https://openalex.org/W2741809807",
"doi": "https://doi.org/10.7717/peerj.4375",
"title": "The state of OA: a large-scale analysis of the prevalence and impact of Open Access articles",
"display_name": "The state of OA: a large-scale analysis of the prevalence and impact of Open Access articles",
"publication_year": 2018,
"publication_date": "2018-02-13",
// other fields removed for brevity
}
You can make up to 50 of these queries at once by requesting a list of entities and filtering on IDs using OR syntax (tutorial).

External IDs

You can look up works using external IDs such as a DOI:
You can use the full ID or a shorter Uniform Resource Name (URN) format like so:
Available external IDs for works are:
External ID
URN
DOI
doi
Microsoft Academic Graph (MAG)
mag
PubMed ID (PMID)
pmid
PubMed Central ID (PMCID)
pmcid
You must make sure that the ID(s) you supply are valid and correct. If an ID you request is incorrect, you will get no result. If you request an illegal ID—such as one containing a , or &, the query will fail and you will get a 403 error.

Select fields

You can use select to limit the fields that are returned in a work object. More details are here.
https://docs.openalex.org/api-entities/works/get-a-single-work
docs.openalex.org
CC-MAIN-2023-50
266238
application/http; msgtype=response
sha1:ABDT5VQQETIGMOACCMC6H25H5XIYPGNS
<urn:uuid:183b8db3-5fbc-4cf7-a5fa-042f5fef0b72>
2023-12-08T09:20:44Z
172.64.147.209
text/html
sha1:2EQY2PZGOYQ5NCZR2CHRWMTWRGRP6K4C
<urn:uuid:175995b1-a1d0-4cbe-a4f6-8a6c32954b5f>
https://docs.openalex.org/api-entities/works/get-a-single-work
response
<urn:uuid:b4ac40e1-fdef-4b4a-83a4-8a78e16278e4>
isPartOf: CC-MAIN-2023-50
publisher: Common Crawl
description: Wide crawl of the web for November/December 2023
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-18
software: Apache Nutch 1.19 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.5-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/