How do I fetch Player's Uploaded Inventory Decals?

Been curious a lot lately, and I couldn’t find any answers.

Reason: Silly little game project where they can morph into their decals without inputting their own decal ID.

What do you mean decal? Their avatar picture? If so, search for how to load in a players profile picture…

As I’ve stated in the devforum title, fetch Player’s inventory decals or is it not possible?

This is my first time making a post.

Sorry I was just asking about clarity of your post, but will not reply again to this one…

I don’t need sleep I need answers

There is no Roblox Studio API for this, however, there is an external web API. You can use Roblox’s Open Cloud, specifically, their inventory API. The endpoint you’re looking for is:

https://apis.roblox.com/cloud/v2/users/%d/inventory-items?maxPageSize=100&pageToken=%s&filter=inventoryItemAssetTypes=DECAL

You will need to format in the user ID (%d) and next page token (%s) via string.format. The next page token can be left a blank string on the first API call. I recommend researching how to exhaust a paginated API endpoint.

You can learn more about the API here (landing) and here (API reference). You’re required to create an API key for all Open Cloud interactions; you can learn how to do that here. This will require you to add an x-api-key header to all of your GET requests, so study how either HttpService:GetAsync or HttpService:RequestAsync enables you to do that.

At the time of this reply, “apis.roproxy.com” is a valid domestic bypass URL

This API will only work for users who allow their inventory to be viewed by anyone

2 Likes

Don’t forget to mark this post as solved