API /groups/ always returns 404

I am currently writing a system in python that accesses group information from api.roblox.com, but I am running into an issue.

I can access

api.roblox.com/users/{userid}

It works perfectly fine, returning the user’s name and other information. This tells me I am able to access the API.

When I try to access

api.roblox.com/groups/{groupid}
--in this case, groupid = 4313739, an existing group,

or any other /groups/ service, I always receive an error 404 message, like the one below.

{"errors":[{"code":404,"message":"NotFound"}]}

I have also tried adding /v2/ before /groups, and I know that my user is verified, because I can access /currency/balance. Being unverified should not be an issue grabbing group information.

If you know what might be causing this, or if I need to use a different address to access the group part of the API, that would be helpful.

Consider using the groups.roblox.com subdomain.

https://groups.roblox.com/v1/groups/4313739

1 Like

Thank you, that solved my issue. I did not consider the subdomains.

I think api.roblox.com is a deprecated subdomain. iirc I saw someone earlier complaining their code just stopped working and it was pretty similar to what you were doing.