Validating a Game ID

I’ve been messing around with Python lately, and I wanted to check if there’s a way to see if a ID is a game.

I saw another post on this, but because it uses MarketPlaceService, I can’t use it with Python.

Is there an api that would error if I send an invalid id to it? Any help is appreciated, thanks.

1 Like

Use this api endpoint. you can see the different errors it will spit out based on the result.
https://games.roblox.com/docs#!/Favorites/get_v1_games_universeId_favorites

Scroll down a little to see it.

1 Like

image

https://api.roblox.com/universes/get-universe-containing-place?placeid=” Would this api also work if I wanted to use a placeid instead?

That’s the API endpoint he was potentially referring to - therefore, yes.

1 Like