Roproxy catalog API returns 403

Testing the API in Swagger UI under the Catalog > v1/catalog/items/details will return a perfectly fine result.


On the other hand, testing in in studio and in client will always return a HTTP 403 Forbidden error.

http = game:GetService("HttpService")
b=http:GetAsync("https://catalog.roproxy.com/v1/search/items?category=BodyParts&limit=120&salesTypeFilter=1&sortAggregation=5&sortType=2&subcategory=HairAccessories")
d=http:JSONDecode(b)
local getInfos = {
	["items"]= {}
}
for i,v in ipairs(d.data) do
	table.insert(getInfos.items,
		{
			['itemType']=1,
			['id']=v.id
		}
	)
end

print(http:GetAsync("https://catalog.roproxy.com/v1/catalog/items/details",getInfos))

This is most likely a problem with Roproxy. Roblox recently introduced stricter ratelimits on search & economy endpoints, and Roproxy has only gotten more popular. I assume you’re been forbidden because the proxy’s IPs are being ratelimited, but it’s hard to tell without further info.

Is this happening continually? It works fine in the browser, but you’ll need to check the message to double check. If it’s still happening, log the response to the console and send it here.

I’ve found out that it needs a roblox cookie and an x-csrf token to actually use the API. Thanks!

2 Likes

How did you do that?β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž β€Ž