StackOverflow
Overview
Developer Q&A platform. Public REST API (Stack Exchange API v2.3) for searching questions, reading answers, browsing user profiles, and exploring tags.
Workflows
Find answers to a programming question
searchQuestions(q, site) → question_id, title, score, owner.user_id
getQuestion(id, site) → body, tags, answer_count
getAnswers(id, site) → body, score, is_accepted
Research a user's expertise
searchQuestions(q, site) → owner.user_id from any result
getUser(id=owner.user_id, site) → reputation, badge_counts, display_name
Explore a technology's ecosystem
searchTags(inname, site) → name, count
searchQuestions(q, tagged=name, site) → question_id, title, score
Operations
| Operation |
Intent |
Key Input |
Key Output |
Notes |
| searchQuestions |
find questions by keyword |
q, site |
question_id, title, score, answer_count, tags, owner.user_id |
entry point, supports tag filtering |
| getQuestion |
question details with body |
id ← searchQuestions, site |
title, body, score, tags, answer_count |
use filter=withbody for body HTML |
| getAnswers |
answers for a question |
id ← searchQuestions, site |
body, score, is_accepted, owner.user_id |
sorted by votes, use filter=withbody |
| getUser |
user profile |
id ← owner.user_id, site |
reputation, badge_counts, display_name |
from question/answer owner |
| searchTags |
browse/search tags |
inname, site |
name, count |
entry point, sorted by popularity |
Quick Start
# Search for questions
openweb stackoverflow exec searchQuestions '{"q": "async await javascript", "site": "stackoverflow"}'
# Get question details
openweb stackoverflow exec getQuestion '{"id": 11227809, "site": "stackoverflow"}'
# Get answers for a question
openweb stackoverflow exec getAnswers '{"id": 11227809, "site": "stackoverflow"}'
# Get user profile
openweb stackoverflow exec getUser '{"id": 22656, "site": "stackoverflow"}'
# Search tags
openweb stackoverflow exec searchTags '{"inname": "javascript", "site": "stackoverflow"}'
1---2name: stackoverflow3description: StackOverflow4---5# StackOverflow67## Overview8Developer Q&A platform. Public REST API (Stack Exchange API v2.3) for searching questions, reading answers, browsing user profiles, and exploring tags.910## Workflows1112### Find answers to a programming question131. `searchQuestions(q, site)` → `question_id`, `title`, `score`, `owner.user_id`142. `getQuestion(id, site)` → `body`, `tags`, `answer_count`153. `getAnswers(id, site)` → `body`, `score`, `is_accepted`1617### Research a user's expertise181. `searchQuestions(q, site)` → `owner.user_id` from any result192. `getUser(id=owner.user_id, site)` → `reputation`, `badge_counts`, `display_name`2021### Explore a technology's ecosystem221. `searchTags(inname, site)` → `name`, `count`232. `searchQuestions(q, tagged=name, site)` → `question_id`, `title`, `score`2425## Operations2627| Operation | Intent | Key Input | Key Output | Notes |28|-----------|--------|-----------|------------|-------|29| searchQuestions | find questions by keyword | q, site | question_id, title, score, answer_count, tags, owner.user_id | entry point, supports tag filtering |30| getQuestion | question details with body | id ← searchQuestions, site | title, body, score, tags, answer_count | use filter=withbody for body HTML |31| getAnswers | answers for a question | id ← searchQuestions, site | body, score, is_accepted, owner.user_id | sorted by votes, use filter=withbody |32| getUser | user profile | id ← owner.user_id, site | reputation, badge_counts, display_name | from question/answer owner |33| searchTags | browse/search tags | inname, site | name, count | entry point, sorted by popularity |3435## Quick Start3637```bash38# Search for questions39openweb stackoverflow exec searchQuestions '{"q": "async await javascript", "site": "stackoverflow"}'4041# Get question details42openweb stackoverflow exec getQuestion '{"id": 11227809, "site": "stackoverflow"}'4344# Get answers for a question45openweb stackoverflow exec getAnswers '{"id": 11227809, "site": "stackoverflow"}'4647# Get user profile48openweb stackoverflow exec getUser '{"id": 22656, "site": "stackoverflow"}'4950# Search tags51openweb stackoverflow exec searchTags '{"inname": "javascript", "site": "stackoverflow"}'52```