GetProductInfo not returning accurate sales

Hey developers!

I am making an avatar system in which you should be able to sort by popularity.

I was going to accomplish this by storing the number of sales each item has, however when I run the following code…

print(game:GetService("MarketplaceService"):GetProductInfo(ID_HERE, Enum.InfoType.Asset))

… in my command bar, I always find the number of sales to be 0.

I have tested this with items made by Roblox vs made by creators, and I can’t seem to work out why this could be the case.

If you happen to know a fix, or an alternate solution (preferably not making calls to Roblox’s API, I’ve had enough of the excessive catalog rate-limits) please let me know! Thank you!

1 Like

It seems like you can only view the number of Sales an asset has on an item that you personally have created and published, or a group (that you own) have created and published. I’m not entirely certain as to why that is the case (privacy maybe?), but that is what I’ve noticed. I don’t think there is a way to bypass this (90% sure, but anyone is free to prove me wrong)

1 Like

Try using httpservice instead, as a temp fix.

Asset sale information is no longer public. It is always 0 unless you have sufficient permissions on the asset, even from the web API.

1 Like