So I was recently trying to look up how much a certain badge was awarded on different sites when I noticed, that the badge URLs work on indexes and not on names.

For example the URL to the Unsung Hero badge on Stack Overflow: https://www.stackoverflow.com/help/badges/226/unsung-hero

And the URL to the Unsung Hero badge on Ask Different: https://apple.stackexchange.com/help/badges/35/unsung-hero

On Stack Overflow, it's 226, on Ask Different 35. With different sites, it's completely different numbers.

Is there any real order to those indexes or is it listed anywhere?


2 Answers 2


The main problem here is that different sites have different badges when it comes to tag badges. On larger sites, they have been earned more, so new badges like Unsung Hero had to have higher numbers.

The Badges table in SEDE does have an Id column but that's more like an identifier for the award to a particular user, i.e. it corresponds to this page. The API doesn't provide an identifier either.

If you do need a list, I fear you have to scrape a couple of pages:

Fortunately, they aren't paginated, not even on Stack Overflow.

  • 1
    I know the list of all badges but I'm a bit too lazy to write a program that searches the Badges for the right innerText, then gets the href and then returns that URL to me, but I guess that is what I have to do.
    – gurkensaas
    Aug 27, 2021 at 13:46

I cannot provide order but I can provide a table where you are able to look the IDs up manually or programmatically. I just made a community wiki post about it.

You must log in to answer this question.

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