Finding a hat's name via its asset ID

What do you want to achieve?
I want to be able to acquire the name of a hat (accessory) via its asset ID

What is the issue?
I haven’t found anything that could help me in solving this problem.

What solutions have you tried so far?
I thought I could try to reverse the method people used to get the asset ID of an accessory via its name (turns out it was actually with the accessory object itself) though the method doesn’t accept ID’s (GetCharacterAppearanceAsync)

1 Like

I think MarketplaceService:GetProductInfo() should help in this case if you only have the asset id to go off of. It returns a dictionary of information you can use, one of the entries being the name of the asset on the asset’s page on the website

Is this what you meant?

1 Like

Yes, indeed it is!
Thank you for the solution (and saving me a few weeks of work)!

1 Like