Hi @cesar_dev, happy to help with this one. Can you confirm how exactly your API behaves? I see it accepts a page parameter to query a specific page, but does it provide any information on the total number of pages in the response? Or any information on whether a next page exists or not?
Hi @cesar_dev, so if all you want to do is increment the number of pages until you hit an error you could make use of the $runIndexvariable provided by n8n. Like so:
This might need some tweaking depending on how exactly your API works, but this basic template should help with that.