How to filter by Roblox Bundles using Catalog API

Hi, I’m currently using the Catalog API and I was wondering how I can filter through character bundles (as seen below)

I’ve tried filtering through Category = 4 (BodyParts) and Subcategory = 37 (Bundles) but I keep getting HTTP Bad Request, I’ve seen other posts with other filters but they don’t load characters instead they load heads, hairs etc.

try this one:

https://catalog.roblox.com/v1/search/items?category=Characters&limit=120&salesTypeFilter=1

for bundles created by Roblox:
https://catalog.roblox.com/v1/search/items?category=Characters&creatorName=roblox&limit=120&salesTypeFilter=1

image
Here are the results, doesn’t look like it’s returning Roblox bundles.

how are you handling the response?
image

1 Like

image
This is what’s being returned per index in the data table.

Here’s the link: https://catalog.roproxy.com/v1/search/items/details?Category=Characters&limit=30&salesTypeFilter=1

ok so what’s the problem?

I’m looking for character bundles you can find on the marketplace, correct me if I’m wrong but it isn’t returning such. (The image here is the loaded icons of each)
image

maybe you’re getting the images wrong, the bundles are right though, you can verify with this link

https://www.roblox.com/bundles/id

use the productId value instead when getting the image

Yep you’re right, I’m getting the images wrong. Will look into getting them correctly (If you know how please let me know :pray: ) but thanks for solving the initial issue!

1 Like

lmk if this works for you (use the regular id not product)

local AssetService = game:GetService("AssetService")
local itemDetails = AssetService:GetBundleDetailsAsync(put the id here)
local bundleAssetId
for index, _ in itemDetails.Items do
    if itemDetails.Items[index].Type == "UserOutfit" then
        bundleAssetId = itemDetails.Items[index].Id
        break
    end
end

local imageLabel = path to your image label/button
local imageValue = `https://roblox.com/outfit-thumbnail/image?userOutfitId={bundleAssetId}&width=150&height=150&format=Png`
imageLabel.Image = imageValue
1 Like

Thanks for the response, but just as you responded I saw this post and it works. Thank you for your help.

2 Likes

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