Easier way to get game icon image id?

Hey so I’m making this game that has a lot of other Roblox games in it and it shows the thumbnail or icon of the game. I know you can simply get the thumbnail by inputting the placeId and formatting it in a URL.

Currently what I know is that to get the icon of a place (1:1 image), you have to use MarketplaceService:GetProductInfo() but I’ve been hitting the request rate (300/min on client) extremely quickly.

Is there a way you can set the image property of a image label to a URL and have it load in the place’s icon?. I know you can with a thumbnail.

Here is the data I already have and the error:


Just use the URL to load the game thumbnail.

https://www.roblox.com/asset-thumbnail/image?assetId={placeId}&width=420&height=420
1 Like

Wait never mind. That compresses it though… thought I had it.
it still is the thumbnail

I want the icon (1:1 not 16:9)

rbxthumb://type=GameIcon&id={universalId}&w=150&h=150
2 Likes

https://thumbnails.roblox.com/v1/games/icons?universeIds=universeId&size=512x512&format=Png

{
  "data": [
    {
      "targetId": 321778215,
      "state": "Completed",
      "imageUrl": "https://tr.rbxcdn.com/180DAY-1225945db189cab191707683672236ef/512/512/Image/Png/noFilter",
      "version": "TN3"
    }
  ]
}

dont know if it still works though

You can get universalId easily by placeId.

https://apis.roblox.com/universes/v1/places/{placeId}/universe

Thanks so much. That works correctly. Also the data the client receives already contains the universe Id making it so much easier!

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