Get the badges the users in {ids} have earned.
Badge sorts are a tad complicated. For the purposes of sorting (and min/max)tag_based is considered to begreater thannamed.
This means that you can get a list of all tag based badges a user has by passingmin=tag_based, and conversely all the named badges by passingmax=named, withsort=type.
For ranks, bronze is greater than silver which is greater than gold. Along withsort=rank, setmax=gold for just gold badges,max=silver&min=silver for just silver, andmin=bronze for just bronze.
rank is the default sort.
{ids} can contain up to 100 semicolon delimited ids. To find ids programmatically look foruser_id onuser orshallow_user objects.
This method returns a list ofbadges.
aboutblogterms of usecontact usfeedback always welcome
site design / logo © 2025 Stack Exchange, Inc; user contributions licensed underCC BY-SA