Catalog API | How to get all hats?

Found the problem, all of the roblox Avatar Shop only goes through 17 pages.
That means you can’t have more than 17 pages of any specific search from the Avatar Shop.

You have to specify a search if you want more specific results.

Edit: for offsale items, maybe u can use data[i].offSaleDeadline

Hmmm I need more suggestions and help… I need to be able to get item almost effortlessly

What help do you need with? To get item, you or the user need to specify a search

Do you think it would be possible to gather up a database starting from now until whenever if i start saving a table of hats every so often with this?

https://www.roblox.com/catalog?Category=13&Subcategory=54&SortType=3

Say I make a table of hats with that category. Save it. Then in a few weeks, update that table with all of the new hats that have been added within the time from then and now and then save again thus updating the table of items with all of the newer items

The API only returns 17 pages because there is a 1000 result limit, there are more accessories than that but it’s not possible to query a list of all of them from any public web API as far as I know.

Unfortunately I think the only way users have been able to build lists of all hats is through more complicated scraping (iterating asset ids is one approach, but that’s not really practical any more without significant resources).

3 Likes
3 Likes

Are these actually all hats? I could potentially use these pastebins and the idea of Catalog API | How to get all hats? - #24 by billybobtijoseph to string together something massive together that could be used for a database and for future items as well maybe???

That pastebin thread is 3 years old though.

I think this is actually just an issue with the Roblox API; only so many results are returned in every request, affecting site requests and external requests. It’s probably related to the following thread (but instead of 34, it’s 17 pages, so it was cut in half).

Edit: You should read the post by @.TheGamer101 a couple scrolls above, I hadn’t seen it before posting mine