All Questions
316 questions
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.
...
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 ...
52
votes
0
answers
4k
views
Heat Detector - analysing comments to find heat
General
Heat detector is a StackApp whose goal is to catch offensive, rude, snarky comments, and comments that leads to abusive content (offensive, spam posts, or previous offensive comments). It is ...
45
votes
0
answers
2k
views
Guttenberg - A bot searching for plagiarism on Stack Overflow
What is Guttenberg?
Guttenberg is a bot that searches for plagiarism or duplicated answers on Stack Overflow. It's currently running in SOBotics under the user Guttenberg.
Implementation
Every 60 ...
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 ...
22
votes
1
answer
468
views
Stack Exchange thinks that Shog is a elected moderator
I was browsing the API for the list of elected moderators, The API URL is
http://api.stackexchange.com/docs/elected-moderators#pagesize=100&order=desc&sort=reputation&site=stackoverflow&...
22
votes
0
answers
882
views
Burnaki: tracking progress and helping burnination efforts on Stack Exchange
Burnaki
The purpose of this project is to monitor burnination efforts on the Stack Exchange network. The goals are threefold:
tracking the progress by watching for close votes / reopen votes / ...
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 ...
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 ...
18
votes
0
answers
438
views
NAABot - Bot which finds and flags problematic answers on Stack Overflow
Description
The aim of this project is to write a simple bot which will monitor all new answers posted on Stack Overflow and flag the ones which are not answers in accordance to the guidelines ...
17
votes
1
answer
255
views
List of Votes by Authenticated users
In the API documentation for the question type, it says that you can access, for a specific question, whether or not the authenticated user (in the private_info scope) upvoted/downvoted the question.
...
15
votes
0
answers
444
views
Review Audit Detector
Motivated by the question Would a userscript to determine whether a review is an audit be illegal, I wrote a userscript for this purpose. The algorithm is as follows:
If the post score shown in ...
14
votes
1
answer
269
views
Marking inbox items as read in api v2.2
I'm aware of this question, but it applied to an older (readonly) api version.
Given that API 2.2 is read/write, I figured this might be possible now.
Is there any way for an application using the ...
12
votes
2
answers
6k
views
Can the redirect_uri contain port number?
Is it possible to have the redirect_uri contain a specific port?
For example: example.com:8080
Assuming that example.com is my registered domain, is the 8080 allowed? I have tried to put it as part ...
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 ...
10
votes
1
answer
192
views
Please provide a way to download SEDE data via an API
Following on from this answer, I have a data extraction requirement that is not presently catered for in the API, so I've raised a feature request for that.
It has also been suggested that it would ...
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. ...
9
votes
1
answer
1k
views
How to see which users upvoted a question?
I assume this information is tracked, since StackOverflow shows me the questions I have upvoted (when going to their question page, I can undo the upvote). I couldn't find any api call that gives this ...
9
votes
1
answer
141
views
Typos in API documentation
From the /posts documentation:
Most applications should use the question or answer specific methods, but /posts is available for those rare cases where any activity is of intereset.
intereset => ...
9
votes
1
answer
167
views
Please add the `tagged` parameter to /answers, /users, etc
The /questions endpoint supports a tagged parameter which I find quite useful. However, it's the only route that appears to support this parameter.
If, say, I want to get questions asked by a given ...
9
votes
0
answers
334
views
CheckYerFlags: Notifying when a user reaches a certain flag amount
About CheckYerFlags
This bots notifies users when they reach an amount of certain flags (so called flag ranks), for example 1,111 or 33,333 in a chat room and also provides them a command to get the ...
8
votes
1
answer
263
views
Why has my daily quota increased from 10k to 2 billion?
I'm using the Stack Exchange API with an access token and API key, and I was just checking my remaining quota. According to the documentation, this should be a number (somewhat) lower than 10,000, ...
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 ...
8
votes
1
answer
142
views
The answer object returns an empty array for tags
Since version 2.1, the answer object has a field called tags. However, sometimes, an empty array or even nothing is returned in this field:
Example with the filter !-*f(6t0Vk01e.
Am I doing ...
8
votes
1
answer
138
views
Bug with `badges/name` endpoint
Last night I had a programme running and it errored on the first call to the badges/name endpoint on the API, exact API endpoint call:
https://api.stackexchange.com/2.2/badges/name?order=asc&sort=...
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 ...
8
votes
1
answer
729
views
StackExchange API Java wrapper
Screenshot / Code Snippet
StackExchangeApi api = new StackExchangeApi(key);
api.authorize(authToken);
StackExchangeSite siteService = api.getSiteService(StackExchangeSite.STACK_OVERFLOW);
Response&...
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/...
7
votes
2
answers
548
views
After successfully retrieving 180 pages, the API gracelessly, semi-silently, fails
I'm trying to synchronize tags using the Stack Exchange API and this works for about 180 pages, but around 180 pages it always ends with an exception that seems to indicate that there is no HTTP ...
7
votes
1
answer
683
views
Application Key and AccessToken are not working for Stack Exchange API? [duplicate]
I have followed the documentation and used explicit OAuth 2.0 flow for access_token generation.
And I have gone through all 4 steps defined under explicit OAuth 2.0 flow with scope=no_expiry. Then I ...
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 ...
6
votes
1
answer
350
views
Where is the usage documentation?
I know this is probably a dumb question, but there's a bunch of documentation and I don't know what to do with this stuff. How do you use the API?
6
votes
1
answer
135
views
Does a closed and/or deleted Stack Apps post still provide access to the API?
Registering your application as a Stack Apps app is necessary in order to obtain a higher request quota, authentication and write access to the API.
What happens if the question is closed because of ...
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 ...
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 ...
6
votes
1
answer
195
views
JavaScript SDK-based workflow never pushes message back from OAuth login_success page on Stack Exchange side
I'm using the JavaScript SDK by Stack Exchange provided with the latest API, and despite following the official instructions & examples it doesn't work - it seems there is a bug which breaks the ...
6
votes
2
answers
1k
views
StackExchange API Java SDK
This project aims to provide a Java wrapper to the Stack Exchange API.
SDK supports Stack Exchange API V2.2
Getting Started
There are two interfaces to the library.
Query Interface
Facade ...
6
votes
1
answer
571
views
Got 502 response after very few calls
This looks like a duplicate of Throttle violation after 300 calls but this one is reported as fixed in 2012.
Today I made ~450 requests with an app key (no oauth token) and suddenly got a 502 ...
6
votes
1
answer
148
views
Field "comment_count" is not always returned by API
I am making a request with a custom filter that includes the "comment_count" field of the question type. My custom filter is !RtdMEtslKF6Z()NqpDUFZ58R6twu-.4V48gn0furqA*7_BL1.
However, when I'm ...
6
votes
0
answers
72
views
Docs say the API returns a user's age, but it doesn't (anymore)
The doc page says that the user object returns an age property (for those users that specified an age).
But the API no longer does. (Plus spot checks of users that had age in ...
6
votes
0
answers
158
views
Reputation-based filter for search results
This userscript filters search results on Stack Exchange sites by reputation of the asker. To use it, add a search parameter such as is:25 where 25 is the minimum reputation required. Since the search ...
6
votes
0
answers
102
views
Revisions API doesn't return all revisions if post has had multiple edits made in quick succession
I am pulling information from the posts API and then checking the revisions API for some of these posts. I am noticing that on posts which have had multiple revisions done in quick succession that the ...
6
votes
0
answers
86
views
Badge numbers are wildly erroneous for meta accounts returned by the /associated query
There is a serious problem with badge counts on meta sites as returned by
the /users/{ids}/associated route.
Consider this user (chosen for high volume of meta activity).
On Meta Stack Overflow, ...
6
votes
0
answers
77
views
Use HTTPS urls for site logos returned by the API
Currently, the API returns resources like this:
"high_resolution_icon_url": "http://cdn.sstatic.net/stackoverflow/img/[email protected]",
"favicon_url": "http://cdn.sstatic.net/stackoverflow/img/...
6
votes
0
answers
434
views
Resurfacing bug: "could not parse proxy url" error message
According to this question, the "could not parse proxy url" bug was solved more than 2 years ago.
However, when using the client-side OAuth flow, the aforementioned error message appears when ...
6
votes
0
answers
112
views
The "advanced search" path returns very wrong results for the `q` parameter
I'm trying to search for a string. It's a hardware identifier 10ec:8168 and should be unique to that make/model of chip. Any questions that mention is should be relevant.
But compare the site search ...
6
votes
0
answers
58
views
API docs for "stack overflow" still feature v1.0 docs
I guess I'd call this a doc bug.
Currently the page http://api.stackoverflow.com redirects to http://api.stackoverflow.com/1.0/usage, which says at the top "Don't use 1.0, use 2.1". This URL ...
5
votes
1
answer
464
views
How to increase app request quota from 300 to 10,000?
In the app management page for a little app I made, the following statement is presented below this key Pw9D)judG8FE4tJR3qjUTA((:
Pass this as key when making requests against the Stack Exchange ...
5
votes
1
answer
73
views
Possible to get a user's flag history?
Is it possible to retrieve a signed-in user's flagging history, preferably with the status of the flag?
I looked at the /me/timeline docs, and noticed it doesn't return flags. Is this type of ...
5
votes
1
answer
70
views
API returns implausibly low questions per minute rate for Stack Overflow
Yesterday, I tried using the /info method of the API to predict the time left until 10M questions on Stack Overflow. In the process, I found that the returned "questions per minute" value was always 2....