Asset.PriceInRobux = nil, apparently

Still working on the same thing, trying to find out how to get info from the marketplace.

Here’s what I’m trying to do -

The current price of Breezekreig adventurer is R$ 1400 (as of this writing), I want to get the price of the collectible hat through a script, I’m using MarketplaceService:GetProductInfo() for this:

function GetAccessory(id)
	local Asset = game:GetService("MarketplaceService"):GetProductInfo(id)

	workspace.Accessory.SurfaceGui.Frame.Accessory1.ImageLabel.Image = 'https://www.roblox.com/asset-thumbnail/image?assetId=' .. id .. '&width=420&height=420&format=png'
	print(Asset.Name .. " :: " .. Asset.Description)
	print(Asset.IsLimited)
	print(Asset.PriceInRobux) -- Prints out nil
end

GetAccessory(144302847)

The asset id i’ve given is the breezekreig adventurer’s id, I can confirm this because all the other 2 prints work fine:

12:19:03.971  BreezeKreig  Adventurer :: You collected 1000 snow patches in BreezeKreig to land yourself this cool hat!  -  Server - Coroutine:5
12:19:03.971  true  -  Server - Coroutine:6

The expected price in robux is R$ 1400, but it returned nil instead. What do I do? Is PriceInRobux deprecated or?

I’m pretty sure you aren’t able to retrieve the price of a limited.

1 Like

Really? Alright, I’ll try checking on other accessories just to confirm this.

1 Like

You’re right, that seems to be the case. I’ve tried it on the “Beautiful Hair for Beautiful People” accessory and it prints out 95 (which is the exact price) instead of nil, Are there any solutions to this that you know about?

1 Like
2 Likes

You could use roblox’s catalog API to request the item and look at the BestPrice (this is for limiteds only) but it seems to return empty no matter what.

Edit: You can use this api, https://catalog.roblox.com/v1/search/items/details?Keyword=ItemNameHere&Category=2 and take the lowestPrice value.
But Jupiter_Dunes’ idea is better since it doesn’t require you to host a proxy.

1 Like

You could either make a table containing all the limiteds prices which would take a ton of time, or learn about HTTP Service and use Rolimons to track the limiteds RAP and Value.

1 Like

I’ll check this out, thank you!

1 Like

Alright thanks! That worked just fine! Sorry I can’t give you the solution mark cause I’ve already given it to the other guy, I’ll leave you a heart though!