That's not necessary. Every response contains `metadata` object with `next_marker` attribute. If you get a response back and `next_marker` is null this means there are no more items / pages to fetch.