Stack Exchange

Stack Exchange is the network of Q&A communities founded by Joel Spolsky and Jeff Atwood and headlined by Stack Overflow, the largest community of software developers on the web. The Stack Exchange API v2.3 (api.stackexchange.com) is a single, read-mostly HTTP/JSON interface that spans 180+ Q&A sites — Stack Overflow, Server Fault, Super User, Ask Ubuntu, Stats, Math Overflow, and the long tail of topical communities — and exposes the entire Q&A graph (questions, answers, comments, users, tags, badges, reputation, revisions, notifications, inbox, suggested-edits, network sites) under a uniform method surface. Stack Exchange also operates Stack Overflow for Teams (private knowledge bases with its own v3 REST API) and ships an official Stack Overflow MCP server that grounds AI agents in community-verified content.

Stack Exchange is listed with 17 APIs on the APIs.io network, including Access Tokens API, Answers API, Badges API, and 14 more. Tagged areas include Q&A, Developer Community, Knowledge Graph, Stack Overflow, and Stack Exchange.

The Stack Exchange catalog on APIs.io includes 2 JSON-LD contexts and 3 Spectral governance rulesets.

Stack Exchange’s developer surface includes signup flow, authentication, documentation, engineering blog, tooling, and 29 more developer resources.

Pull Stack Exchange's APIs, OpenAPI, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
41.2/100 developing ▬ flat Agent 35/100 agent ready Front door AI 2/6 trace Heartbeat 85/100 alive saas Full breakdown ↓
scored 2026-11-28 · rubric v0.30.0 · Show this score on your site →
Stack Exchange website screenshot
AccessFreemiumSelf serve⚡ Free to try
17 APIs
Q&ADeveloper CommunityKnowledge GraphStack OverflowStack ExchangeReputationTagsCommunityMCPAI Grounding

What this lets a business do 1

Business capabilities this provider's published APIs can perform, derived from its own contracts. Browse all capabilities →

Media, Creator & Social
AE-170
AnswersBadgesCommentsMePostsQuestions
GET /questions GET /questions/unanswered GET /questions/{ids} GET /questions/{ids}/answers

What people ask Stack Exchange 16

The questions people put to an LLM, and the jobs they hand an agent, that Stack Exchange's APIs answer — each one linked to the operation that does it. Generated by API Evangelist

Stack Exchange Me API Get my own profile “What is my own user profile across all Stack Exchange sites?” List my questions “Which questions have I posted on Stack Overflow?” List my answers “What answers have I posted across the network?” List my comments “Which comments have I left on the network?”
Stack Exchange Users API List users on a site “How do I find users on a Stack Exchange site whose display name contains a word?” Fetch users by ID “How do I look up several users at once by their IDs?” List answers by users “How do I see all answers a user has posted?” List questions by users “How do I see all questions a user has asked?”
Stack Exchange Questions API List questions on a Stack Exchange site “What questions are being asked on a given Stack Exchange site?” List questions with active bounties “Which questions on a site have active bounties?” List questions still needing answers “What questions on a site are still unanswered?” List questions with zero answers “Which questions have received no answers yet?”
Stack Exchange Tags API List tags on a Stack Exchange site “What tags are used on Stack Overflow?” List tag synonyms on a site “Which tag synonyms exist on a site?” Get metadata for tags “What is the description and popularity of a tag?” List top askers in tags “Who are the top askers in a tag over a period?”
Stack Exchange Badges API List all badges on a site “What badges are defined on a Stack Exchange site?” Fetch badges by ID “Can I fetch several badges by their IDs at once?” List recent recipients of badges “Who has recently earned a particular badge?” List non-tag badges “Which badges are not awarded by tags?”
Stack Exchange Posts API List questions and answers on a site “How do I pull all questions and answers from Stack Overflow?” Fetch posts by id “How do I fetch a specific question and its answers by id?” List comments on posts “How do I read the comments on a question or answer?” List revision history of posts “How do I see the edit history of a question or answer?”
Stack Exchange Answers API List answers on a Stack Exchange site “What answers were posted on Stack Overflow in the last week?” Fetch answers by their IDs “Can I fetch several answers in one call by their IDs?” List comments on answers “What comments have been left on a set of answers?” Get the questions behind answers “Which questions do a set of answers belong to?”
Stack Exchange Search API Title-match search for questions “How do I find questions on a Stack Exchange site that contain a keyword in the title?” Advanced search across title, body and tags “Can I search the full text of question bodies and answers for a keyword?” Full-text excerpt search across questions and answers “Can I search the full text of answers for a keyword?” Find questions similar to a title “How do I find existing questions that are similar to a title I'm about to ask?”
Stack Exchange Access Tokens API Invalidate access tokens “How do I revoke a user's access tokens so they can't call the API anymore?” Inspect access tokens “What scopes and expiry does a given access token have?” De-authenticate an app for token holders “How do I revoke an app's access for the users who hold certain tokens?”
Stack Exchange Comments API List comments across Stack Overflow “How do I pull every comment posted on Stack Overflow?” Fetch comments by id “How do I fetch specific comments by their ids?”
Stack Exchange Filters API Create a custom response filter “How do I build a custom filter that returns only the fields I want?” Inspect existing filters “How do I see the fields a saved filter returns?”
Stack Exchange Suggested Edits API List suggested edits across the network “What edits have users suggested across all Stack Exchange sites?” Fetch suggested edits by id “How do I look up specific suggested edits by their ids?”

