Get date a group was created using web APIs

I’m scraping some group data for a project I’m working on, and to get the data I need, I need to be able to get the date the group was created. So far, it looks like the only endpoint that returns this data is the /v2/groups endpoint, which appears to be disabled for now, likely reserved for future use. The /v1/groups endpoint does not return the date created either.

tldr; Using the Roblox web APIs, does anybody know which endpoint I can use to get the date a group was created?

The v1 endpoint provides a “created” field. For some reason it’s under shout, but updated is the shout’s date I’m pretty sure.

2 Likes

This isn’t always a surefire way of getting the date the group was created for two reasons: If the group has never had someone shout, the shout object won’t be returned in the body. Another thing to note is the “created” field marks the date the first shout was created, not the date the group was created.

However, the chance of either of those things being the case are pretty slim. I’ll mark this as the solution for now, but if anyone has a method to get the exact date the group was created 100% of the time, feel free to reply.

1 Like

Edit: Nevermind, the endpoint disabled was only the one that updates roles of a user, not the whole thing. Disregard what I said, see below.

The v2 endpoint is what you’re looking for. It was disabled recently due to a severe exploit involving making anyone owner of a group, but should be re-enabled soon.

That only concerned the endpoint for updating roles of a user, not the endpoint for getting metadata on a group. In either case, it is no longer relevant since that issue is resolved.

2 Likes

Could you perhaps provide some inside as to why /v2/groups is disabled/unvailable at the current moment?

sorry for the bump, but a better and a 100% full proof way is to send a GET request to: https://groups.roblox.com/v2/groups?groupIds=[GROUPID] and get the creation date from the data[1].created in the response json

6 Likes