Is there a MarketplaceService:GetDeveloperProductsAsync() but for game passes?

The GetDeveloperProductsAsync() says that it “Returns a pages object which contains information for all of the current game’s developer products”, and I was wondering if there was a thing similar to this for game passes. I just want to create a gui that updates its game passes without me having to manually add/remove them.

1 Like

Try GetProductInfo

That’s not what OP was looking for. He wants a method to fetch all of the gamepasses registered to a game.

There is currently no Roblox Lua API for this but there is a web endpoint you can use to get a list of gamepasses. You can find it looking through the source code of the game page, or by intercepting HTTP requests. To use it in game you’d have to use a proxy to make a request to the Roblox website.

4 Likes

To add to what Usering said, here is the web API endpoint with documentation.

3 Likes

Thanks for the help guys — this is just what I was looking for :grin: