Skip to main content

All Questions

Filter by
Sorted by
Tagged with
109 votes
3 answers
23k views

API Documentation and Help

Method List All API methods can be found at https://api.stackexchange.com/docs. Global Method Parameters All methods accept the following parameters: type=jsontext: responds with mime-type text/json. ...
32 votes
1 answer
11k views

Looking for a beginner's tutorial to using the API

I see the Stack Exchange API but I'm unable to understand it. I don't think there is any fundamental tutorial showing how to use Stack Overflow fully in the API documentation. I want some fundamental ...
Ranjit's user avatar
  • 423
10 votes
0 answers
280 views

Tell us that POST is required to write

While troubleshooting /posts/{id}/comments/add in order to answer Why am I getting a 404 when trying to post a comment?, it was noticed that the API path in question only responded to POST requests. ...
michaelb958--GoFundMonica's user avatar
3 votes
1 answer
2k 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 ...
Shyju's user avatar
  • 133
77 votes
0 answers
6k 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 ...
Bhargav Rao's user avatar
  • 1,377
43 votes
10 answers
1k views

LegacyQuestions - Bringing back the old questions design

Preview What is LegacyQuestions? (install) LegacyQuestions brings back the old questions list design changed in a recent update. Changelog v2.0 fixed vertical list bug, props to Dani21 for the PR ...
Spectric's user avatar
  • 1,705
18 votes
1 answer
278 views

Accessing Authenticated User's Close/Delete History

I'm working on the PHP chatroom's cv-pls backlog UI. Many users and myself would like the ability to track which questions we have already handled though close/delete votes. To be able to do that I ...
kittycat's user avatar
  • 507
6 votes
1 answer
1k views

Please "release" and/or document API version 2.3

I was playing around a bit with Fiddler to capture traffic from the Stack Exchange iOS app. To my surprise, it uses version 2.3 of the Stack Exchange API: I noticed here that it has some extra ...
Glorfindel's user avatar
  • 6,885
6 votes
1 answer
140 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 ...
Andy Clark's user avatar
4 votes
1 answer
288 views

How do I parse the dates from the API?

I see that JSON returned by the API contains dates in the following format: "creation_date":1364546475 ^^^^^^^^^^ What's the meaning of it? How can I parse it to get the date in the ...
Ionică Bizău's user avatar
12 votes
1 answer
362 views

How the /sites method is meant to be used

The /sites method is used to enumerate all sites in the network. If your [app] is meant to run against more than a single site (and many are) this method is how you should be discovering new sites in ...
7 votes
1 answer
127 views

What happened to the JSON documentation for the API?

Back in version 1.1 of the API, we used to be able to do: http://api.stackoverflow.com/1.1/questions?help ...which would return information about the method in JSON format. However, attempting to ...
Nathan Osman's user avatar
  • 23.3k
6 votes
1 answer
226 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, "...
systempuntoout's user avatar
4 votes
1 answer
410 views

My filter is not returning any results. How to create a minimal filter?

I'm having trouble getting the SO API Filters to cooperate. I've gone over the documentation as well as similar questions like this and this. I'll use this call as an example since it successfully ...
ashleedawg's user avatar
4 votes
1 answer
146 views

AND searching for tags?

I am using the search api to search for questions that are tagged with "tags" and not with "tags". However I have noticed that searching for tags is an OR search. The questions search for tags is an ...
johnwards's user avatar
  • 465
3 votes
1 answer
136 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 ...
user avatar
3 votes
4 answers
283 views

Is it really worth to (implicitly) discourage documentation of API/library usage nowadays already?

Update: Kevin provided an answer, which, while adding something of value to the three related questions together (by naming the originating concern eventually), actually does not apply to the ...
Steffen Opel's user avatar
  • 1,380
3 votes
2 answers
335 views

What am I allowed/not permitted to do with the API?

I have a site that will offer technical help and assistance for a certain niche of computer users. I can either host my own forums, or tie in with stack... but I want to be able to make money off it ...
makerofthings7's user avatar
1 vote
1 answer
50 views

`types=main_site` in `/me/associated` gives `meta_site` accounts also

When I run /me/associated with main_site as a parameter in types, its gives meta_site accounts also (Meta Stack Exchange profile).
amit jha's user avatar
  • 842
1 vote
1 answer
134 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 ...
Bob Walsh's user avatar
  • 113
29 votes
0 answers
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 ...
NobodyNada's user avatar
28 votes
4 answers
612 views

'Saviour' of Lost Souls

'Saviour' of Lost Souls Meta sites, but especially Meta Stack Exchange, see a lot of 'lost souls', users who have no idea that they're on Meta (e.g. because of a suboptimal email or a Stack Overflow ...
Glorfindel's user avatar
  • 6,885
25 votes
1 answer
481 views

Duplicate Target Manager

Description This is a userscript that lets you mark questions as commonly used duplicate targets, and replaces the default question search in the close dialog with one that searches through your ...
Aran-Fey's user avatar
  • 351
20 votes
3 answers
159 views

Documentation or API method for `option_id` information, for the `/flags/options` API calls?

