CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 05:44:34 GMT
content-type: text/html; charset=utf-8
cache-control: private
set-cookie: prov=f55c53d5-4704-4b05-9360-e662b26246cc; expires=Mon, 27 Jul 2026 05:44:34 GMT; domain=.stackexchange.com; path=/; secure; httponly
x-clacks-overhead: GNU Terry Pratchett
strict-transport-security: max-age=31536000; includeSubDomains
x-request-guid: 53c305cb-97a1-451a-923f-ce679a07ae29
x-providence-cookie: f55c53d5-4704-4b05-9360-e662b26246cc
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=hanepSzqJr5r44WR9EX_UJKqsoCUhi4J7tStX0tBC9A-1753595074-1.0.1.1-wb2_IgN9EBRuVDaC8h2ylFUOyJYUu6Z6rMQcg5SkljLPTZtLwQjnM8qj5QQ2dtEkIyKjySk60q8qkoZ0wNFqhAYWdgoqAqBNW_YCk4Gv17o; path=/; expires=Sun, 27-Jul-25 06:14:34 GMT; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: __cflb=02DiuEqtkS4jGaTk6jRLVowZ76Z4qeo4965wHrSjgeShz; SameSite=None; Secure; path=/; expires=Mon, 28-Jul-25 04:44:34 GMT; HttpOnly
set-cookie: _cfuvid=qs3aqBIeracKYkJ229oXfYKEgx3_JnYmmwPBzyy7hoE-1753595074936-0.0.1.1-604800000; path=/; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 9659d3609e4d343c-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