Type badge
Discussion
This type represents a badge on a Stack Exchange site.
Some badges, like Autobiographer, are held in common across all Stack Exchange sites. Others, like most tag badges, vary on a site by site basis.
Remember that ids are never guaranteed to be the same between sites, even if a badge exists on both sites.
Fields
award_count
integer
badge_type
one of
named, or tag_based
name
string
rank
one of
gold, silver, or bronze
Fields marked with are included in the default filter, those marked with are excluded in the default filter.
Examples
► Named Badge
{"badge_id":94,"rank":"silver","name":"Pundit","description":"Left 10 comments with a score of 5 or more","award_count":2000,"badge_type":"named","link":"http://example.stackexchange.com/badges/94/pundit"}
► Tag Badge
{"badge_id":450,"rank":"bronze","name":"xna","description":"Earned 100 upvotes for at least 20 answers in the xna tag","award_count":20,"badge_type":"tag_based","link":"http://example.stackexchange.com/badges/450/xna"}
► Awarded Badge
{"badge_id":94,"rank":"silver","name":"Pundit","description":"Left 10 comments with a score of 5 or more","award_count":2000,"badge_type":"named","user":{"user_id":1,"display_name":"Example User","reputation":9001,"user_type":"registered","profile_image":"http://www.gravatar.com/avatar/a007be5a61f6aa8f3e85ae2fc18dd66e?d=identicon&r=PG","link":"http://example.stackexchange.com/users/1/example-user","accept_rate":100},"link":"http://example.stackexchange.com/badges/94/pundit"}