CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 18:05:15 GMT
content-type: text/html; charset=utf-8
cache-control: private
set-cookie: prov=d601e468-7fbe-4035-841d-e8cb3f1ae893; expires=Sun, 26 Jul 2026 18:05:15 GMT; domain=.stackexchange.com; path=/; secure; httponly
x-clacks-overhead: GNU Terry Pratchett
strict-transport-security: max-age=31536000; includeSubDomains
x-request-guid: 86f1cf06-4a62-43ae-bdf9-8db69d563556
x-providence-cookie: d601e468-7fbe-4035-841d-e8cb3f1ae893
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=naJSFviK_4jN0d.1YhjpNh9_blAxE.RKgCxbKJ6tMDk-1753553115-1.0.1.1-HzE.ho9mPrRUBTaBLkHHmxCADyklrZh_OKSa9QHK9MP7J25pYIEz0Hy0t3_KlYpQI0gDFLcW603n99a6I7klEu8zECsOUWW.zroqxhETuvE; path=/; expires=Sat, 26-Jul-25 18:35:15 GMT; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: __cflb=02DiuEqtkS4jGaTk6jRLVowZ76Z4qeo49QhnTurYjYLUc; SameSite=None; Secure; path=/; expires=Sun, 27-Jul-25 17:05:15 GMT; HttpOnly
set-cookie: _cfuvid=EMOk3j3GL6fgDAK8J1XlQ0RkoLvy79XT5kT3a8eRr28-1753553115858-0.0.1.1-604800000; path=/; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 9655d2fc093f1ec2-BLR
content-encoding: gzip
badge -
Stack Exchange API
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_type":"named","award_count":2000,"rank":"silver","badge_id":94,"link":"https://example.stackexchange.com/badges/94/pundit","description":"Left 10 comments with a score of 5 or more","name":"Pundit"}
► Tag Badge
{"badge_type":"tag_based","award_count":20,"rank":"bronze","badge_id":450,"link":"https://example.stackexchange.com/badges/450/xna","description":"Earned 100 upvotes for at least 20 answers in the xna tag","name":"xna"}
► Awarded Badge
{"user":{"reputation":9001,"user_id":1,"user_type":"registered","accept_rate":100,"profile_image":"https://www.gravatar.com/avatar/a007be5a61f6aa8f3e85ae2fc18dd66e?d=identicon&r=PG","display_name":"Example User","link":"https://example.stackexchange.com/users/1/example-user"},"badge_type":"named","award_count":2000,"rank":"silver","badge_id":94,"link":"https://example.stackexchange.com/badges/94/pundit","description":"Left 10 comments with a score of 5 or more","name":"Pundit"}
Methods That Return This Type
about blog terms of use contact us feedback always welcome
site design / logo © 2025 Stack Exchange, Inc; user contributions licensed under CC BY-SA