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