What is the new endpoint for fetching player gamepass?

hi, does anyone know the new endpoint to retrieve the player game pass? few days ao I still can fetch all player gamepass with this endpoint, I was using roproxy

		if nextPageCursor then
				data = http:GetAsync("https://www.roblox.com/users/inventory/list-json?assetTypeId="..tostring(assetId).."&cursor="..nextPageCursor.."&itemsPerPage=100&userId="..tostring(plrId))
			else
				data = http:GetAsync("https://www.roblox.com/users/inventory/list-json?assetTypeId="..tostring(assetId).."&cursor=&itemsPerPage=100&userId="..tostring(plrId))
			end
https://www.roblox.com/users/inventory/list-json?assetTypeId=34&cursor=&itemsPerPage=100&userId=3804564289

when I try to visit it via browser it gives me the error 404 not found

Roblox has either altered the endpoint or removed it entirely as part of the API updates.

Have you tried checking player’s public games and checking their gamepasses there? that’s what i tried since i couldnt find the endpoint to get every gamepass made by the player.

https://apis.roblox.com/game-passes/v1/users/{userId}/game-passes?count=100&exclusiveStartId={startId}

Start with an empty startId and give it the last gamepass id your response returns as the next startId(you can think of it as a cursor for fetching the next page).

This is the API endpoint the inventory page is currently using.

2 Likes