Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [questions]

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

2
votes
1answer
1k views

How to get Question/Answer body in the API response using filters?

I am specifically looking to get the question/answer body back. Is it possible? I am looking through the API documentation and I'm confused about how to make a call with filters. Sample call I'm ...
6
votes
1answer
101 views

API throws improper error when “date” parameters are the same

When using the Stack Exchange /questions API using the same date for fromdate and todate I get a 500 internal server error. Using different dates appears to work OK but specifying the same value ...
6
votes
1answer
215 views

Why these questions do not have a title?

Hitting the following /questions route: http://api.stackoverflow.com/1.0/questions/74?pagesize=1&page=1 the endpoint returns this JSON data: { "total": 1, "page": 1, "pagesize": 1, "...
3
votes
1answer
111 views

Problem getting a users questions within a date range

I'm having a problem returning a list of users questions within a given timespan. I understand that the documentation ( http://api.stackoverflow.com/0.8/help/method?method=users/{id}/questions ) that ...
1
vote
1answer
109 views

Getting questions that have a specific tag or tags?

In the current API (2.1 and 2.2), how do you get questions that have a specific tag or tags? EG: All Stack Overflow questions asked in the past 2 months tagged 'ruby'? All Stack Overflow questions ...
52
votes
0answers
3k views

Natty - Bringing 10k moderation to All

Background and History The New Answers to Old Questions tool helps us to find all the answers added to questions which are more than 30 days old. However the issue with the tool is that it is not ...
26
votes
0answers
1k views

FireAlarm: detecting low-quality questions with machine learning

There are two versions of FireAlarm. One version is written in C, and the other is written in Swift. This post is about the Swift version. FireAlarm is a chatbot Ashish Ahuja and I have been ...
13
votes
1answer
592 views

Show User Accept Rates

This simple user script restores the display of a user's question accept rate on questions they ask. Known Issues: New: In Firefox, throws a "no element found" error and fails to display anything. ...
10
votes
0answers
245 views

Auto-Add A Comment When Closing

About Automatically adds a comment when closing a question, with the text taken directly from the close reason you chose, so that the OP can see why their question may be being downvoted, and improve ...
10
votes
0answers
120 views

Bonfire - dashboard for FireAlarm detecting low-quality questions

FireAlarm is a chatbot detecting low-quality questions. Bonfire is a web-dashboard written using Ruby on Rails, made specifically for FireAlarm. Upon low quality post detection, FireAlarm sends all ...
6
votes
1answer
91 views

The tagged parameter does not work with multiple tags

Take these two API calls: http://api.stackoverflow.com/0.8/questions?tagged=php;rant http://api.stackoverflow.com/0.8/questions/tagged/php;rant A couple of problems: Shouldn't they return the same ...
6
votes
0answers
230 views

StackBot - Making it easy to post StackExchange questions to Twitter

About StackBot is a small C# application that is designed to post interesting questions to a Twitter account at specified intervals. License StackBot is released under the Ms-PL license. Download ...
3
votes
0answers
262 views

Newest unaswered by tags

Screenshot About Often, when I was looking for questions to answer on StackOverflow, I would go through newest unanswered questions and look for those that had one of my favorite tags. The “my tags” ...
5
votes
1answer
72 views

How to include answers when fetching questions?

I made a small cron job which crawls questions and answers from Stack Overflow. Here is my request URL: https://api.stackexchange.com/2.2/questions?order=desc&tagged=php&site=stackoverflow&...
2
votes
1answer
195 views

Add 'linked' question data to the API

SE sites show linked questions on the right column. It would be great to add an array of ids to the question response called 'linked'. Example Linked Question
1
vote
0answers
221 views

Real time questions for any Stack Exchange site

Screenshot / Code Snippet About This script provides real time updates and filtering of active questions for all SE sites. Shows active questions in real time Filter by favorite tags Filter by ...
8
votes
1answer
163 views

Why is /questions API returning deleted questions?

In last few days I have noticed that questions API returns questions that where deleted hours before the API call. This is a short example, if more logs are need to pin point the problem, please ...
8
votes
1answer
106 views

Why is comment_count=1 (incorrectly) when this particular filter is used?

We're seeing that, when a particular filter we've created is used, the API will return "comment_count": 1 for questions with no comments. For a search for questions with no answers, ordered by ...
3
votes
1answer
121 views

How to check if a given question is changed

What is the fastest way to check if a question is changed using the API calls? For my purpose (a cache), a question is considered changed if: A new comment is added to the question or to any of its ...
3
votes
0answers
142 views

What's the proper way to fetch the score of all answers of SO?

I wrote a small program querying the SE API to grab the public scoring data of all SO answers (excluding the last 3 days). Basically the request I do gets me this: Questions[]: Id Title ...
2
votes
0answers
64 views

Why is there a difference between “questions” and “search” in API?

I have a query to find the number of questions tagged java from 2012-08-01 to 2013-08-01. Running this using both /questions and /search produces different results: https://api.stackexchange.com/2....
1
vote
0answers
104 views

400 when posting a question to the Stackexchange API

I am adding a question via the API and I manage to create a preview of my question (See JSON extract below). { "has_more" = 0; items = ( { "creation_date" = ...
0
votes
1answer
87 views

How to sort by the newest question?

I'm trying to retrieve the latest questions posted in a particular tag. What's the equivalent for: http://stackoverflow.com/questions/tagged/php?sort=newest&pagesize=15 I see that v1.1 API is ...
0
votes
1answer
85 views

How to get all questions with a specific tag between certain dates

I would like to get all questions created and tagged with tag "R" between 2 dates. I'm using parameters: tagged = R, sort = creation, fromdate and todate set to appropriate dates and site = ...
0
votes
1answer
127 views

How do I find all questions/answers per a tag using .Net?

I want to get the list of questions based on tag name using .Net. can any one please let me know how to achieve this using .Net with API Version 2.2?