Sample entity lists

You can use sample to get a random list of up to 10,000 results.

You can add a seed value in order to retrieve the same set of random records, in the same order, multiple times.

Depending on your query, random results with a seed value may change over time due to new records coming into OpenAlex.


  • The sample size is limited to 10,000 results.

  • You must provide a seed value when paging beyond the first page of results. Without a seed value, you might get duplicate records in your results.

  • You must use basic paging when sampling. Cursor pagination is not supported.

Last updated