Stack Overflow API guide

stackoverflow.com

Search Stack Overflow for programming questions, browse active threads by tag, and read accepted answers, comments, and related questions.

Actions and inputs

stackoverflow search

Find questions matching a search term.

Inputs query

stackoverflow tag

List questions with a specific tag, most active first.

Inputs tag

stackoverflow read

Read a question with its answers and comments.

Inputs question ID, optional answer and comment limits

stackoverflow related

Find questions related to a specific thread.

Inputs question ID, optional sort order

Your questions

Create

Post a programming question from your account.

Inputs Title, problem details, minimal example, tags

Read

Read your question, its answers, and its comments.

Inputs Question ID or URL

Update

Edit the title, body, or tags of your own question.

Inputs Question ID, revised fields, edit summary

Delete

Delete your own question if Stack Overflow allows it; some answers or voting activity can block self-deletion.

Inputs Question ID, confirmation