How to get an items icon?

I couldn’t find anything about this, I just want to get the icon URL of a catalog item.

e.g: https://tr.rbxcdn.com/46978a97f4bf46dffcdb77f5f31c7e0f/420/420/Hat/Png

2 Likes

Try something like: rbxthumb://type=Asset&id=173748933&w=150&h=150

From here: https://developer.roblox.com/en-us/articles/Content

Or use GetProductInfo like mentioned below.

3 Likes

Use MarketplaceService::GetProductInfo. It returns a table, and lucky for you, one of its fields is IconImageAssetId.

3 Likes