Stack Exchange · JSON Structure

Stackexchange Api V2 3 Question Structure

A question on a Stack Exchange site.

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

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

Properties

question_id title body body_markdown link score view_count answer_count comment_count favorite_count is_answered accepted_answer_id creation_date last_activity_date last_edit_date owner tags content_license protected_date locked_date closed_date closed_reason bounty_amount bounty_closes_date

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "name": "Question",
  "description": "A question on a Stack Exchange site.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/stackexchange/refs/heads/main/json-structure/stackexchange-api-v2-3-question-structure.json",
  "type": "object",
  "properties": {
    "question_id": {
      "type": "int32",
      "example": 11227809
    },
    "title": {
      "type": "string",
      "example": "Why is processing a sorted array faster than processing an unsorted array?"
    },
    "body": {
      "type": "string",
      "description": "HTML body of the question (only included via filter)."
    },
    "body_markdown": {
      "type": "string",
      "description": "Markdown body of the question (only included via filter)."
    },
    "link": {
      "type": "uri",
      "example": "https://stackoverflow.com/questions/11227809"
    },
    "score": {
      "type": "int32",
      "example": 27000
    },
    "view_count": {
      "type": "int32",
      "example": 1900000
    },
    "answer_count": {
      "type": "int32",
      "example": 25
    },
    "comment_count": {
      "type": "int32",
      "example": 12
    },
    "favorite_count": {
      "type": "int32",
      "example": 4000
    },
    "is_answered": {
      "type": "boolean",
      "example": true
    },
    "accepted_answer_id": {
      "type": "int32",
      "example": 11227902
    },
    "creation_date": {
      "type": "int64",
      "example": 1338717687
    },
    "last_activity_date": {
      "type": "int64",
      "example": 1700000000
    },
    "last_edit_date": {
      "type": "int64",
      "example": 1690000000
    },
    "owner": {
      "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
        }
      }
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": [
        "java",
        "c++",
        "performance",
        "cpu-architecture",
        "branch-prediction"
      ]
    },
    "content_license": {
      "type": "string",
      "example": "CC BY-SA 4.0"
    },
    "protected_date": {
      "type": "int64"
    },
    "locked_date": {
      "type": "int64"
    },
    "closed_date": {
      "type": "int64"
    },
    "closed_reason": {
      "type": "string"
    },
    "bounty_amount": {
      "type": "int32"
    },
    "bounty_closes_date": {
      "type": "int64"
    }
  }
}

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-question-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.