Comment on page
Get lists of works
You can get lists of works:
Which returns a response like this:
{
"meta": {
"count": 245684392,
"db_response_time_ms": 929,
"page": 1,
"per_page": 25
},
"results": [
{
"id": "https://openalex.org/W1775749144",
"doi": "https://doi.org/10.1016/s0021-9258(19)52451-6",
"title": "PROTEIN MEASUREMENT WITH THE FOLIN PHENOL REAGENT",
// more fields (removed to save space)
},
{
"id": "https://openalex.org/W2100837269",
"doi": "https://doi.org/10.1038/227680a0",
"title": "Cleavage of Structural Proteins during the Assembly of the Head of Bacteriophage T4",
// more fields (removed to save space)
},
// more results (removed to save space)
],
"group_by": []
}
You can page through works and change the default number of results returned with the
page
and per-page
parameters:- Get a second page of results with 50 results per page https://api.openalex.org/works?per-page=50&page=2
You can use
sample
to get a random batch of works. Read more about sampling and how to add a seed
value here.- Display only the
id
anddisplay_name
within works results https://api.openalex.org/works?select=id,display_name
Last modified 9mo ago