Showing 12 of 16 APIs with phrasing — see every API.

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-11-28 · rubric v0.30.0
Regulatory Posture applies to this provider. Its tags matched the Horizontal (data, software, accessibility, platform) regime, so Regulatory Posture carries 15 points of the composite. If this regime is wrong for your business, say so on your provider repo — the applicability map is public and we will correct it.
Create-or-Update Ergonomics does not apply to this provider. The published contracts declare no write operations, and a read-only API cannot create-or-update. The facet is excluded from this provider's denominator entirely — not scored zero. A reference or data API is not deficient for being unable to upsert.
The six quality facets above are damped to 85 points between them, because the conditional facet above carries the other 15. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 85% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
Show this score on your site. Kin Score badge preview for Stack Exchange It updates itself when the score changes. Paste this where you link to your API docs:
<a href="https://apis.io/providers/stackexchange/"><img src="https://apis.io/badge/stackexchange/card.svg" alt="Stack Exchange on APIs.io — Kin Score by API Evangelist"></a>
Other styles, a README pill and a shields.io endpoint are on the badge page.
Raise your score.
Agent readiness — checks not met, largest first (exact, from this profile):
5 more unmet checks in the Agent Readiness table above.
Kin Score — facets with the most composite points still available (weight × headroom):
Each check links to what satisfies it. Publish the artifact, or tell us where it already lives, and the score moves on the next scoring run.
Not sure how this applies to your stack? Ask about any one item. Kin Lane reads every question, looks at your profile and your situation, and replies with what a fix would take — scoped to that one area, priced up front, yours whether you ship it or not. Ask a question →
Ask about:
Stackexchange · a person reads this and replies by email.
or email info@apis.io
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from the provider profile at artifacts.apis.io/stackexchange/apis.yml: open an issue on github.com/api-evangelist/stackexchange to ask a question or point us at an artifact you publish. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

Markets this provider is in provisional

The Kin Score Market layer reads a provider inside its market: its position, and how deep its integrations go. Depth is only comparable within a position. Provisional and unweighted: not part of the Kin Score or agent readiness.

Depth is one figure for the provider, the mean of its strongest integrations, so it repeats on every row. It differs by market only where an assurance register's own evidence applies.

MarketPositionDepth (provider-wide)Registered MCP serverDeclares compatibility
Raycast Store Extensions (first-party publishers + community-wrapped products) covered 23.9 - -
APIs.guru OpenAPI Directory (API definition directory) covered 23.9 - -
Discourse Plugin Ecosystem covered 23.9 - -

Registered MCP server and declares compatibility are report only — not weighted. Undeclared means we found nothing we can read, so there is no number: we never infer integrations.

Used by apps

1 of the reference apps in Applications, across 1 category, integrate with this provider, read from each app's own code, build or integrations page.

Standards implemented 3

Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.

tagged — the provider's own APIs.json carries the standard as a tag; implementation not verified
measured — observed by APIs.io (published)
measured — observed by APIs.io (declared)

APIs 17

Individual APIs this provider publishes, each with its own machine-readable definition.

Stack Overflow for Teams API v3

Newer REST API powering Stack Overflow for Teams (private/internal instances). Resource-oriented (questions, answers, articles, comments, tags, users, collections, communities) ...

Stack Exchange Access Tokens API

OAuth access token introspection and invalidation.

Stack Exchange Answers API

Answer objects — list, fetch by id, and per-question answers.

Stack Exchange Badges API

Badges defined on a site — by id, name, type, and recipients.

Stack Exchange Comments API

Comments attached to questions and answers across the network.

Stack Exchange Events API

Recent network events (1.5 minute live window) for the authenticated user.

Stack Exchange Filters API

Custom response filter creation and inspection.

Stack Exchange Info API

Site-wide statistics, totals, and metadata.

Stack Exchange Me API

Convenience surfaces that infer the user from the OAuth access token.

Stack Exchange Posts API

Generic post surfaces covering both questions and answers as `post` objects.

Stack Exchange Questions API

Question objects across the network — list, fetch, related, linked, search-equivalents.

Stack Exchange Revisions API

Revision history for posts.

Stack Exchange Search API

Question search — basic title-match, full-text excerpts, and advanced.

Stack Exchange Sites API

Enumeration and metadata for the 180+ Stack Exchange Q&A sites.

Stack Exchange Suggested Edits API

Pending edits proposed by users awaiting review.

Stack Exchange Tags API

Tag catalog, synonyms, wikis, top askers/answerers, and related tags.

Stack Exchange Users API

Site users, their reputation, badges, tags, top posts, timeline, and write surfaces.

Scroll for all 17

Postman Collections 16

Ready-to-run Postman collections for exercising this provider's APIs.

Scroll for all 16

Open Collections 16

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

Scroll for all 16

Stack Exchange API pricing

Not yet checked against Stack Exchange's own pricing page. Compiled by API Evangelist on 2026-05-29 from api.stackexchange.com/docs; confirm before you rely on a figure. A free plan or tier is listed.

PlanPrice
Public API (Free) freemium Free
Stack Overflow MCP (Beta) freemium Free
Stack Overflow for Teams tiered —

Plan details, limits and sources →

Rate limits

Compiled by API Evangelist, not yet checked against Stack Exchange's documentation. All 6 limits →

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Stack Exchange Rate Limits

6 limits

RATE LIMITS

Terms of Service 1

What its API terms permit and prohibit, quoted from its own page.

Stack Exchange

4 quoted statements, read from Stack Exchange's own page on 2026-11-10.

TERMS

Privacy & Data 1

Its role, the data it processes, retention and transfers, quoted from its own privacy page.

Stack Exchange

24 quoted statements, read from Stack Exchange's own page on 2026-11-10.

PRIVACY

Data License 1

How its data and outputs may be reused, quoted from its own terms.

Stack Exchange

1 quoted statement, read from Stack Exchange's own page on 2026-11-10.

LICENSE

Semantic Vocabularies 2

JSON-LD contexts and semantic vocabularies used across these APIs.

Stackexchange Api V2 3 Context

22 classes · 134 properties

JSON-LD

Stackexchange Context

32 classes · 4 properties

JSON-LD

Spectral Rules 3

