Hey,
I am trying to make an avatar editor system similar to Catalog Heaven’s system. I am currently using https://catalog.rprxy.xyz/v1/search/items/details?Category=0&Limit=30 and I want to switch pages. I mean like I want to get the next page of 30 items. In the catalog, there are 60 items on 1 page. And the max is 30. So that would mean that I would want to get the other half of the catalog. How would I do that?
Thanks,
Dragon
Hmm, I can’t seem to find anything for this endpoint on the Catalog API docs. Can you give me any documentation to work with?
1 Like
I got the api from this forum, the person who answered the question also said “To get more than 30, you would have to use pages, to move to the next page of items.”. I made this forum to see if anyone knows how to use pages.
You can’t do it easily. They specifically made it so that scraping the site is annoying (cant go past a specific page count). You will have to search for item’s by each category if you want a broader view of every item in the catalog.
If you wish to navigate pages under the limited scope they give you, then you would want to modify the “cursor” query.
So, consider an initial request: https://catalog.roblox.com/v1/search/items/details?Category=11&Subcategory=9&SortType=2&SortAggregation=5&Limit=30
In the JSON response returned, there exists a data.nextPageCursor
. You use this to navigate to the next page.
Then, just set the cursor
query parameter to that value. In my case the second page is: 2_1_cb4b1be9fce6d2c137940710c4cfff24
And so the following request would look like this: https://catalog.roblox.com/v1/search/items/details?Category=11&Subcategory=9&SortType=2&SortAggregation=5&Limit=30&cursor=2_1_cb4b1be9fce6d2c137940710c4cfff24
You would repeat this recursively until data.nextPageCursor
is null
2 Likes
Thank you so much! Sorry for the really late response.