How to query Catalog API for a list of gears?

I’m not quite sure how to do this, and the example that is provided on Roblox’s help page about this doesn’t seem to work anymore. I want to grab a list of gears of the catalog but I don’t know how to format the URL correctly for gears. Everything else is working perfectly fine.

https://create.roblox.com/docs/studio/catalog-api#query-parameters
https://catalog.roblox.com/v1/search/items/details?Subcategory=5&CreatorTargetId=1&SortType=0&SortAggregation=5&Limit=10

I think Roblox forgot to replace v1 with v2(?)
Just replace the v1 in the URL to v2, it should work like the following:
https://catalog.roblox.com/v2/search/items/details?Subcategory=5&CreatorTargetId=1&SortType=0&SortAggregation=5&Limit=10

1 Like

That was a good idea, but it didn’t work unfortunately. It lists off bundles now and other miscellaneous items, and it seems to be ignoring the category and subcategories that I put into the link. Maybe v2 needs different parameters?

Hey, I was wrong in the last response (maybe).
You would have to specify the main category like this to get gear items:
https://catalog.roblox.com/v1/search/items/details?Category=11&Subcategory=5&CreatorTargetId=1&SortType=0&SortAggregation=5&Limit=10

More info:

2 Likes

It looks like that works! Thanks a lot.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.