Comment on page
Filter sources
You can filter sources with the
filter
parameter:It's best to read about filters 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
Source
entity object (click each one to view their documentation on the Source
object page):-
host_organization_lineage
— Use this with a publisher ID to find works from that publisher and all of its children. -
publisher
— Requires exact match. Use thehost_organization_lineage
filter instead if you want to find works from a publisher and all of its children.
Want to filter by
host_organization.display_name
? This is a two-step process:- 1.Find the host organization's ID by searching by
display_name
in Publishers or Institutions, depending on which type you are looking for. - 2.Filter works by
host_organization.id
.
These filters aren't attributes of the
Source
object, but they're included to address some common use cases:Returns: sources that are associated with the chosen continent.
Value: a search string
Value: a search string
- Get sources with names containing "Neurology":
https://api.openalex.org/sources?filter=display_name.search:Neurology
``
In most cases, you should use the
search
parameter instead of this filter because it uses a better search algorithm.Value: a Boolean (
true
or false
)Value: a Boolean (
true
or false
)- Get sources that are located in the Global South
https://api.openalex.org/sources?filter=is\_global\_south:true
Last modified 1mo ago