API returns either different or less values

So, I am using an API to gather a users data from catalog. In browser (with/without) cookies it gathers all the correct data. But, in studio it only gathers the UGC item.

local Encoded_Data = HTTP_Service:UrlEncode(`catalog.roblox.com/v2/search/items/details?CreatorType=User&Limit=10&CreatorName={self.Player.Name}&MinPrice=5`)
local Link = self.URLS[math.random(1, #self.URLS)].. Encoded_Data
Data = HTTP_Service:GetAsync(Link)
Decoded_Data = HTTP_Service:JSONDecode(Data)

Sample line: https://catalog.roblox.com/v2/search/items/details?CreatorType=User&Limit=10&CreatorName=Leppux&MinPrice=5


Any ideas?

Roblox really hates it when you send API requests to its own platform for some reason.

For your goals it’s much better to use MarketplaceService instead of HTTPService:

I am using a proxy to utilize the API and marketplaceservice to get product information. The issue is that the API sends 2 different results when in Studio and trying on Browser.

Roblox still may restrict some of the data from being sent, even from an external website, simply due to how their servers and app are set up.
I still recommend you to not use HttpService and opt for MarketplaceService instead.

And how’d I use marketplaceservice to get user assets from catalog?

You might want to look here: AvatarEditorService | Documentation - Roblox Creator Hub

1 Like