The best way to search for sources is to use the
searchquery parameter, which searches across
- Search for the abbreviated version of the Journal of the American Chemical Society "
You can read more about search here. It will show you how relevance score is calculated and how words are stemmed to improve search results.
You can also use search as a filter, allowing you to fine-tune the fields you're searching over. To do this, you append
.searchto the end of the property you are filtering for:
- Get sources with "nature" in the title: https://api.openalex.org/sources?filter=display_name.search:nature
The following fields can be searched as a filter within sources:
You can autocomplete sources to create a very fast type-ahead style search function:
- Autocomplete sources with "neuro" in the display_name: https://api.openalex.org/autocomplete/sources?q=neuro
This returns a list of sources with the publisher set as the hint:
"display_name": "The Journal of Neuroscience",
"hint": "Society for Neuroscience",
// more results