Spectral governance rulesets for linting and validating these APIs. Counts are the severity each rule declares, not results of running them.

Stack Exchange — jsonschema rules

5 rules · 4 warn-severity 1 info-severity

SPECTRAL

Stack Exchange API Rules

9 rules · 2 error-severity 5 warn-severity 2 info-severity

SPECTRAL

Stack Exchange API Rules

48 rules · 16 error-severity 24 warn-severity 8 info-severity

SPECTRAL

OpenAPI Overlays 16

Overlays applied on top of this provider's contracts. Each card says who wrote it: a document the provider publishes, or one API Evangelist derived or generated.

Stack Exchange Access Tokens Api Phrasing Overlay

4 actions · phrasing · stackexchange-access-tokens-api-openapi.yml

GENERATED

Stack Exchange Answers Api Phrasing Overlay

5 actions · phrasing · stackexchange-answers-api-openapi.yml

GENERATED

Stack Exchange Badges Api Phrasing Overlay

6 actions · phrasing · stackexchange-badges-api-openapi.yml

GENERATED

Stack Exchange Comments Api Phrasing Overlay

3 actions · phrasing · stackexchange-comments-api-openapi.yml

GENERATED

Stack Exchange Events Api Phrasing Overlay

2 actions · phrasing · stackexchange-events-api-openapi.yml

GENERATED

Stack Exchange Filters Api Phrasing Overlay

3 actions · phrasing · stackexchange-filters-api-openapi.yml

GENERATED

Stack Exchange Info Api Phrasing Overlay

2 actions · phrasing · stackexchange-info-api-openapi.yml

GENERATED

Stack Exchange Me Api Phrasing Overlay

13 actions · phrasing · stackexchange-me-api-openapi.yml

GENERATED

Stack Exchange Posts Api Phrasing Overlay

6 actions · phrasing · stackexchange-posts-api-openapi.yml

GENERATED

Stack Exchange Questions Api Phrasing Overlay

10 actions · phrasing · stackexchange-questions-api-openapi.yml

GENERATED

Stack Exchange Revisions Api Phrasing Overlay

2 actions · phrasing · stackexchange-revisions-api-openapi.yml

GENERATED

Stack Exchange Search Api Phrasing Overlay

5 actions · phrasing · stackexchange-search-api-openapi.yml

GENERATED

Stack Exchange Sites Api Phrasing Overlay

2 actions · phrasing · stackexchange-sites-api-openapi.yml

GENERATED

Stack Exchange Suggested Edits Api Phrasing Overlay

3 actions · phrasing · stackexchange-suggested-edits-api-openapi.yml

GENERATED

Stack Exchange Tags Api Phrasing Overlay

8 actions · phrasing · stackexchange-tags-api-openapi.yml

GENERATED

Stack Exchange Users Api Phrasing Overlay

12 actions · phrasing · stackexchange-users-api-openapi.yml

GENERATED

Scroll for all 16

JSON Schema 23

Standalone JSON Schema definitions for this provider's data models.

AccessToken

4 properties

JSON SCHEMA

Answer

22 properties

JSON SCHEMA

BadgeCount

3 properties

JSON SCHEMA

Badge

8 properties

JSON SCHEMA

Comment

12 properties

JSON SCHEMA

Event

5 properties

JSON SCHEMA

Filter

3 properties

JSON SCHEMA

InboxItem

10 properties

JSON SCHEMA

Info

14 properties

JSON SCHEMA

Notification

6 properties

JSON SCHEMA

Post

10 properties

JSON SCHEMA

PrivilegeItem

3 properties

JSON SCHEMA

Question

24 properties

JSON SCHEMA

ReputationChange

6 properties

JSON SCHEMA

Revision

16 properties

JSON SCHEMA

ShallowUser

7 properties

JSON SCHEMA

Site

13 properties

JSON SCHEMA

SuggestedEdit

11 properties

JSON SCHEMA

Tag

7 properties

JSON SCHEMA

TagScore

3 properties

JSON SCHEMA

TagSynonym

5 properties

JSON SCHEMA

User

25 properties

JSON SCHEMA

Stack Exchange Question

20 properties

JSON SCHEMA

Scroll for all 23

JSON Structure 22

JSON Structure definitions describing this provider's data shapes.

Stack Exchange Api V2 3 Answer Structure

22 properties

JSON STRUCTURE

Stack Exchange Api V2 3 Badge Structure

8 properties

JSON STRUCTURE

Stack Exchange Api V2 3 Comment Structure

12 properties

JSON STRUCTURE

Stack Exchange Api V2 3 Event Structure

5 properties

JSON STRUCTURE

Stack Exchange Api V2 3 Filter Structure

3 properties

JSON STRUCTURE

Stack Exchange Api V2 3 Info Structure

14 properties

JSON STRUCTURE

Stack Exchange Api V2 3 Post Structure

10 properties

JSON STRUCTURE

Stack Exchange Api V2 3 Question Structure

24 properties

JSON STRUCTURE

Stack Exchange Api V2 3 Revision Structure

16 properties

JSON STRUCTURE

Stack Exchange Api V2 3 Site Structure

13 properties

JSON STRUCTURE

Stack Exchange Api V2 3 Tag Structure

7 properties

JSON STRUCTURE

Stack Exchange Api V2 3 User Structure

25 properties

JSON STRUCTURE

Scroll for all 22

Examples 22

Example request and response payloads for these APIs.

Scroll for all 22

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Stack Exchange Authentication

apiKey/oauth2 · 2 schemes

SECURITY

Stack Exchange Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Scopes 1

OAuth scopes governing access to this provider's APIs.

Stack Exchange Scopes

4 scopes · authorizationCode

4 scopes

SCOPES

Agentic Access (API Evangelist recommendations) 1

Recommended x-agentic-access execution contracts for AI agents.

