latest paginates, you just need to pass the params properly and you should be able to reach all topics via the API.
The search paginates as well.
I recommend Reverse engineer the Discourse API as a crash coarse for figuring out all the params you need.