Continuing the discussion from User search - I get duplicate results and pages repeat instead of end:
Is this the only endpoint that has a “page” parameter? All others are cursored - and are much easier to work with.
This issue is still unresolved. There is no way of knowing when to stop pagination apart from checking if last 2 requests give you the same results.
Ideally, the endpoint would be cursored - when trying to search for users, it seems wasteful to attempt to loop over 50 pages (count=20 per page for max 1000 results) each time, checking for duplicate results to stop.