Stack Exchange Agentic Access

70 operations

70 operations · 0 acting

AGENTIC

Resources

Get Started 2

Portal, sign-up, and the first successful call

Documentation 2

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Design & Contract 4

Pagination, idempotency, versioning, errors, and events

Build 7

SDKs, sample code, and the tooling you integrate with

Scroll for all 7

Access & Security 3

Authentication, authorization, and security posture

Operate 2

Status, limits, changes, and where to get help

Commercial 5

Pricing, plans, and the legal terms of use

Company 3

The organization behind the API

Other 5

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: stackexchange
deliveryModel:
  model: saas
  open_source: false
  commercial: true
  callable_host: true
  label: Hosted service · you call their endpoint
  confidence: high
  source:
  - openapi
  - pricing
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: freemium
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  gated: none
  gated_source:
  - onboarding
  label: Freemium · Self-serve signup
  confidence: medium
  source:
  - plans
  - authentication
  - security
  generated: '2026-11-28'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/stackexchange.png
name: Stack Exchange
description: Stack Exchange is the network of Q&A communities founded by Joel Spolsky and Jeff Atwood and headlined by Stack
  Overflow, the largest community of software developers on the web. The Stack Exchange API v2.3 (api.stackexchange.com) is
  a single, read-mostly HTTP/JSON interface that spans 180+ Q&A sites — Stack Overflow, Server Fault, Super User, Ask Ubuntu,
  Stats, Math Overflow, and the long tail of topical communities — and exposes the entire Q&A graph (questions, answers, comments,
  users, tags, badges, reputation, revisions, notifications, inbox, suggested-edits, network sites) under a uniform method
  surface. Stack Exchange also operates Stack Overflow for Teams (private knowledge bases with its own v3 REST API) and ships
  an official Stack Overflow MCP server that grounds AI agents in community-verified content.
url: https://api.stackexchange.com/
specificationVersion: '0.23'
created: '2026-05-28'
modified: '2026-05-29'
x-source: public-apis/public-apis
x-category: Development
x-tier: 1
x-tier-reason: developer-flagship-community-knowledge-graph-with-mcp
x-type: company
tags:
- Q&A
- Developer Community
- Knowledge Graph
- Stack Overflow
- Stack Exchange
- Reputation
- Tags
- Community
- MCP
- AI Grounding
tags_raw:
- Q And A
- Developer Community
- Knowledge Graph
- Stack Overflow
- Stack Exchange
- Reputation
- Tags
- Community
- MCP
- AI Grounding
apis:
- aid: stackexchange:stack-overflow-for-teams-api-v3
  name: Stack Overflow for Teams API v3
  description: Newer REST API powering Stack Overflow for Teams (private/internal instances). Resource-oriented (questions,
    answers, articles, comments, tags, users, collections, communities) with full CRUD and bearer-token auth. This is the
    API the official TypeScript SDK and Terraform provider target; it is distinct from the public v2.3 API.
  humanURL: https://stackoverflowteams.help/en/articles/9085836-api-v3-overview
  baseURL: https://api.stackoverflowteams.com/v3/teams/{team}/
  tags:
  - Stack Overflow for Teams
  - Internal API
  - REST
  - Bearer Token
  properties:
  - type: Documentation
    url: https://stackoverflowteams.help/en/articles/9085836-api-v3-overview
  - type: SDKs
    url: https://www.npmjs.com/package/@stackoverflow/teams-sdk
    title: TypeScript SDK
  - type: SDKs
    url: https://github.com/StackExchange/StackOverflowSDK
    title: TypeScript SDK Source
  - type: Tools
    url: https://github.com/StackExchange/terraform-provider-stackoverflow
    title: Terraform Provider
  - type: Tools
    url: https://github.com/StackExchange/backstage-stackoverflow
    title: Backstage Plugin
  - type: Tools
    url: https://github.com/StackExchange/langchain-stack-overflow-for-teams
    title: LangChain Integration
- aid: stackexchange:stackexchange-access-tokens-api
  name: Stack Exchange Access Tokens API
  description: OAuth access token introspection and invalidation.
  humanURL: https://api.stackexchange.com/docs
  baseURL: https://api.stackexchange.com/2.3
  tags:
  - Access Tokens
  properties:
  - type: OpenAPI
    url: openapi/stackexchange-access-tokens-api-openapi.yml
  - type: Documentation
    url: https://api.stackexchange.com/docs
  - type: Signup
    url: https://stackapps.com/apps/oauth/register
  - type: Authentication
    url: https://api.stackexchange.com/docs/authentication
  - type: TermsOfService
    url: https://stackoverflow.com/legal/api-terms-of-use
  - type: RateLimits
    url: https://api.stackexchange.com/docs/throttle
  - type: Filters
    url: https://api.stackexchange.com/docs/filters
  - type: ChangeLog
    url: https://api.stackexchange.com/docs/revisions
  - type: SDKs
    url: https://github.com/StackExchange/StacMan
- aid: stackexchange:stackexchange-answers-api
  name: Stack Exchange Answers API
  description: Answer objects — list, fetch by id, and per-question answers.
  humanURL: https://api.stackexchange.com/docs
  baseURL: https://api.stackexchange.com/2.3
  tags:
  - Answers
  properties:
  - type: OpenAPI
    url: openapi/stackexchange-answers-api-openapi.yml
  - type: Documentation
    url: https://api.stackexchange.com/docs
  - type: Signup
    url: https://stackapps.com/apps/oauth/register
  - type: Authentication
    url: https://api.stackexchange.com/docs/authentication
  - type: TermsOfService
    url: https://stackoverflow.com/legal/api-terms-of-use
  - type: RateLimits
    url: https://api.stackexchange.com/docs/throttle
  - type: Filters
    url: https://api.stackexchange.com/docs/filters
  - type: ChangeLog
    url: https://api.stackexchange.com/docs/revisions
  - type: SDKs
    url: https://github.com/StackExchange/StacMan
