# Stack Overflow API

> 2 public methods for Stack Overflow (stackoverflow.com), each 1 credit per completed run.

Unofficial. Not affiliated with or endorsed by Stack Overflow.

- Page: https://fous.com/methods/stackoverflow.com

## Methods

### [Search questions](https://fous.com/methods/stackoverflow.com/search-questions.md)

`stackoverflow.com/search_questions`, read. Finds Stack Overflow programming questions matching plain-language search words, optionally filtered by tag and answer status, with a chosen sort order.

Returns: title, score, answer count, accepted-answer flag, tags, asked date, views, link, question number

### [Get answer](https://fous.com/methods/stackoverflow.com/get-answer.md)

`stackoverflow.com/get_answer`, read. Gets a Stack Overflow question and its best answers, from a question link or a plain-word search. A search picks the most relevant answered question. The accepted answer comes first, then answers by score.

Returns: question title, text, link, tags, answers (text, score, accepted, author, date, link)
