All Questions
40 questions
13
votes
2
answers
620
views
Why is my API quota not resetting after UTC reset?
According to How API Keys Work, the default daily API limit -- which is per site, per day -- is 300.
I started with 300, as expected, but over a period of days, I've noticed that the remaining quota ...
9
votes
1
answer
73
views
Whatever happened to closed_reason?
When pulling back info on a closed question, I have come to expect closed_reason to be a present key if there's a closed_date. It seems that as of recently this is no longer true.
Proof: https://api....
8
votes
1
answer
124k
views
sorting ascending vs descending
I don't understand the difference between ascending and descending?
Surely ascending means the most active/recent/popular/A first, and descending means the least active/recent/popular/Z first?
But it ...
8
votes
1
answer
468
views
API Key limit 10k is Per IP Address or Globally?
Getting started FAQ says No Key limit is IP Address based, but it does not say for with API Key.
When I test my API Key from different IP Addresses, I noticed that 10k limit is globally, limit is ...
7
votes
1
answer
28k
views
How to deal with the "Too Many Requests" error coming as HTML?
The API specifies error codes, and messages.
It also specifies a "backoff" parameter.
But, even while respecting the backoff and stopping at errors, and even when waiting a long time between requests ...
7
votes
1
answer
298
views
Stackexchange oauth2.0 is suddenly failing
No changes in stack apps or my code, it was working fine for a while, suddenly it stopped working now.
I get "InternalOAuthError: Failed to obtain access token"
After more details inspection,...
6
votes
1
answer
112
views
API 'search' method with 'tagged' parameter
From the docs for tagged paremeter:
List of tags delimited by semi-colons of which at least one must be on a question
Yet, when I execute this query (http://api.stackoverflow.com/1.0/search?tagged=...
5
votes
2
answers
506
views
The API Key does not work
I have registered an app at https://stackapps.com/apps/register, got a Key right away after I have submitted.
But now when I request http://api.stackoverflow.com/0.8/stats?key=MYKEY, I got ...
5
votes
1
answer
356
views
Suddenly getting "Couldn't parse `client_id`"
For years, I've run a local PHP app using GuzzleHttp\Client to download my StackExchange posts.
Today, I'm suddenly getting this problem when posting my client_id, client_secret, code, redirect_uri.
{
...
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....
4
votes
1
answer
69
views
API 'search' method with 'min' parameter
If you search for questions posted on time 1296897085 or later (by specifying sort=creation and min=1296897085), it may still return questions posted before that date:
http://api.stackoverflow.com/1....
3
votes
1
answer
82
views
503 errors on batch get questions endpoint
I receive a lot of "socket hung up" and 503 Service Unavailable on the /questions/{ids} endpoint. I make requests in batches: 10 parallel requests with 15 question ids, interval between each 10-size ...
3
votes
3
answers
174
views
Negative voting questions?
I'm trying to, for humorous purposes, check out some of the worst scoring questions ever on SO.
I'm pretty much expecting them to all be "heeeeelp homework" or "plz send me teh codez" or something to ...
3
votes
2
answers
82
views
Inconsistency in the handling of multiple IDs with a duplicate
There appears to be some inconsistency in the way multiple ids are being handled, especially when a duplicate exists.
Duplicate ID is significant
For example, when requesting a timeline of multiple ...
3
votes
1
answer
130
views
What's the relation between access_token, key, quota_max, and throttling?
From How API Keys Work (FAQ) I read that the limit of requests per day per IP is 300 without a registered key, or 10000 with it.
And this is what I see by experimenting myself: since I've not ...
3
votes
1
answer
67
views
Wrong results for fetch timeline from offset
To get the timeline for a question I am sending this request:
https://api.stackexchange.com/2.2/questions/63299112/timeline?site=stackoverflow&fromdate=1597649222
I am getting empty results:
{&...
3
votes
1
answer
88
views
The /tags query is not giving me the correct results between two dates?
I'm trying to get the yearly total number of questions that have the tag browserify.
I can see that there are questions tagged from this year like this one and that one.
The site reports that there ...
3
votes
1
answer
112
views
Does stackexchange provide https access to its API?
Requests I make appear to be redirected back to plain http URLs and the certs seem questionable:
% curl -O 'https://api.stackoverflow.com/1.0/questions/?key=oxXcnoD51kKE crj7TadaA&tagged=...
3
votes
1
answer
133
views
Update the default filter editor to use the API key
When I run a sample query using the SE API browser (is that right term?), say against /questions for example (here), I'll always see something to the effect of:
...
"quota_remaining": 9424,
"...
3
votes
0
answers
64
views
It's taking two calls to /oauth/dialog/ to get an access_token? [duplicate]
When we send this request:
https://stackexchange.com/oauth/dialog/?client_id=`client_id`&scope=read_inbox%2cno_expiry%2cwrite_access%2cprivate_info&redirect_uri=https%3a%2f%2fstackexchange....
3
votes
0
answers
137
views
SSL handshake error after Stack Overflow back on - anything related to SSL certification changed?
I'm building a Stack Overflow app for BlackBerry10. Earlier today (Feb 16, 2014), Stack Overflow was down and after it came back up my app starts to have this issue.
My app works fine when it's in LTE,...
3
votes
1
answer
50
views
Elections nominations posts not showing up in API
I know that it's probably unintended that the Primary voting scores were leaked by the API, but I think if you're going to remove it, then at least make it official, so I won't have to wonder if it's ...
2
votes
1
answer
84
views
What happened to the links to a Stack App mentioned in the documentation about write access?
The documentation about write access states:
The application responsible for creating content via the API may be indicated with a link to an app's Stack Apps post. The exact manner of display is ...
2
votes
3
answers
156
views
display_name isn't always there (should have OpenID name if needed)
usually in the owner dictionary there is a display_name value to give the username. But in a few questions it simply doesn't exist and I can't see why only those questions: eg, this excerpt from the 0....
2
votes
1
answer
40
views
Can API stats return real revision number instead of 1234.5678?
Currently it returns like this
"revision": "1.0.1234.5678"
And looks like that number never changed.
So, Can API return real revision number whenever there is an update?
It will be very useful ...
2
votes
1
answer
183
views
Implicit Flow Isn't Redirecting
I'm using the WebAuthenticationBroker to allow users to log in to their account:
var accessToken = "";
var uri = "https://stackexchange.com/oauth/dialog?redirect_uri=https://localhost.com&...
2
votes
1
answer
84
views
Bugs in API 2.2 "/search/advanced" with a "q" parameter
How can we handle these problems?
Result for sort=relevance&order=desc is similar to
sort=relevance&order=desc.
Very poor caching system: After some queries, you may receive the same
results ...
2
votes
1
answer
158
views
V2.1 API body HTML has unclosed li tags
The Stack Exchange API (with a safe filter) is returning question body content with malformed HTML, specifically <li> elements that do not have closing tags (and no valid parent).
I've seen ...
2
votes
0
answers
72
views
Randomly getting an 404 no method error when calling the question endpoint
When calling the question endpoint for a given number of communities, I have been randomly getting the following error:
{"error_id":404,"error_message":"no method found with ...
1
vote
1
answer
61
views
wrong results of /search/advanced
I am querying mobile in stackoverflow. The second result is an answer. Results of /search/advanced is giving only questions when queried mobile. This is applicable for all other terms which are to be ...
1
vote
1
answer
37
views
What is the api_site_parameter of stackapps.com in API 2.x
What is the api_site_parameter of stackapps.com in API 2.x? https://api.stackexchange.com/2.1/sites doesn't list stackapps. Why?
1
vote
3
answers
150
views
API not returning anything near the actual website
The API /questions page is not returning anything like the list of questions on the actual SO site.
This is the first question of the 0.8/questions
{
"total": 705769,
"page": 1,
"pagesize": 30,...
1
vote
1
answer
82
views
Wrong sorting parameter in documentation for question/{ids}/answers
It looks like that in the question/{ids}/answers documentation, there is a mistake:
votes – score
Shouldn't this be
votes – votes
1
vote
1
answer
43
views
The API /tag stats are notably different from the site totals
Why this discrepancy?
--Sep 10 2015 11:26:09 GMT+0530 (IST)--
At that time, the API shows 42010 tags.
But the same thing computed on the Stack Overflow tags page is 44496.
Is it because of caching?
1
vote
1
answer
39
views
Questions returned by /questions/{ids}/related do not contain link properties
The API docs claim that /questions/{ids}/related return question objects, but I can't find a link property on the returned questions at all.
Is there some sort of workaround to find the link for a ...
1
vote
1
answer
91
views
/me API endpoint returning 500 error
I'm making an authenticated call to /me:
https://api.stackexchange.com/2.0/me?access_token=[redacted]&site=stackoverflow&key=[redacted]
But it's returning:
{"error_id":500,"error_name":"...
1
vote
1
answer
48
views
Authentication Statistics are the same for all apps
I know the stats are new, I'm not sure if they are still in development. But they are identical for the 3 apps I have registered, given that the app's id is in the URL of the stats page, I guess the ...
1
vote
0
answers
518
views
OAuth login fails for Stack Exchange and Facebook, but not Google
I'm integrating with Stack Exchange API on iOS 6 & 7. To authenticate, I load up a UIWebView with the OAuth page. Google login works well, but Stack Exchange and Facebook do not. Are these ...
0
votes
1
answer
71
views
2.0 tags API returns only created tags
Searching for tags, using the inname parameter AND a date range returns only the tags that were created in that period, not the tags that were used in that period. When searching by inname only, or ...
0
votes
0
answers
45
views
`/me/associated` gives ambiguous/wrong response [duplicate]
This is my associated accounts page. No where I can see Meta Stack Overflow profile. But when I run /me/associated with meta_site as parameter to types, I get a response that tells me that I have a ...