Do anyone know how to convert a game name into a placeid?

do anyone know how to convert a game name into a placeid?
i am needing this for a project that i am making where you can serach for games using a game name
so i am wondering if you can covert game name into placeid

I do not think this is possible because there can be multiple games with the same name and the PlaceId system is the system in place for finding a specific game.

thanks but do you have any ideas how to make this possible?

Maybe with some sort of filtering algorithm that finds the largest game with that name. I wouldn’t know where to start with something like that. Maybe through Roblox experience APIs

my old system uses placeid to serach maybe i could create a database so like a datastore so when ever a player enters a placeid it gets the name and uploads it to the datastore when a player enters the name the system will find it and return the placeid

I believe you would have to use search queries on ROBLOX’s website, or through a search engine using HTTP Requests. If the idea is to do this in ROBLOX’s engine, you can’t use internal HTTP-based APIs to do this kind of behaviour and would have to resort to HTTP Requests on a search engine (though that may require checking the Terms of Service of both ROBLOX and the Search Engine).

As for doing it externally, say through another Game Engine (as an Application GUI bootstrapper) or an external language with it’s own framework for GUIs, you might be able to just directly send requests to ROBLOX and have them fulfilled. It could require OAuth though, since I’m not as familiar with the HTTP/OpenCloud API endpoints in this context.

You’re likely referring to Game/Universe IDs (which is the actual ID of the game/universe rather than a place).

To do this, you can use an API endpoint like https://apis.roblox.com/search-api/omni-search?searchQuery=[GAME_NAME]&sessionId=0&pageType=all, do note that this API is undocumented and may be subject to change. You’ll likely need to use a proxy like roproxy in-game as well.

3 Likes

holy crap thats what i need thanks for the help!

this is the project i am working one becuz of you knowing that api!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.