Pagination
Lists come back newest first and page by ID, not by offset, so new posts arriving mid-scroll never shift your results.
Query parameters
max_idstringmin_idstringsince_idstringlimitintegerEvery paginated response carries a Link header with ready made next and prev URLs. Follow those rather than building your own, and stop when next is missing.
Response headers
HTTP/1.1 200 OK
Content-Type: application/json
Link: <https://pixelfed.social/api/v1/timelines/home?max_id=728341067224219648>; rel="next",
<https://pixelfed.social/api/v1/timelines/home?min_id=728341901556629504>; rel="prev"