Roblox api request

I’m trying to get information to assets by using the roblox api. The result I want to get is comparable to MarketplaceService:GetProductInfo(). However, I want to get multiple asset info with only one api call.

The api docs seem to be outdated, many endpoints are not working.

You can’t get multiple assets with MarketplaceService but you can with AvatarEditorService, however your account needs it fully enabled in order to utilize it. Example code would be:

local AvatarEditorService = game:GetService("AvatarEditorService")
local assets = AvatarEditorService:GetBatchItemDetails({5644883846, 9061284002}, Enum.AvatarItemType.Asset)

for _, asset in assets do
	print(asset.Id, asset.Name)
end
2 Likes

the real answer is use an external proxy to hit the catalog api directly

2 Likes

but what is the endpoint?

This probably has the endpoint for it
https://catalog.roblox.com/docs#!/v1

2 Likes

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