The first only works on Roblox, I’m looking for an endpoint that provides that info.
The second returns the URL of the icon’s file with a given resolution (thumbnail), and doesn’t provide an asset ID.
The third previously returned the info I needed but that method no longer works.
I also looked up the Groups API but I couldn’t find any methods that provide the asset ID of the icon.
Hello, when creating a group on Roblox the icon is separate meaning you can’t use an image from the Roblox library for your icon and you can only put add an icon on a group through a file on your PC. So, getting the icon of a group can only be done by copying the image.
When a group is created (or changes icon), the icon selected is uploaded to Roblox, and an asset ID is assigned to it. The asset ID can be retrieved using the first method I mentioned before (GroupService).
For example: this group (ID 1), has currently this icon (asset ID visible in the URL).
The icon displayed on the site is a thumbnail, with a different resolution than the original file. If you have the asset ID, you can fetch the original file.
I’m sorry to say that there is currently no API that allows you to get the asset ID of a group’s icon. However, you may be able to find a workaround.
You can use the GroupService:GetGroupInfoAsync() method to get the group’s icon URL. With this URL, you can attempt to parse it to get the asset ID. This may not be reliable since the URL may change, but it’s worth a shot.
Alternatively, you could try contacting Roblox’s Support team and asking them if there is any way to get the asset ID of a group’s icon. They may be able to provide some help.