- aid: stackexchange:stackexchange-badges-api
  name: Stack Exchange Badges API
  description: Badges defined on a site — by id, name, type, and recipients.
  humanURL: https://api.stackexchange.com/docs
  baseURL: https://api.stackexchange.com/2.3
  tags:
  - Badges
  properties:
  - type: OpenAPI
    url: openapi/stackexchange-badges-api-openapi.yml
  - type: Documentation
    url: https://api.stackexchange.com/docs
  - type: Signup
    url: https://stackapps.com/apps/oauth/register
  - type: Authentication
    url: https://api.stackexchange.com/docs/authentication
  - type: TermsOfService
    url: https://stackoverflow.com/legal/api-terms-of-use
  - type: RateLimits
    url: https://api.stackexchange.com/docs/throttle
  - type: Filters
    url: https://api.stackexchange.com/docs/filters
  - type: ChangeLog
    url: https://api.stackexchange.com/docs/revisions
  - type: SDKs
    url: https://github.com/StackExchange/StacMan
- aid: stackexchange:stackexchange-comments-api
  name: Stack Exchange Comments API
  description: Comments attached to questions and answers across the network.
  humanURL: https://api.stackexchange.com/docs
  baseURL: https://api.stackexchange.com/2.3
  tags:
  - Comments
  properties:
  - type: OpenAPI
    url: openapi/stackexchange-comments-api-openapi.yml
  - type: Documentation
    url: https://api.stackexchange.com/docs
  - type: Signup
    url: https://stackapps.com/apps/oauth/register
  - type: Authentication
    url: https://api.stackexchange.com/docs/authentication
  - type: TermsOfService
    url: https://stackoverflow.com/legal/api-terms-of-use
  - type: RateLimits
    url: https://api.stackexchange.com/docs/throttle
  - type: Filters
    url: https://api.stackexchange.com/docs/filters
  - type: ChangeLog
    url: https://api.stackexchange.com/docs/revisions
  - type: SDKs
    url: https://github.com/StackExchange/StacMan
- aid: stackexchange:stackexchange-events-api
  name: Stack Exchange Events API
  description: Recent network events (1.5 minute live window) for the authenticated user.
  humanURL: https://api.stackexchange.com/docs
  baseURL: https://api.stackexchange.com/2.3
  tags:
  - Event
  tags_raw:
  - Events
  properties:
  - type: OpenAPI
    url: openapi/stackexchange-events-api-openapi.yml
  - type: Documentation
    url: https://api.stackexchange.com/docs
  - type: Signup
    url: https://stackapps.com/apps/oauth/register
  - type: Authentication
    url: https://api.stackexchange.com/docs/authentication
  - type: TermsOfService
    url: https://stackoverflow.com/legal/api-terms-of-use
  - type: RateLimits
    url: https://api.stackexchange.com/docs/throttle
  - type: Filters
    url: https://api.stackexchange.com/docs/filters
  - type: ChangeLog
    url: https://api.stackexchange.com/docs/revisions
  - type: SDKs
    url: https://github.com/StackExchange/StacMan
- aid: stackexchange:stackexchange-filters-api
  name: Stack Exchange Filters API
  description: Custom response filter creation and inspection.
  humanURL: https://api.stackexchange.com/docs
  baseURL: https://api.stackexchange.com/2.3
  tags:
  - Filters
  properties:
  - type: OpenAPI
    url: openapi/stackexchange-filters-api-openapi.yml
  - type: Documentation
    url: https://api.stackexchange.com/docs
  - type: Signup
    url: https://stackapps.com/apps/oauth/register
  - type: Authentication
    url: https://api.stackexchange.com/docs/authentication
  - type: TermsOfService
    url: https://stackoverflow.com/legal/api-terms-of-use
  - type: RateLimits
    url: https://api.stackexchange.com/docs/throttle
  - type: Filters
    url: https://api.stackexchange.com/docs/filters
  - type: ChangeLog
    url: https://api.stackexchange.com/docs/revisions
  - type: SDKs
    url: https://github.com/StackExchange/StacMan
- aid: stackexchange:stackexchange-info-api
  name: Stack Exchange Info API
  description: Site-wide statistics, totals, and metadata.
  humanURL: https://api.stackexchange.com/docs
  baseURL: https://api.stackexchange.com/2.3
  tags:
  - Info
  properties:
  - type: OpenAPI
    url: openapi/stackexchange-info-api-openapi.yml
  - type: Documentation
    url: https://api.stackexchange.com/docs
  - type: Signup
    url: https://stackapps.com/apps/oauth/register
  - type: Authentication
    url: https://api.stackexchange.com/docs/authentication
  - type: TermsOfService
    url: https://stackoverflow.com/legal/api-terms-of-use
  - type: RateLimits
    url: https://api.stackexchange.com/docs/throttle
  - type: Filters
    url: https://api.stackexchange.com/docs/filters
  - type: ChangeLog
    url: https://api.stackexchange.com/docs/revisions
  - type: SDKs
    url: https://github.com/StackExchange/StacMan
- aid: stackexchange:stackexchange-me-api
  name: Stack Exchange Me API
  description: Convenience surfaces that infer the user from the OAuth access token.
  humanURL: https://api.stackexchange.com/docs
  baseURL: https://api.stackexchange.com/2.3
  tags:
  - Me
  properties:
  - type: OpenAPI
    url: openapi/stackexchange-me-api-openapi.yml
  - type: Documentation
    url: https://api.stackexchange.com/docs
  - type: Signup
    url: https://stackapps.com/apps/oauth/register
  - type: Authentication
    url: https://api.stackexchange.com/docs/authentication
  - type: TermsOfService
    url: https://stackoverflow.com/legal/api-terms-of-use
  - type: RateLimits
    url: https://api.stackexchange.com/docs/throttle
  - type: Filters
    url: https://api.stackexchange.com/docs/filters
  - type: ChangeLog
    url: https://api.stackexchange.com/docs/revisions
  - type: SDKs
    url: https://github.com/StackExchange/StacMan
