APIs / Apps and media / OpenAlex
1 credit per call6 endpoints5 datapoints
OpenAlex API
OpenAlex API for scholarly works, abstracts, citations, authors with h-index and research institutions as JSON. 6 endpoints, 1 credit per successful call.
{
"success": true,
"data": {
"id": "W2741809807",
"doi": "10.7717/peerj.4375",
"title": "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",
"type": "article",
"language": "en",
"cited_by_count": 1794,
"authors": [
{
"id": "A5048491430",
"name": "Heather Piwowar",
"orcid": "0000-0003-1613-5981",
"position": "first",
"institutions": [
"OpenAlex"
]
},
{
"id": "A5023888391",
"name": "Jason R Priem",
"orcid": "0000-0001-6187-6610",
"position": "middle",
"institutions": [
"OpenAlex"
]
},
{
"id": "A5068542997",
"name": "Vincent Larivière",
"orcid": "0000-0002-2733-0689",
"position": "middle",
"institutions": [
"Université du Québec à Montréal",
"Centre interuniversitaire de recherche sur la science et la technologie",
"Observatoire des sciences et des technologies"
]
}
],
"author_count": 9,
"source": {
"id": "S1983995261",
"name": "PeerJ",
"issn": "2167-8359",
"type": "journal"
},
"is_open_access": true,
"open_access_status": "gold",
"open_access_url": "https://doi.org/10.7717/peerj.4375",
"abstract": "Despite growing interest in Open Access (OA) to scholarly literature, there is an unmet need for large-scale, up-to-date, and reproducible studies assessing the prevalence and characteristics of OA. We address this need using oaDOI, an open…",
"url": "https://openalex.org/W2741809807",
"ids": {
"pmid": "29456894",
"pmcid": "https://www.ncbi.nlm.nih.gov/pmc/articles/5815332"
},
"biblio": {
"volume": "6",
"first_page": "e4375",
"last_page": "e4375"
},
"is_retracted": false,
"referenced_works_count": 42,
"fwci": 385.9175,
"primary_topic": {
"id": "T13607",
"name": "Academic Publishing and Open Access",
"subfield": "Library and Information Sciences",
"field": "Social Sciences",
"domain": "Social Sciences"
},
"topics": [
{
"id": "T13607",
"name": "Academic Publishing and Open Access",
"score": 0.6416000127792358
},
{
"id": "T10102",
"name": "scientometrics and bibliometrics research",
"score": 0.32710000872612
},
{
"id": "T13516",
"name": "Publishing and Scholarly Communication",
"score": 0.024399999529123306
}
],
"keywords": [
"open access",
"Crossref DOIs",
"Web of Science"
],
"concepts": [
{
"name": "Citation",
"level": 2,
"score": 0.6881897449493408
},
{
"name": "License",
"level": 2,
"score": 0.591956377029419
},
{
"name": "Scholarly communication",
"level": 3,
"score": 0.5683152079582214
}
],
"citations_by_year": [
{
"year": 2026,
"cited_by_count": 332
},
{
"year": 2025,
"cited_by_count": 237
},
{
"year": 2024,
"cited_by_count": 187
}
],
"updated_at": "2026-12-05T11:01:43.913822"
},
"meta": {
"request_id": "req_2fec60a4b4be41419ae9a735deebb83f",
"credits_charged": 1,
"credits_remaining": 197
}
}Sample data
What one call returns
A recorded run of work: the fields and shapes you will get, shortened to 3 items.
| # | idstring | namestring | orcidstring | positionstring | institutionsstring[] |
|---|---|---|---|---|---|
| 1 | A5048491430 | Heather Piwowar | 0000-0003-1613-5981 | first | [1 item] |
| 2 | A5023888391 | Jason R Priem | 0000-0001-6187-6610 | middle | [1 item] |
| 3 | A5068542997 | Vincent Larivière | 0000-0002-2733-0689 | middle | [3 items] |
[
{
"id": "A5048491430",
"name": "Heather Piwowar",
"orcid": "0000-0003-1613-5981",
"position": "first",
"institutions": [
"OpenAlex"
]
},
{
"id": "A5023888391",
"name": "Jason R Priem",
"orcid": "0000-0001-6187-6610",
"position": "middle",
"institutions": [
"OpenAlex"
]
},
{
"id": "A5068542997",
"name": "Vincent Larivière",
"orcid": "0000-0002-2733-0689",
"position": "middle",
"institutions": [
"Université du Québec à Montréal",
"Centre interuniversitaire de recherche sur la science et la technologie",
"Observatoire des sciences et des technologies"
]
}
]id,name,orcid,position,institutions A5048491430,Heather Piwowar,0000-0003-1613-5981,first,"[""OpenAlex""]" A5023888391,Jason R Priem,0000-0001-6187-6610,middle,"[""OpenAlex""]" A5068542997,Vincent Larivière,0000-0002-2733-0689,middle,"[""Université du Québec à Montréal"",""Centre interuniversitaire de recherche sur la science et la technologie"",""Observatoire des sciences et des technologies""]"
Recorded from our API · 3 items shown · 5 datapoints per itemGET /v1/openalex/work?id=10.7717%2Fpeerj.4375
5 datapoints
Identity
- idstring
- namestring
- orcidstring
Other
- positionstring
- institutionsstring[]
Playground
Run this API
curl "https://api.perceptlayer.com/v1/openalex/work?id=10.7717%2Fpeerj.4375" \
-H "X-API-Key: $API_KEY"OpenAlex · 6 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/openalex/author | id | idnameorcidalternative_namesworks_countcited_by_count+8 more | 1 credit |
GET/v1/openalex/authors-search | query+2 optional | idnameorcidalternative_namesworks_countcited_by_count+6 more | 1 credit |
GET/v1/openalex/institutions-search | query+3 optional | idnamerorcountry_codetypeacronyms+9 more | 1 credit |
GET/v1/openalex/work | id | iddoititlepublication_yearpublication_datetype+20 more | 1 credit |
GET/v1/openalex/work-citations | id+3 optional | iddoititlepublication_yearpublication_datetype+10 more | 1 credit |
GET/v1/openalex/works-search | query+7 optional | iddoititlepublication_yearpublication_datetype+10 more | 1 credit |
Overview
About the OpenAlex API
What you can get
The OpenAlex API returns scholarly metadata from OpenAlex as JSON through 6 endpoints. Search endpoints take page and per_page (1 to 100); page × per_page can be at most 10,000.
- Works search:
works-searchtakes aquery, withfrom_year,to_year,open_access,type(article, preprint, review, dataset and others) andsort(relevance, cited, newest or oldest). - Work:
worktakes an OpenAlex W id or a DOI. - Citing works:
work-citationstakes a W id or DOI and returns the works that cite it, most cited first by default. - Authors:
authors-searchtakes a name;authortakes an OpenAlex A id or an ORCID. - Institutions:
institutions-searchtakes a name, with an optional two-lettercountry.
The recorded work call for DOI 10.7717/peerj.4375 returned W2741809807, "The state of OA: a large-scale analysis of the prevalence and impact of Open Access articles" (2018), with cited_by_count 1,794, author_count 9, authors with their institutions, the abstract, open_access_status gold, referenced_works_count 42, primary_topic, topics, keywords, concepts and citations_by_year. work-citations for the same work found 1,650 citing works. The recorded author call for ORCID 0000-0001-6187-6610 returned works_count 50, cited_by_count 7,788, h_index 18 and i10_index 22, with last_known_institutions, past affiliations with years, topics and works_by_year.
How a call works
Search, then look up: GET /v1/openalex/works-search?query=retrieval+augmented+generation&from_year=2023&open_access=true&sort=cited&per_page=10 with your key in the X-API-Key header found 178,377 works in the recording, each with id, doi, title, publication_year, cited_by_count, the first authors, source, open_access_url and an abstract snippet. work and work-citations take that id or doi. Answers come from a cache for up to an hour. Every successful call costs 1 credit; failed calls cost nothing.
More apps and media APIs
Use cases
Give a research agent abstracts and open access PDF links for a topic
Use the OpenAlex API to give a research agent abstracts and open access PDF links for a topicRank papers on a topic by citations since a given year
Use the OpenAlex API to rank papers on a topic by citations since a given yearBuild a citation graph from the works that cite a paper
Use the OpenAlex API to build a citation graph from the works that cite a paperProfile a researcher by ORCID: h-index, affiliations and output by year
Use the OpenAlex API to profile a researcher by ORCID: h-index, affiliations and output by yearFAQ
Questions
Is this the official OpenAlex API?
No. Perceptlayer is an independent service and is not affiliated with OpenAlex. The OpenAlex API is free to call, with a daily usage budget per key or IP. This API calls it on your behalf and adds one key for every source on Perceptlayer, a flatter response shape with the abstract rebuilt as plain text, a cache of up to an hour, and no charge for failed calls.
Can I reuse the data?
Yes. OpenAlex data is CC0, so it is free to reuse; attribution to OpenAlex is welcome.
Can I page through every result?
Up to 10,000 results per query: `page` × `per_page` can be at most 10,000. Narrow a larger result set with `from_year`, `to_year` or `type`.
How much does the OpenAlex API cost?
Each successful call costs one credit, and each page of results is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.
Should I build an OpenAlex scraper instead?
You can, but an OpenAlex scraper is code you maintain: page changes break it, requests get blocked, and OpenAlex's terms govern how you collect data. The OpenAlex API gives you 6 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the OpenAlex API with 100 free credits
No credit card. Failed calls are never billed.