OpenAlex just released its API and its webiste is coming soon, which is exciting.
Search by DOI #
If you want to get data from OpenAlex, but don’t have openalex work id, you can get the same information via paper DOI. The API Dcoumentataion mentions this .
For example, you have this DOI:
First, you can access this paper, via two urls:
These two urls point to the same destination: https://ieeexplore.ieee.org/document/9222338.
Okay, now, tell me how to access OpenAlex data based on DOI.
According to the The API Dcoumentataion , you can access it in these ways:
Search by title #
According to official documentation , we can search by title this way:
The above url will show all the papers whose title contain the word of cubist.
If you have the exact title, just put it at the end of the url, for example,
https://api.openalex.org/works?filter=title.search:Efficient simplification of point-sampled surfaces
If the title your are quering contains ‘&’, ‘:’, ‘?, and/or ‘,’, rememeber to replace them with
''. This is because both ‘&’ and ‘:’ are quering parameters and will rusult in errors when quering.
If you use
python, you can do it this way:
import re title = 'this: is a bad title & not recommended for you, right?' title_converted = re.sub(r'\:|\?|\&|\,', '', title)
Search for host venues #
By display name #
https://api.openalex.org/venues?filter=display_name.search:communication and sport
By ISSN #
By ISSN_L #
Note that if you use
?filter=, then the results are usually more than one.
In list of entities, OpenAlex’s default is 25 items per page. You can view the first 10000 items by setting
You can set them this way:
You can set the two parameters this way:
Query speed #
- Quering paper title is much faster than quering OpenAlex Work ID, or paper DOI.
- Being in the polite pool (i.e., disclosing your email) is not faster than in the common pool.
- The speed of two query methods for DOI, i.e.,
works/https://doi.org/DOI, do not vary significantly. Each query roughly takes 6-10 seconds.
- The speed of quering OpenAlex Work ID and that of querying paper DOI do not differ significantly. Querying DOI might be slightly faster.
Last modified on 2022-10-01