Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 7653

Tools that help with questions, or issues with the API handling of questions.

3 votes
Accepted

Is there any way or script to sort questions/posts/answers with custom criteria?

For example, this will fetch questions tagged python with at least 2 answers, and that have a score of 50 or more:   /2.2/search/advanced? … page=1&pagesize=100&q=score:50&answers=2&tagged=python&site=stackoverflow Related questions: How to sort /questions/featured by bounty_closes_date Ability to sort answers by number of revisions via …
Brock Adams's user avatar
5 votes
0 answers
129 views

Restore missing and/or obsolete Close-Vote Reasons

About: This userscript restores missing/obsolete close-vote reasons to the close-vote dialog. This script is in response to: A chat request where the poster used it in conjunction with a bug …
Brock Adams's user avatar
1 vote

Can the API Edit a Question, changing only one field?

Yes, you must provide all three of: tags, title, and body -- even if they haven't changed. Otherwise you will get error messages like: "error_id": 400, "error_message": "tags", "error_name": "bad …
Brock Adams's user avatar
1 vote
Accepted

What's the meaning about " is_answered" field of question object?

Refer to this Venn diagram: Only questions in the green circle will have is_answered set to true. … . -- That's questions that are in the intersection of the purple circle and the green circle. is_answered is false, and question has an unaccepted answer. -- That's questions that are in the blue circle …
Brock Adams's user avatar
1 vote

Can we pull posts out of Stack Overflow based on tags?

Is there any valid way to get the information from stackoverflow.com/search?q=? Use the /search/advanced route of the API; that's what it's there for. For example:     /2.2/search/advanced?q=foo …
Brock Adams's user avatar
1 vote
Accepted

Get everything touched by a user?

Feed the question post id's, 100 at a time, to /questions/{ids} to get further details if desired. …
Brock Adams's user avatar
0 votes
Accepted

How to pass multiple tags (OR between the tags) to the Stack Exchange Questions/Unanswered API

For example, suppose I wanted the unanswered questions tagged either unityscript OR rate-limiting. I would do the following: Fetch questions/unanswered? … Fetch questions/unanswered?tagged=rate-limiting(link), paging as necessary. …
Brock Adams's user avatar
1 vote
Accepted

How to Create a Multi-tag URI Request to /questions

From the /questions doc: ...use the tagged parameter with a semi-colon delimited list of tags. … EG, see Why is there a difference between "questions" and "search" in API?. …
Brock Adams's user avatar
1 vote

How to get questions, under a tag, which have at least one answer with 10+ votes?

Note that questions often have several answers scoring more than 10. (And qualifying questions usually have other lower-scoring answers too.) … More questions... That is, for each qualifying question, all of its answers are listed. HOWEVER, this approach also restricts the results to questions that have at least 10 upvotes. …
Brock Adams's user avatar
1 vote
Accepted

Do my users need to be logged in, for quota?

Your app can just give them the link, and they don't need to be logged in. The quota is a function of your API key (mainly). Register your app and use a key and that will give you a 10K quota. See …
Brock Adams's user avatar
5 votes

How to get new questions continuously?

Since it is active questions, rather than newest, you will need to separately track which questions are really new. … Note that I suspect that this page misses questions, but have no evidence of that. Also, this information is essentially the same as for the 155-questions-active WebSocket endpoint. …
Brock Adams's user avatar
1 vote

Get a great many counts of questions, by select tags for a date range?

Use a /search query to get the questions for the whole interval in question. EG: /search? … For example, in 5 years there have been about a million Java questions. It would take your full 10K quota just to fetch that data (10K calls times 100 questions per call). …
Brock Adams's user avatar
2 votes

Notice field on questions may be absent?

Yes, officially this is a documentation bug. From the Absent Fields doc: Fields that are not always guaranteed to be set... are indicated in the per-type documentation. Any discrepency(sic) betwe …
Brock Adams's user avatar
3 votes

Field "comment_count" is not always returned by API

This appears to be closely related to the bug: Why is comment_count=1 (incorrectly) when this particular filter is used?. The workaround from there -- altering the filter by: selecting comment.comm …
Brock Adams's user avatar
7 votes
Accepted

Why is /questions API returning deleted questions?

However, please refer to Provide a way to retrieve questions and answers that have been deleted -- which is "status-planned". This is a feature, not a bug. … So, shush please, don't ruin it for us. ;) Confirmation info: You can see this behavior (for now) with this API search: /2.2/questions?fromdate=1466553600&... …
Brock Adams's user avatar

15 30 50 per page