Get a table of the top catalog items using HTTP

Hey developers! Is there a way to get an array ({123,123,123,123}) of all the top items on the roblox catalog? Is this possible with rprxy?

More specifically, can I do this targeting a specific category of the catalog?

e.g This would be an array of the item ids going horizontaly

I hope that this was clear! Thanks!

:warning: Please see this thread on why you shouldn’t use proxy servers: PSA: Stop using Roblox proxies! (roproxy, rprxy.xyz, rprxy)

https://catalog.rprxy.xyz/v1/search/items?category=CommunityCreations&limit=60

You can find a list of Categories and Subcategories on the API documentation page:

https://catalog.roblox.com/docs#!/Category/get_v1_categories

Although it’s worth noting you might be able to do this natively soon, using AvatarEditorService. Currently you’ll need to edit the FFlag using Studio Mod Manager to enable it, but there is a search API built-in. Roblox have been using it a lot recently in public games, such as the LNX concert place.

1 Like

Is there a way to change the sorting from relevance to… say… bestselling?

:warning: Please see this thread on why you shouldn’t use proxy servers: PSA: Stop using Roblox proxies! (roproxy, rprxy.xyz, rprxy)

Chrome’s DevTools are your friend. Use the Network tab while browsing the catalogue to get the API URL (just exchange roblox.com for rprxy.xyz in your script).

To change sort order, use the sortType query parameter (and sortAggregation for the time period):

https://catalog.rprxy.xyz/v1/search/items?category=CommunityCreations&limit=60&sortAggregation=5&sortType=2&subcategory=CommunityCreations

6 Likes

I am getting the error “HTTP 400 (Bad Request)” on the following code… is there anything that I am doing wrong?

local Http = game:GetService("HttpService")

local CatalogData = Http:GetAsync("https://catalog.rprxy.xyz/v1/search/items?category=CommunityCreations&limit=5") -- Error occurs here

CatalogData = Http:JSONDecode(CatalogData)

for _, Data in pairs(CatalogData.Data) do

print(Data[1])

end
1 Like

:warning: Please see this thread on why you shouldn’t use proxy servers: PSA: Stop using Roblox proxies! (roproxy, rprxy.xyz, rprxy)

The minimum limit for this request is 10 assets. If you open that URL up in your browser, it’ll display the full error message to you:

{
    "errors": [
        {
            "code": 0,
            "message": "Allowed values: 10, 28, 30, 50, 60, 100",
            "field": "limit"
        }
    ]
}

Which is telling you that the error is with the limit parameter, and how you can fix the problem (specify one of the displayed values).

3 Likes