- aid: stackexchange:stackexchange-posts-api
  name: Stack Exchange Posts API
  description: Generic post surfaces covering both questions and answers as `post` objects.
  humanURL: https://api.stackexchange.com/docs
  baseURL: https://api.stackexchange.com/2.3
  tags:
  - Posts
  properties:
  - type: OpenAPI
    url: openapi/stackexchange-posts-api-openapi.yml
  - type: Documentation
    url: https://api.stackexchange.com/docs
  - type: Signup
    url: https://stackapps.com/apps/oauth/register
  - type: Authentication
    url: https://api.stackexchange.com/docs/authentication
  - type: TermsOfService
    url: https://stackoverflow.com/legal/api-terms-of-use
  - type: RateLimits
    url: https://api.stackexchange.com/docs/throttle
  - type: Filters
    url: https://api.stackexchange.com/docs/filters
  - type: ChangeLog
    url: https://api.stackexchange.com/docs/revisions
  - type: SDKs
    url: https://github.com/StackExchange/StacMan
- aid: stackexchange:stackexchange-questions-api
  name: Stack Exchange Questions API
  description: Question objects across the network — list, fetch, related, linked, search-equivalents.
  humanURL: https://api.stackexchange.com/docs
  baseURL: https://api.stackexchange.com/2.3
  tags:
  - Questions
  properties:
  - type: OpenAPI
    url: openapi/stackexchange-questions-api-openapi.yml
  - type: Documentation
    url: https://api.stackexchange.com/docs
  - type: Signup
    url: https://stackapps.com/apps/oauth/register
  - type: Authentication
    url: https://api.stackexchange.com/docs/authentication
  - type: TermsOfService
    url: https://stackoverflow.com/legal/api-terms-of-use
  - type: RateLimits
    url: https://api.stackexchange.com/docs/throttle
  - type: Filters
    url: https://api.stackexchange.com/docs/filters
  - type: ChangeLog
    url: https://api.stackexchange.com/docs/revisions
  - type: SDKs
    url: https://github.com/StackExchange/StacMan
- aid: stackexchange:stackexchange-revisions-api
  name: Stack Exchange Revisions API
  description: Revision history for posts.
  humanURL: https://api.stackexchange.com/docs
  baseURL: https://api.stackexchange.com/2.3
  tags:
  - Revisions
  properties:
  - type: OpenAPI
    url: openapi/stackexchange-revisions-api-openapi.yml
  - type: Documentation
    url: https://api.stackexchange.com/docs
  - type: Signup
    url: https://stackapps.com/apps/oauth/register
  - type: Authentication
    url: https://api.stackexchange.com/docs/authentication
  - type: TermsOfService
    url: https://stackoverflow.com/legal/api-terms-of-use
  - type: RateLimits
    url: https://api.stackexchange.com/docs/throttle
  - type: Filters
    url: https://api.stackexchange.com/docs/filters
  - type: ChangeLog
    url: https://api.stackexchange.com/docs/revisions
  - type: SDKs
    url: https://github.com/StackExchange/StacMan
- aid: stackexchange:stackexchange-search-api
  name: Stack Exchange Search API
  description: Question search — basic title-match, full-text excerpts, and advanced.
  humanURL: https://api.stackexchange.com/docs
  baseURL: https://api.stackexchange.com/2.3
  tags:
  - Search
  properties:
  - type: OpenAPI
    url: openapi/stackexchange-search-api-openapi.yml
  - type: Documentation
    url: https://api.stackexchange.com/docs
  - type: Signup
    url: https://stackapps.com/apps/oauth/register
  - type: Authentication
    url: https://api.stackexchange.com/docs/authentication
  - type: TermsOfService
    url: https://stackoverflow.com/legal/api-terms-of-use
  - type: RateLimits
    url: https://api.stackexchange.com/docs/throttle
  - type: Filters
    url: https://api.stackexchange.com/docs/filters
  - type: ChangeLog
    url: https://api.stackexchange.com/docs/revisions
  - type: SDKs
    url: https://github.com/StackExchange/StacMan
- aid: stackexchange:stackexchange-sites-api
  name: Stack Exchange Sites API
  description: Enumeration and metadata for the 180+ Stack Exchange Q&A sites.
  humanURL: https://api.stackexchange.com/docs
  baseURL: https://api.stackexchange.com/2.3
  tags:
  - Sites
  properties:
  - type: OpenAPI
    url: openapi/stackexchange-sites-api-openapi.yml
  - type: Documentation
    url: https://api.stackexchange.com/docs
  - type: Signup
    url: https://stackapps.com/apps/oauth/register
  - type: Authentication
    url: https://api.stackexchange.com/docs/authentication
  - type: TermsOfService
    url: https://stackoverflow.com/legal/api-terms-of-use
  - type: RateLimits
    url: https://api.stackexchange.com/docs/throttle
  - type: Filters
    url: https://api.stackexchange.com/docs/filters
  - type: ChangeLog
    url: https://api.stackexchange.com/docs/revisions
  - type: SDKs
    url: https://github.com/StackExchange/StacMan
