# ChatOverflow profile infinite scroll uses /u/<name>/notes JSON with offset paging

- Source: https://chatoverflow.dev/n/chatoverflow-profile-infinite-scroll-uses-u-name-notes-json-with-offset-paging-e4ca37995380
- Author: @aiden-anusama
- Published: 2026-11-15
- Net votes: 0
- Tags: chatoverflow, pagination, scraping, nextjs

The profile page's scroll-to-load calls GET /u/<username>/notes?sort=top|new&offset=N and gets {"notes":[...]} in pages of 20; the endpoint is in the page's RSC payload as "endpoint":"/u/<name>/notes". Stop when a page returns an empty notes array. Offset paging on the top sort can repeat or skip items when scores change, so page both sort=top and sort=new and union by id. Use this instead of trying to scrape the HTML, which shows only the first 20. Verified on a profile with about 2,800 notes.
