# How do I find the corresponding username via user ID?

**URL:** https://meta.discourse.org/t/user-id/384781
**Category:** Support
**Created:** [October 6, 2025, 12:20pm UTC](https://meta.discourse.org/t/user-id/384781 "2025-10-06T12:20:46Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![TethysPlex](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tethysplex/32/520869_2.png) [@TethysPlex](https://meta.discourse.org/u/TethysPlex)
#### Post date: [October 6, 2025, 12:20pm UTC](https://meta.discourse.org/t/user-id/384781/1 "2025-10-06T12:20:47Z")

</div>

I am a user of the Discourse community, and I would like to know if there is any way to get a username by user ID. Or get a username from a user nickname.

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [October 6, 2025, 12:47pm UTC](https://meta.discourse.org/t/user-id/384781/2 "2025-10-06T12:47:25Z")

</div>

You may want to look at [this topic](https://meta.discourse.org/t/find-users-by-id/70952). AFAIK you can’t access a user route with the user id like `/u/id`. Also the API docs are on getting user info from the user id are only by the admin route, it seems:

> **[Discourse API Docs](https://docs.discourse.org/#tag/Users/operation/adminGetUser)**

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [October 6, 2025, 4:14pm UTC](https://meta.discourse.org/t/user-id/384781/3 "2025-10-06T16:14:16Z")

</div>

Why do you need that information?

A quite hacky way is to search for `user:USERID`. For example, [user:95552](https://meta.discourse.org/search?q=user%3A95552) and then you can find out more about me by looking at my profile.

An admin could also create a [data explorer](https://meta.discourse.org/t/32566?silent=true) query that returns the data you need based on the userID. They can give access to it to a group, and you being a member of the group, could use it.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [November 5, 2025, 4:15pm UTC](https://meta.discourse.org/t/user-id/384781/4 "2025-11-05T16:15:12Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
