Server uptime and version using API?

Is there a way to get the uptime and version of any game running servers using some sort of web-API or some other way?

5 Likes

Server uptime can be accessed with workspace.DistributedGameTime.

3 Likes

Try using the .DistributedGameTime in workspace.

1 Like

yeah only for your own game and you have to be in-game.

2 Likes

well yeah everyone knows that, I ain’t asking for that.

1 Like

Have the server upload its startup time to your own server. You could also write it to MemoryStore or DataStore and query it with Open Cloud.

1 Like

I’m not asking to do it to my own game, how do I for any game.

1 Like

If you store a list of currently active servers you can track when you first saw the server but otherwise I don’t think you can get a server’s uptime from any web APIs.

idk because I saw some extension or something has it somehow.
image

Could you provide which extension does this?

probably ropro or something that people use :sob:

1 Like

Oh then it must be exposed somewhere that I’m not aware of. Good luck finding it! If you can find the extension I might be able to help.

It seems to be RoPro that would provide this:
chrome_1D4cIIpERV

I won’t dig into how though, their ToS forbids going into source code:

They’ve likely rolled their own methods to get server age somehow, since the Roblox server listing API (API docs) doesn’t provide server age.
chrome_5FfTClLevi
(the data fetched for one server when looking at the servers page)

I wonder what magic they used!

like you can use [https://gamejoin.roblox.com/docs](gamejoin API) to get the IP address of any server but it doesn’t have anything for version or uptime.

2 Likes