Stack Exchange · JSON Structure

Stackexchange Api V2 3 Badge Structure

A badge definition.

Type: object Properties: 8
Q&ADeveloper CommunityKnowledge GraphStack OverflowStack ExchangeReputationTagsCommunityMCPAI Grounding

Badge is a JSON Structure definition published by Stack Exchange, describing 8 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

badge_id name description rank badge_type award_count link user

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "name": "Badge",
  "description": "A badge definition.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/stackexchange/refs/heads/main/json-structure/stackexchange-api-v2-3-badge-structure.json",
  "type": "object",
  "properties": {
    "badge_id": {
      "type": "int32",
      "example": 23
    },
    "name": {
      "type": "string",
      "example": "Nice Question"
    },
    "description": {
      "type": "string",
      "example": "Question score of 10 or more."
    },
    "rank": {
      "type": "string",
      "enum": [
        "bronze",
        "silver",
        "gold"
      ],
      "example": "bronze"
    },
    "badge_type": {
      "type": "string",
      "enum": [
        "named",
        "tag_based"
      ],
      "example": "named"
    },
    "award_count": {
      "type": "int32",
      "example": 500000
    },
    "link": {
      "type": "uri",
      "example": "https://stackoverflow.com/help/badges/23/nice-question"
    },
    "user": {
      "type": "object",
      "description": "Lightweight user reference embedded in posts and comments.",
      "properties": {
        "user_id": {
          "type": "int64",
          "example": 22656
        },
        "user_type": {
          "type": "string",
          "enum": [
            "unregistered",
            "registered",
            "moderator",
            "team_admin",
            "does_not_exist"
          ],
          "example": "registered"
        },
        "display_name": {
          "type": "string",
          "example": "Jon Skeet"
        },
        "reputation": {
          "type": "int32",
          "example": 1500000
        },
        "profile_image": {
          "type": "uri",
          "example": "https://i.sstatic.net/lLZAr.jpg?s=128"
        },
        "link": {
          "type": "uri",
          "example": "https://stackoverflow.com/users/22656/jon-skeet"
        },
        "accept_rate": {
          "type": "int32",
          "example": 92
        }
      }
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/stackexchange-api-v2-3-badge-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.