Keywords
Short words or phrases assigned to works using AI
Last updated
Short words or phrases assigned to works using AI
Last updated
Works in OpenAlex are tagged with Keywords using an automated system based on Topics.
To learn more about how OpenAlex Keywords work in general, see .
These are the fields in a keyword object. When you use the API to get a or , this is what's returned.
cited_by_count
Integer: The number of citations to works that have been tagged with this keyword. Or less formally: the number of citations to this keyword.
For example, if there are just two works tagged with this keyword and one of them has been cited 10 times, and the other has been cited 1 time, cited_by_count
for this keyword would be 11
.
created_date
String: The date this Keyword
object was created in the OpenAlex dataset, expressed as an date string.
display_name
String: The English-language label of the keyword.
id
String: The OpenAlex ID for this keyword.
updated_date
works_count
Integer: The number of works tagged with this keyword.
It's easy to get a keyword from the API with: /keyword/<entity_id>
. Here's an example:
You can get lists of keywords:
Which returns a response like this:
You can filter keywords with the filter
parameter:
/keywords
attribute filters/keywords
convenience filtersdefault.search
Value: a search string
display_name.search
Value: a search string
You can group keywords with the group_by
parameter:
Or you can group using one the attributes below.
String: The last time anything in this keyword object changed, expressed as an date string. This date is updated for any change at all, including increases in various counts.
Get the keyword with the ID cardiac-imaging
:
That will return a object, describing everything OpenAlex knows about the keyword with that ID:
You can make up to 50 of these queries at once by .
You can use select
to limit the fields that are returned in a keyword object. More details are .
Display only the id
and display_name
for a keyword object
Get all keywords in OpenAlex
Get keywords that are in the subfield "Epidemiology" (id: 2713)
It's best to before trying these out. It will show you how to combine filters and build an AND, OR, or negation query
You can filter using these attributes of the object:
These filters aren't attributes of the object, but they're included to address some common use cases:
This works the same as using the for Keywords.
Returns: keywords with a containing the given string.
Get keywords with display_name
containing "artificial" and "intelligence":
You can search for keywords using the search
query parameter, which searches the fileds. For example:
Search keywords' display_name
"artificial intelligence":
You can read more about search . It will show you how relevance score is calculated, how words are stemmed to improve search results, and how to do complex boolean searches.
Get counts of keywords by :
It's best to before trying these out. It will show you how results are formatted, the number of results returned, and how to sort results.