Looping to hit Rest API and storing in local mini mongo?

I have to hit an API (indeed jobs api) and it seems to only let you get 25 at a time. So I suppose I have to get the “totalResults” (e.g. 344) and the “start” point (e.g. 0) and loop over the HTTP while adjusted the “start” by 25 until you have all 344. This sounds horrendous but I’m not sure what else to do.

Once I have all 344 results, should I send them to the client and store them in a local mini mongo collection for further filtering of the 344 results?

How do other approach situations like this (in general)?