Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I'm in the data explorer, and I need my user ID for a query. Problem is, I don't know what it is, if it's not my username.

share|improve this question
Your profile view, - I would think your id is the "164012" segment (on meta). – Wesley Murch Jul 16 '11 at 16:47
I am specifically asking about my ELU account: I would think the same thing (10041), except the query doesn't come up with any results when I input 10041 into here – Daniel Jul 16 '11 at 16:50
The data explorer is updated with live data only once per month, usually the first of the month. Perhaps you have to wait a few days to see the desired data. – BalusC Jul 16 '11 at 17:36
Note that it is different for different sites. A lot of people are suggesting your Meta.SO account, which is all fine and good, but if you want ELU or SO, you need to check those IDs on the user page for that particular site. – Cody Gray Jul 17 '11 at 4:45
You are number 6. – Rosinante Nov 5 '11 at 23:26
+1 @Rosinante. I'm surprised that nobody ever +1 that until now. (But does that make you number 1, at least for the moment)? – CoolHandLouis Jun 19 '14 at 4:07
up vote 26 down vote accepted

You can find it in several ways.

  1. The link from your flair on the question contains your id - - in this case it's 164012 here on meta.
  2. Go to your profile page and select the accounts tab. The list of sites links to your profile on that site. So for EL&U the link is, so your user id there is 10041.
share|improve this answer
But 10041 doesn't work in the query. – Daniel Jul 16 '11 at 16:54
@drm65 - I don't know. That is your profile. How long have you been a member of EL&U? The data explorer data is always at least one month out of date. So if you're less than a month on the site you won't appear just yet. – ChrisF Jul 16 '11 at 17:00
@drm65 ChrisF is correct. That query works for other userIDs whose owner joined earlier than you. – Bill Jul 16 '11 at 17:05
@ChrisF: Ahhh... that must be it. I've only been on SE for 29 days. – Daniel Jul 16 '11 at 18:50
The 2nd way doesn't work anymore. Can you confirm and update your answer ? – Suhaib Jul 21 '14 at 22:48

You can find your user ID for a particular Stack Exchange site by performing the following steps:

  1. First, visit your user profile on the site in question.
  2. Take a close look at the URL for your profile page:

    The 5 represents the user ID

  3. You should spot a number right after the users/ and before the slug for your username. This is your user ID for that site.

share|improve this answer
You felt the other answers didn't adequately explain this? – Michael Mrozek Nov 5 '11 at 20:22
@MichaelMrozek: Actually, to be honest, I'm writing a PHP library for the API and I needed a single answer somewhere that clearly described how to retrieve a user's ID. None of the other answers seemed to do that. – uɐɯsO uɐɥʇɐN Nov 5 '11 at 20:40
+1 this answer is indeed more clear than the others. – Shadow Wizard Nov 6 '11 at 8:29

Your user ID is 164012. You can find it in the url of your user page:

share|improve this answer

Your user ID is different on each SE site; in the list of user profiles listed, for example, in, the user ID is always the number after users/.

The one you need to use depends on where you are executing the query: The one that you need to use in is your Stack Overflow user ID, while in you should use your EL&U user ID.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .