It's easy to get a list of entity objects from from the API:/<entity_name>
. Here's an example:
- Get a list of all the topics in OpenAlex:
https://api.openalex.org/topics
This query returns a meta
object with details about the query, a results
list of Topic
objects, and an empty group_by
list:
meta: {
count: 4516,
db_response_time_ms: 81,
page: 1,
per_page: 25
},
results: [
// long list of Topic entities
],
group_by: [] // empty
Listing entities is a lot more useful when you add parameters to page, filter, search, and sort them. Keep reading to learn how to do that.