Stack Overflow · Schema

Stack Overflow Question

A question on Stack Overflow with votes, tags, answers, and owner information

AnswersCodeDeveloper CommunityDeveloper ToolsKnowledge BaseProgrammingQ&AQuestionsStack Overflow

Properties

Name Type Description
question_id integer Unique identifier for the question
title string Title of the question
body string HTML body of the question
score integer Net vote score
view_count integer Number of views
answer_count integer Number of answers
accepted_answer_id integer ID of the accepted answer
is_answered boolean Whether the question has been answered
creation_date integer Unix timestamp of creation
last_activity_date integer Unix timestamp of last activity
owner object
tags array Programming language and topic tags
link string URL to the question
bounty_amount integer Active bounty amount in reputation points
View JSON Schema on GitHub

JSON Schema

stack-overflow-question-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/api-evangelist/stack-overflow/json-schema/stack-overflow-question-schema.json",
  "title": "Stack Overflow Question",
  "description": "A question on Stack Overflow with votes, tags, answers, and owner information",
  "type": "object",
  "required": ["question_id", "title", "link"],
  "properties": {
    "question_id": {
      "type": "integer",
      "description": "Unique identifier for the question"
    },
    "title": {
      "type": "string",
      "description": "Title of the question"
    },
    "body": {
      "type": "string",
      "description": "HTML body of the question"
    },
    "score": {
      "type": "integer",
      "description": "Net vote score"
    },
    "view_count": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of views"
    },
    "answer_count": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of answers"
    },
    "accepted_answer_id": {
      "type": "integer",
      "description": "ID of the accepted answer"
    },
    "is_answered": {
      "type": "boolean",
      "description": "Whether the question has been answered"
    },
    "creation_date": {
      "type": "integer",
      "description": "Unix timestamp of creation"
    },
    "last_activity_date": {
      "type": "integer",
      "description": "Unix timestamp of last activity"
    },
    "owner": {
      "$ref": "#/$defs/ShallowUser"
    },
    "tags": {
      "type": "array",
      "items": {"type": "string"},
      "description": "Programming language and topic tags"
    },
    "link": {
      "type": "string",
      "format": "uri",
      "description": "URL to the question"
    },
    "bounty_amount": {
      "type": "integer",
      "description": "Active bounty amount in reputation points"
    }
  },
  "$defs": {
    "ShallowUser": {
      "title": "Shallow User",
      "type": "object",
      "properties": {
        "user_id": {"type": "integer"},
        "display_name": {"type": "string"},
        "reputation": {"type": "integer"},
        "user_type": {
          "type": "string",
          "enum": ["unregistered", "registered", "moderator"]
        },
        "profile_image": {"type": "string", "format": "uri"},
        "link": {"type": "string", "format": "uri"}
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/stack-overflow-question"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.