API to get realtime data about other games

Is there an API to get data about other games, like live player count, like-dislike ratio, favorites, etc.? If this isn’t a built-in functionality, would it be possible with something like HTTPService Edit: just read the HTTPService docs and you can’t make HTTP requests to any Roblox sites.

I’m coming back to Roblox development after a few years. I never fully learned all of the Roblox Lua features back in the day and I’m sure they’ve added new features since.

Now, you can’t access that type of data IN-GAME, as it serves no real-purpose.
But, externally you can. A good example of is you can look at is metamethod.pt, or just read Roblox’s API.

And for the metamethod.pt look in the dev tools, head to the Debugger (firefox), and look at update-stats.js and you can see how they do it.

1 Like

Big non-believer of data serving no purpose lol. If that were the case, it wouldn’t be recorded.

Also, you’re saying I could have an external service that grabs data from a Roblox API (metamethod.pt in your example) and send that data to my game using HTTP service but I can’t make the calls to the Roblox API directly from my game?

You could use a proxy to bypass the block. You could either host your own proxy server or use a public one, however it’s worth noting public ones can go down at any time. If you want to be in complete control, hosting your own is the way to go.

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