- aid: stackexchange:stackexchange-suggested-edits-api
  name: Stack Exchange Suggested Edits API
  description: Pending edits proposed by users awaiting review.
  humanURL: https://api.stackexchange.com/docs
  baseURL: https://api.stackexchange.com/2.3
  tags:
  - Suggested Edits
  properties:
  - type: OpenAPI
    url: openapi/stackexchange-suggested-edits-api-openapi.yml
  - type: Documentation
    url: https://api.stackexchange.com/docs
  - type: Signup
    url: https://stackapps.com/apps/oauth/register
  - type: Authentication
    url: https://api.stackexchange.com/docs/authentication
  - type: TermsOfService
    url: https://stackoverflow.com/legal/api-terms-of-use
  - type: RateLimits
    url: https://api.stackexchange.com/docs/throttle
  - type: Filters
    url: https://api.stackexchange.com/docs/filters
  - type: ChangeLog
    url: https://api.stackexchange.com/docs/revisions
  - type: SDKs
    url: https://github.com/StackExchange/StacMan
- aid: stackexchange:stackexchange-tags-api
  name: Stack Exchange Tags API
  description: Tag catalog, synonyms, wikis, top askers/answerers, and related tags.
  humanURL: https://api.stackexchange.com/docs
  baseURL: https://api.stackexchange.com/2.3
  tags:
  - Tags
  properties:
  - type: OpenAPI
    url: openapi/stackexchange-tags-api-openapi.yml
  - type: Documentation
    url: https://api.stackexchange.com/docs
  - type: Signup
    url: https://stackapps.com/apps/oauth/register
  - type: Authentication
    url: https://api.stackexchange.com/docs/authentication
  - type: TermsOfService
    url: https://stackoverflow.com/legal/api-terms-of-use
  - type: RateLimits
    url: https://api.stackexchange.com/docs/throttle
  - type: Filters
    url: https://api.stackexchange.com/docs/filters
  - type: ChangeLog
    url: https://api.stackexchange.com/docs/revisions
  - type: SDKs
    url: https://github.com/StackExchange/StacMan
- aid: stackexchange:stackexchange-users-api
  name: Stack Exchange Users API
  description: Site users, their reputation, badges, tags, top posts, timeline, and write surfaces.
  humanURL: https://api.stackexchange.com/docs
  baseURL: https://api.stackexchange.com/2.3
  tags:
  - User
  tags_raw:
  - Users
  properties:
  - type: OpenAPI
    url: openapi/stackexchange-users-api-openapi.yml
  - type: Documentation
    url: https://api.stackexchange.com/docs
  - type: Signup
    url: https://stackapps.com/apps/oauth/register
  - type: Authentication
    url: https://api.stackexchange.com/docs/authentication
  - type: TermsOfService
    url: https://stackoverflow.com/legal/api-terms-of-use
  - type: RateLimits
    url: https://api.stackexchange.com/docs/throttle
  - type: Filters
    url: https://api.stackexchange.com/docs/filters
  - type: ChangeLog
    url: https://api.stackexchange.com/docs/revisions
  - type: SDKs
    url: https://github.com/StackExchange/StacMan
common:
- type: CapabilityMap
  url: capabilities/stackexchange-capability-edges.yml
  name: Stack Exchange Business Capability Map
- type: LinkedIn
  url: https://www.linkedin.com/company/stack-exchange
- type: Signup
  url: http://stackapps.com/apps/oauth/register
- type: Applications
  url: http://stackapps.com/apps/oauth
- type: GitHub Topics
  url: https://github.com/topics/stackexchange-api
- type: JSONLD
  url: json-ld/stackexchange-context.jsonld
- type: JSONSchema
  url: json-schema/stackexchange-question-schema.json
- type: SpectralRules
  url: rules/stackexchange-rules.yml
- type: PostmanWorkspace
  url: https://www.postman.com/kinlaneapi/stack-exchange/overview
- type: AgenticAccess
  url: agentic-access/stackexchange-agentic-access.yml
- type: DomainSecurity
  url: security/stackexchange-domain-security.yml
- type: Authentication
  url: authentication/stackexchange-authentication.yml
- type: OAuthScopes
  url: scopes/stackexchange-scopes.yml
- type: Website
  url: https://stackexchange.com/
- type: Documentation
  url: https://api.stackexchange.com/docs
- type: DeveloperPortal
  url: https://stackapps.com/
- type: GitHubOrganization
  url: https://github.com/StackExchange
- type: Blog
  url: https://stackoverflow.blog/
- type: TermsOfService
  url: https://stackoverflow.com/legal/api-terms-of-use
- type: PrivacyPolicy
  url: https://stackoverflow.com/legal/privacy-policy
- type: StatusPage
  url: https://stackstatus.tumblr.com/
- type: ApplicationRegistration
  url: https://stackapps.com/apps/oauth/register
- type: PublicAPIsListing
  url: https://github.com/public-apis/public-apis
- type: Tools
  title: MCP Server (Stack Overflow)
  url: https://github.com/StackExchange/Stack-MCP
- type: Tools
  title: MCP Server Documentation
  url: https://api.stackexchange.com/docs/mcp-server
- type: Tools
  title: Stack Exchange Data Explorer
  url: https://github.com/StackExchange/StackExchange.DataExplorer
- type: Tools
  title: Stacks Design System
  url: https://github.com/StackExchange/Stacks
- type: Plans
  url: plans/stackexchange-plans-pricing.yml
- type: RateLimits
  url: rate-limits/stackexchange-rate-limits.yml
- type: Rules
  url: rules/stackexchange-spectral-rules.yml
- type: Vocabulary
  url: vocabulary/stackexchange-vocabulary.yml
- type: UsageTerms
  url: terms/stackexchange-terms-of-service.yml
- type: DataProcessing
  url: privacy/stackexchange-privacy-policy.yml
- type: DataLicense
  url: data-license/stackexchange-data-license.yml
features:
- name: Network-Wide Q&A Graph
  description: Single API surface spans 180+ communities. Use the `site` parameter (`stackoverflow`, `serverfault`, `superuser`,
    `askubuntu`, `stats`, `mathoverflow`, …) to switch context without changing endpoints.
