Hey im experiencing some weird behavior when im using RoProxy, i don’t know if this is because I’m being rate limited or not. Im trying to make a donation style system like Pls Donate and I’m using this endpoint to get the gamepasses.
and not the actual data. If anyone is aware of the rate limit for RoProxy let me know as I might consider just switching to self hosting it.
Edit: Tried selfhosting, wouldn’t work either it couldn’t connect to the proxy or it would say there was no message so decided just to make one that fits my needs using a digital ocean droplet.
Most blocked endpoints were the subject of abuse. Feel free to host your own instance of RoProxy Lite if you need access to said endpoints.
As for the api/universes/get-universe-containing-place endpoint, the api.roblox.com subdomain was deprecated months ago. The endpoint has since been removed. Look for an alternative endpoint on games.roblox.com.
I deployed to Heroku and I’ve tested the example endpoint provided in the README file (https://games.roblox.com/docs) and it worked fine.
However, when I tried utilizing the proxy to grab the endpoint http://setup.roblox.com/versionQTStudio, I got an error: “Proxy failed to connect. Please try again”. I used “/setup/versionQTStudio” in the request so I assume it should be working correctly.
setup.roblox.com has some funky TLS certificate if I remember correctly. For your case, I feel it’s worth mentioning that setup.roblox.com is mirrored to setup.rbxcdn.com which is accessible via HTTPService.
I got this error while trying to use RoProxy, can somebody help me?
local function getPlaceData(placeId)
local endpoint = "https://games.roproxy.com//v1/games/multiget-place-details?placeIds="..placeId
return GET(endpoint)
end
local function getUniverseData(universeId)
local endpoint = "https://games.roproxy.com//v1/games?universeIds="..universeId
return GET(endpoint)
end
The multiget-place-details endpoint requires you to be logged in - try apis/universes/v1/places/{placeId}/universe (to get the universe id) in combination with your getUniverseData function.
local function getPlaceData(placeId)
local endpoint = "https://games.roproxy.com//v1/games/multiget-place-details?placeIds="..placeId
return GET(endpoint)
end
local function getUniverseData(universeId)
local endpoint = "https://games.roproxy.com/apis/universes/v1/places/"..universeId.."/universe"
return GET(endpoint)
end
local function Proxy(url)
return url
end
local function GET(url)
url = Proxy(url)
local result
local Success, Error = pcall(function()
result = HttpService:GetAsync(url)
result = HttpService:JSONDecode(result)
end)
if Success then
return result
else
warn(Error)
end
end
local function getPlaceData(placeId)
local endpoint = "https://games.roproxy.com//v1/games/multiget-place-details?placeIds="..placeId
return GET(endpoint)
end
local function getUniverseData(universeId)
local endpoint = "https://games.roproxy.com/apis/universes/v1/places/"..universeId.."/universe"
return GET(endpoint)
end
Pretty sure that’s the exact same code you sent before - don’t use games/v1/games/multiget-place-details. It requires authentication. The games/v1/games?universeIds={universeId} endpoint should have all the data you need, and if you don’t already have the universeId you can get it with the apis/universes/v1/places/{placeId}/universe endpoint. What’s your use case?
I’m generating random game ID’s for a Super Place Roulette game I am making. I am trying to find out how to find out whether the game is public or not based off of the ID.
Btw, will this work?
local function getPlaceData(placeId)
local endpoint = "https://games.roproxy.com/apis/universes/v1/places/"..placeId.."/universe"
return GET(endpoint)
end
local function getUniverseData(universeId)
local endpoint = "https://games.roproxy.com/apis/universes/v1/places/"..universeId.."/universe"
return GET(endpoint)
end
No, those endpoints don’t exist. Regardless, I don’t think there’s a way to check if a game is public without authentication. All endpoints I’m aware of return an “isPlayable” property - which is based on the authenticated user. If you’d still like to do so, feel free to host your own instance of RoProxy Lite and send a cookie along with your requests.
I’m trying to build a server list for my game, but it’s refusing to print out my games servers, giving me “HTTP 403 (Forbidden)”… Does RoProxy not support this feature?
local httpService = game:GetService("HttpService")
local url = "https://games.roproxy.com/v1/games?universeIds=4165271081"
function getserverlist(placeId)
local cursor
local servers = {}
repeat
local url2 = httpService:JSONDecode(httpService:GetAsync("https://games.roproxy.com/v1/games/" .. placeId .. "/servers/Public?sortOrder=Asc&limit=100" .. (cursor and "&cursor=" .. cursor or "")))
cursor = url2.nextPageCursor
until not cursor
return servers
end
local response = httpService:GetAsync(url)
local data = httpService:JSONDecode(response)
wait(5)
getserverlist(4165271081)
game.ReplicatedStorage.UpdatePlayers:FireAllClients("KIYOSHIRI", data.data[1].playing)