The Stack Exchange API has a couple of calls that return a list of flag_option objects. These objects contain a couple of properties that can be used to identify the flag you need. For example, when ...
Cerbrus's user avatar
  • 331
13 votes
3 answers
284 views

Activity Indicator - see if you participated in a Q&A at a glance

About Activity Indicator is a userscript that displays a, well, indicator and some useful stats about your interactions with a given post. Inspired by this feature request, upon opening a post, the ...
0Valt's user avatar
  • 1,434
13 votes
1 answer
638 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. ...
Michael Hampton's user avatar
12 votes
0 answers
284 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 ...
Danny Beckett's user avatar
11 votes
0 answers
182 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 ...
Box Box Box Box's user avatar
8 votes
1 answer
235 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 ...
Petter Friberg's user avatar
8 votes
1 answer
139 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 ...
daviddoran's user avatar
8 votes
0 answers
165 views

Incomplete information in API documentation

I am struggling a little bit with the Stack Exchange API since there seems to be no formal specification for the individual endpoints of the API. Example: Endpoint: https://api.stackexchange.com/2.2/...
Besi's user avatar
  • 533
7 votes
0 answers
261 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 ...
Nathan Osman's user avatar
  • 23.3k
6 votes
1 answer
115 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 ...
Felix's user avatar
  • 1,522
5 votes
1 answer
130 views

Typos on api.stackexchange.com/docs/js-lib

Under the Authentication section on https://api.stackexchange.com/docs/js-lib, there are a few typos (emphasis mine): scope (optional) – an array of scopes to request during authentication, valid ...
ᔕᖺᘎᕊ's user avatar
  • 4,385
5 votes
1 answer
113 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&...
Jithesh Kt's user avatar
5 votes
1 answer
122 views

View close/reopen votes without 3k rep

Preview About This script enables you to view the close/reopen votes on a post without unlocking the cast close and reopen votes privilege unlocked at 3000 reputation. Powered by Stack Exchange API. ...
Spectric's user avatar
  • 1,705
5 votes
1 answer
734 views

Is it possible to authenticate a user through Stack Overflow API?

Is it possible to use the Stack Overflow API to authenticate a given user identity such as with Facebook, Twitter, or OpenID? If it's possible: Can you tell me the method (s) that make this happen?
Sebastian's user avatar
5 votes
1 answer
180 views

Few typos in the documentation pages

https://api.stackexchange.com/docs/vectors When passing a vector, sepeate each id with a semicolon. For example, /users/1;2;3;4;5?site=somesite would fetch users with ids 1 through 5 on somesite. ...
Arulkumar's user avatar
  • 578
4 votes
1 answer
185 views

“Try It” URL has wrong URI

On API doc pages, the “link” link at the top-right of the “Try It” sections presents a URL with the wrong domain name: For example, on docs/similar, the URL displayed will be: https://api....
Brandon Kelly's user avatar
4 votes
1 answer
51 views

Does `inquestion` support multiple question ids?

The q parameter has an inquestion operator that can take a question id. Can it take multiple question ids? My use-case is as follows: I want to get an array of questions with their excerpts. However,...
OfirD's user avatar
  • 165
4 votes
0 answers
277 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” ...
svick's user avatar
  • 216
4 votes
1 answer
1k views

Get questions with body and answers

How can I get the latest 30 questions with body and answers using the api? And then, I want to get only first most voted 3 answers for each question. Is this possible with only one request? To get ...
Ionică Bizău's user avatar
4 votes
0 answers
122 views

Parameter `tagged` in `search/advanced` seems to use `AND` instead of `OR`

It seems that search/advanced has the same problem as in "The tagged parameter does not work with multiple tags" question. When I select c#; .net I only get results tagged both c# and .net: http://...
Andrey Shchekin's user avatar
4 votes
0 answers
94 views

View other OP posts in the Staging Ground

During the beta tests in the Staging Ground, there were some cases where the author wrote a posted a copy of the question that bypassed the Staging Ground process. This user script shows me the ...
dan1st's user avatar
  • 261
3 votes
1 answer
131 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 ...
systempuntoout's user avatar
3 votes
0 answers
170 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 ...
Denys Séguret's user avatar
3 votes
1 answer
93 views

Why is "body" missing from certain inbox items?

I have run into some confusion over the presence of the body attribute in an inbox-item returned by the /inbox method. When item_type is set to "careers_invitations", the body attribute appears to be ...
Nathan Osman's user avatar
  • 23.3k
3 votes
0 answers
80 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....
Sarath Saleem's user avatar
2 votes
0 answers
222 views

StackExchange – Expand Hidden Comments

In principle that what Expand all comments script does, but with two major differences: Scrolls the page back to the initial target of the corresponding link you selected (i.e. to question, question ...
Gerold Broser's user avatar
2 votes
0 answers
81 views

Update Teams API documentation to reflect dependency on tier

The documentation says (emphasis mine): Starting with the release of Stack Overflow For Teams, the Stack Exchange API exposes read-only access to data stored in private Teams. This is slightly ...
Glorfindel's user avatar
  • 6,885