What API endpoint can I use for checking when a user was last online?

It’s not in presence.roblox.com or users.roblox.com so I am not really sure.

2 Likes

If your trying to do it in a game you will need a Proxy as HTTP won’t allow you to send requests to the Roblox API.

If you don’t want to do it on a game, like offsite ( a bot or something ) you can use this:

https://api.roblox.com/users/1/onlinestatus/

Where it says 1 just replace that with the user ID.

Here’s how you could do it:

1 Like