Is there any way to get the quantity of a certain UGC Limited item?

Hi Devs!

Is there any way to get the quantity of a certain UGC Limited item?

I know that I can use MarketPlaceService:GetProductInfo() for the remaining quantities.
But, is there any way to get the total copies of an UGC limited item?

Thanks,

124141241242

1 Like

It would be easier to just do it manually, they’re Limited for a reason, The only possible way I could think of achieving this would be to use HTTP Requests.

Would you not be able to just do

Total = Remaining + Sales

?

2 Likes


info.Sales returning 0.
I think this does not seem to be information applicable to UGC limiteds. :frowning:

i just found that MarketPlaceService:GetProductInfo() gets you the same, so you can do:
MarketPlaceService:GetProductInfo(ID).CollectiblesItemDetails.TotalQuantity, don’t use the other method.

your code should look like this:

local MarketPlaceService = game:GetService("MarketPlaceService")

-- Define ID before use
local info = MarketPlaceService:GetProductInfo(ID)

-- Do something else here
print(info.CollectiblesItemDetails.TotalQuantity)

I didn’t test it so let me know if it works

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