There is a found parameter in the api response that tells you the total number of results for the query.
If you do found / per_page, you’ll get the total number of pages
Jason Bosco
07/23/2023, 1:46 AM
Then you can use the page parameter to see if you’re on the last page