Search questions
One page of a Stack Overflow search, up to 100 questions, each whole: its text, every answer and every comment, the votes, views, tags, authors, and why it is closed when it is.
| Option | Takes | What it is |
|---|---|---|
| query | string | Words to search for, anywhere in a question (its title, its text, its tags), as Stack Overflow's own search reads them. |
| tags | array | Tags the questions must have, all of them (python and asyncio: the questions tagged both), as Stack Overflow writes them (python, c++, asp.net-core). |
| sort | relevance, newest, activity, votesdefault relevance | The order of the questions: relevance, Stack Overflow's own search order; newest, the latest asked first; activity, the latest answered, commented or edited first; votes, the highest scored first among every question that matches, however loosely (with query, popular questions that only mention the words come first). |
| excluded_tags | array | Tags the questions must not have, none of them. |
| title | string | Words the question's title must hold, whole, side by side and in this order: connection pool finds "Connection pool is full", not "Pool of connections"; timeout does not find "ReadTimeout". |
| body | string | Words the question's text must hold, whole, side by side and in this order (read timeout, not timeout read). |
| user | integer | The questions of one author: their user id on Stack Overflow (22656), or the address of their profile (https://stackoverflow.com/users/22656/...). |
| mentions_url | string | A link that the question or one of its answers holds; * stands for any part of it (https://github.com/encode/httpx*). |
| has_accepted_answer | boolean | True for the questions with an accepted answer only, false for those without. |
| is_closed | boolean | True for the closed questions only (duplicates, off-topic...), false for the open ones. |
| is_migrated | boolean | True for the questions moved from Stack Overflow to another Stack Exchange site only, false for the others. |
| has_notice | boolean | True for the questions with a moderator's notice only (a lock, a call for better answers...), false for the others. |
| is_wiki | boolean | True for the community wiki questions only, false for the others. |
| answers_min | integer | The questions with at least this many answers. |
| views_min | integer | The questions viewed at least this many times. |
| created_after | string | The questions asked from this date on (2024-01-31, from its midnight UTC) or from this instant (2024-01-31T12:00:00Z). |
| created_before | string | The questions asked before this date (before its midnight UTC: 2025-02-01 keeps January 31 whole) or this instant. |
| order | desc, ascdefault desc | The sort's direction, desc as each sort says or asc to reverse it (the oldest first, the lowest scored first). |