Just an idea for a possible feature request: Would it be reasonable to implement this the way Github builds pagination? Over there, the returned header gives you feedback about the next fetched page (“links”). Rationale for them is to serve each request on its own, without “page guessing”.
Example client code:
https://github.com/Icinga/icinga2/blob/master/changelog.py#L65