Hello, I’m currently working on a revamp on my game Account Value and I’m attempting to add a menu where players will be able to see their usernames and select one, as depicted below:
I’m wondering if there is any build in method or api that I could use in order to get a list of the player’s previous usernames to display on the client’s ui.
Yes, there is a way to get a user’s previous usernames through the users api. The endpoint for this is https://users.roblox.com/v1/users/{USERID}/username-history?limit=10&sortOrder=Asc, you can check the actual document to test and manage the properties according to your needs.
Note that you will need a proxy to access this endpoint since roblox doesn’t allow http requests to access their own resources, I suggest using public proxies like roproxy or make one yourself.