You can add a repeat step in your server action and use total_pages as an expression for it. Then inside the repeat add your api call and replace the static page=1 value with page={{$index+1}}
No, the API call with the page="{{$index+1}}" should be inside the repeat. So first a normal API call to just get the total pages and then inside the repeat call the rest with the dynamic paging.
Yes, from what i see on your screenshots this should loop through all the pages. But remove the " " around the dynamic value. They should not be there -> page={{$index+1}}
You seem to be repeating wrong data. Run the server action directly in your browser using the run in browser button in server connect and you can see the results from the repeat there. You need to use the repeater as a source for the repeat on the page.