How do I get the number of people playing in my universe per place?

I would like to know if there is an api call that i can make which i have to enter a placeId, which then returns the amount of players in that place?

https://games.roblox.com/v1/games/ID/servers/Public

This has a field for current players, found it earlier.

local decodedBody = httpService:JSONDecode(proxy:Get('https://games.roblox.com/v1/games?universeIds=100').body)

local active = decodedBody.data[1].playing
1 Like