Can Mockeroo simulate APIs that paginate their data?

I’m creating a mock API to mock a system that paginates its data; essentially you call it multiple times until it runs out of data and returns an empty data object. There are no elements in the return JSON object that indicates this will occur, or that indicates how many pages of data there are.

I’ve been looking around in the forum and reading the help but haven’t seen anything about this scenario. Is this something that Mockaroo can simulate? Apologies if I’ve missed it.

I’ve figured out a way to make it work, but it involves changes to the application code, and I would prefer to skip that if I could.

Thank you for any help.
Paul