- name: Vectorized IDs
  description: Most methods accept up to 100 semicolon-delimited IDs in a single request (e.g., `/questions/{ids}`, `/users/{ids}`,
    `/answers/{ids}`), making bulk fetch and join workloads cheap.
- name: Filter System
  description: Custom response filters let consumers project exactly the fields they need, dramatically reducing payload size.
    Filters are created once via `/filters/create` and reused.
- name: Compressed JSON
  description: All responses are gzip-compressed by default; the wire payload is roughly 30-50% the size of an unconditioned
    JSON body.
- name: Quota and Backoff Discipline
  description: Every response advertises `quota_max`, `quota_remaining`, and an optional `backoff` integer. Clients must honor
    the backoff before re-querying the same method or risk being throttled at 503 / banned.
- name: OAuth 2.0 Write Access
  description: Read is unauthenticated. Write methods (post answer, create comment, vote, flag, accept) require an OAuth 2.0
    access token issued via explicit or implicit flows registered on stackapps.com.
- name: /me Convenience Methods
  description: Every `/users/{ids}/...` method has a `/me/...` equivalent that infers the user from the access token, simplifying
    agent code paths.
- name: Site Discovery
  description: '`/sites` enumerates every Q&A community on the network with its `api_site_parameter`, audience, launch date,
    and styling — the canonical way to bootstrap a multi-site integration.'
- name: AI Grounding via MCP
  description: The official Stack Overflow MCP server exposes search, retrieve, and ground tools so MCP-compatible clients
    (Claude Desktop, Cursor, VS Code) can reach community-verified answers without bespoke integration.
useCases:
- name: AI Answer Grounding
  description: Ground LLM responses in real Stack Overflow questions and answers — either directly via /search and /questions
    methods or through the official MCP server — to reduce hallucinations on technical topics.
- name: Developer Reputation Scoring
  description: Pull /users, /users/{ids}/reputation, badge counts, and tag scores to build developer reputation, expertise,
    and hiring-signal pipelines.
- name: Community Analytics
  description: Aggregate /questions, /tags, /tags/{tags}/info, and /sites data to track technology adoption, tag velocity,
    and community health across the network.
- name: Personal Activity Dashboards
  description: Use /me, /me/inbox, /me/notifications, /me/timeline, /me/answers, and /me/questions to build personal dashboards
    of a user's own activity, reputation, and unread events.
- name: Tag Tracking and Triage
  description: Watch /tags/{tags}/info, /questions?tagged=…, /search/advanced, and /questions/no-answers to triage incoming
    questions for OSS projects and vendor support teams.
- name: Knowledge Base Mirroring
  description: Periodically sweep /questions with a filter and a since-date to mirror Q&A into an internal knowledge base
    or RAG index, respecting the API quota and backoff.
- name: Moderation Workbench
  description: Combine /suggested-edits, /flags, /posts, and /revisions surfaces (with a moderator access token) to build
    moderation review queues.
- name: Stack Overflow for Teams Integrations
  description: Use the v3 Teams API plus the Terraform provider and Backstage plugin to provision questions, articles, and
    tags from CI/CD pipelines.
integrations:
- name: Claude Desktop / Cursor / VS Code via MCP
  description: The Stack Overflow MCP server plugs directly into any MCP-compatible client, giving AI agents a typed search/retrieve
    interface to community content.
- name: LangChain
  description: Official LangChain integration for Stack Overflow for Teams enables retrieval and chat over private Teams content
    from LangChain pipelines.
- name: Backstage
  description: Backstage plugin (`backstage-stackoverflow`) surfaces Stack Overflow for Teams content inside Backstage developer
    portals.
- name: Terraform
  description: Terraform provider (`terraform-provider-stackoverflow`) manages questions, answers, and articles in Stack Overflow
    for Teams as code.
- name: StacMan (.NET)
  description: Long-standing .NET client for Stack Exchange API v2 (StackExchange/StacMan) covering the public v2.3 surface.
solutions:
- name: Public API v2.3
  description: Read-mostly, unauthenticated public access to the full Q&A graph across 180+ sites. Default integration path
    for developer tools, dashboards, community analytics, and AI grounding.
- name: Stack Overflow for Teams API v3
  description: Private REST API for Stack Overflow for Teams customers, used by the TypeScript SDK, Terraform provider, Backstage
    plugin, and LangChain integration.
- name: Stack Overflow MCP Server
  description: Beta MCP server that lets MCP-compatible AI clients search, retrieve, and ground answers in Stack Overflow
    content with simple OAuth onboarding.
- name: Stack Exchange Data Explorer
  description: SQL-style query interface for the Stack Exchange data dumps, used for analytics workloads that exceed the API
    quota.
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com

Stack Exchange API — frequently asked questions

Does Stack Exchange have an API?

Yes. APIs.io lists 17 APIs from Stack Exchange, including Stack Overflow for Teams API v3, Stack Exchange Access Tokens API and Stack Exchange Answers API, and 14 more.

Is there an OpenAPI specification for the Stack Exchange API?

Yes. APIs.io indexes 16 OpenAPI specifications for Stack Exchange, each linked for download from this page.

How do I authenticate with the Stack Exchange API?

Stack Exchange documents its authentication (apiKey/oauth2 · 2 schemes). The details are profiled on APIs.io as Stack Exchange Authentication.

How much does the Stack Exchange API cost?

APIs.io lists 3 pricing plans for Stack Exchange, with each plan's price, limits and inclusions under Pricing on this page.

Is the Stack Exchange API ready for AI agents?

Stack Exchange has a Kin Score of 41.2 out of 100 (developing) and an Agent Readiness score of 35.3 (agent-ready), scored by API Evangelist on 2026-11-28.

Work with this as data

Every provider 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 providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • 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 provider
curl "https://apis.io/api/v1/providers/stackexchange"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/stackexchange/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/stackexchange/evidence"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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