A method to retrieve information of non-present users by their usernames

As a Roblox developer, it is currently too hard to quickly retrieve information of one or more users by their usernames directly from the experience level.

At this time we have UserService:GetUserInfosByUserIdsAsync() which seems to be sending a POST request to https://users.roblox.com/v1/users based on the provided array of UserIds. This is a great option if we know our desired UserIds. However while looking for such solutions for usernames I noticed that there is an identical POST method https://users.roblox.com/v1/usernames/users (both documented here: https://create.roblox.com/docs/cloud/legacy/users/v1) which would work perfectly for me. Unfortunately both are currently restricted by HttpService.

Therefore I propose adding new method call, such as: UserService:GetUserInfosByNamesAsync(names: Array): Array.

Ideally the mentioned endpoints could be unrestricted or reimplemented as OpenCloud APIs.

If this issue is addressed, it would improve my development experience because I would be able to quickly and efficiently fetch basic information of one or more users who are currently not present on the server, for purposes like:

  • Executing admin commands where display names, capitalisation of the usernames or the fact if users have the verified badge matter,
  • In-experience player search features.
2 Likes