14
votes
Stack Exchange thinks that Shog is a elected moderator
Funny story...
When I first joined the team here at Stack Exchange, Jeff just went around on the trilogy sites and made me a moderator... And he used the "elected" route instead of the "...
11
votes
What exactly is a valid OAuth domain name for registering your app?
The OAuth Domain is either:
A valid domain that you own and control, and that is hosted somewhere the client can reach. Say, for example that you owned unicorns.mil.
See this answer and this answer ...
9
votes
Accepted
Can the redirect_uri contain port number?
You got that error because you set the OAuth Domain like example.com:8080, not the redirect_uri. That's not how you configure non-standard ports; see below.
The redirect uri, with port, feature now ...
9
votes
Accepted
How do I get my total reputation score using the API?
Just use the plain /users/{ids} route. (For network-wide score, see the bottom section, below.)
if you run it on your userid, it currently returns:
{ "items": [ {
...
"reputation": 354,
...
8
votes
Accepted
How can I quickly get an access token for personal use?
It's possible to authenticate yourself via the command line; there's no need to set up a website or so.
Open the application page via https://stackapps.com/apps/oauth and make sure the option 'Enable ...
7
votes
Accepted
How to create API filters?
You can create and edit filters from the documentation page of the API endpoint.
So you start at the Index of all endpoints. There you'll find /users/{id}/answers.
On the right at the top of the ...

rene♦
- 2,382
7
votes
Accepted
Why is /questions API returning deleted questions?
Confirmed; see bottom section, below.
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. And ...
7
votes
Accepted
How to get total visited days and consecutives of an user?
You cannot get the days visited, nor consecutive, information for a user because that is private information(Poster is SE representative).
Stack Exchange is supposed to be about the content, not the ...
6
votes
Is the Stack API daily quota of 10,000 a hard limit, or can it be increased?
See How API Keys Work. It's six years old, but a leading API developer said:
... If you can demonstrate a need for a higher request quota, contact us.
However, the Key limit should be ...
6
votes
Stack Overflow for Teams support
Unfortunately, the Free Tier Stack Overflow Team does not have access to APIs. You will not be able to create a PAT if you only have a Free Tier Team assigned to your account.
5
votes
Accepted
Can I get information about a user with their network ID?
You can use /users/{ids}/associated
Try it for your network account
Returns all of a user's associated accounts, given their account_ids in {ids}.
{ids} can contain up to 100 semicolon delimited ids,...

rene♦
- 2,382
5
votes
Accepted
How to increase app request quota from 300 to 10,000?
You are using the "Javascript SDK" and that's not how it works. The doc page calls the SDK "small and minimalistic". The source code states:
This file is provided to API clients to ...
5
votes
Accepted
Bug with `badges/name` endpoint
I don't know for sure what the original problem was, but the most recent issue was a result of implementing a new badge without rebuilding the API. Once the API was pushed to production, the bug was ...
5
votes
Accepted
Is the StackExchange API free of charge?
It is completely and unconditionally free. (Although there are usage limits, which are described here.)
It is not even necessary to create an account in order to use it. (Although an account is ...
4
votes
How can I extract user information on Stack Overflow using Python and the Stack Overflow API?
The API presents individual features behind individual URLs. The information on the profile page is combined from several sources; to get the details you requested, you will have to submit multiple ...
4
votes
Getting the top answerers/users for a tag in a custom time range?
This is very costly to do in the API and currently impossible for many combinations of tag and date (because it would require more than the 10,000 allowed API calls per day).
I'll write more about ...
4
votes
Accepted
Refresh expired acess token basics
Dealing with token expiration is pretty simple.
When a token is/goes bad then, when you make an API call that uses the token, you will get a JSON response like this:
{
"error_id": 403,
"...
4
votes
Documentation or API method for `option_id` information, for the `/flags/options` API calls?
The original intent of these options is clearly not to enable automated flagging, but rather to allow an application to generate a UI that presents the applicable options to a user who would be ...
4
votes
Accepted
Is there an easy way to get user reputation via API?
The question is not clear. If you just want a user's reputation merely do a GET of the API /users/{ids} route. Like so:
api.stackexchange.com/2.2/users/3528590?site=stackoverflow&filter=!...
4
votes
Please "release" and/or document API version 2.3
Note that version 2.3 has been around since at least Aug 28, 2015 (Date of that answer).
I could have sworn that one of the SE guys said they weren't going to document it, but can't find a reference ...
4
votes
503 errors on batch get questions endpoint
So, you are making up to 150 requests in a 30 second period (10 "parallel requests", with a 2 second pause in between). And failing at 80 to 100+ seconds of operation and 400 to 500 total ...
Community wiki
4
votes
Creating personal applications using Stack Overflow/Stack Exchange API
If you need something for personal use, it doesn't really matter. You can even use example.com, as long as the site doesn't redirect and change the URL. You'll need a browser and a tool like curl. ...
4
votes
What is the latest version of the Stack Exchange API?
The documentation always refers to the latest official version.
At the time of posting, that is version 2.3.
See also:
Please "release" and/or document API version 2.3
API 2.3 Release

rene♦
- 2,382
3
votes
Why is my API quota not resetting after UTC reset?
Update: Evidence now suggests that the API quota rolls over at a unique time for each app. 24 hours after that app-key, plus IP, combination made its first API call.
See this chat message.
The ...
3
votes
Accepted
Why do you need to specify a site when getting the inbox?
You should use /inbox instead, which is a network route instead of a site-specific one. As mentioned in the documentation, the site-specific route is mostly just provided for convenience of consumers ...
3
votes
How to get question body (markdown) in the API response using filters?
The body_markdown field in the question (or answer) categories will give you the markdown.
So, !9YdnSJ*_T would be the filter to get a question with the markdown.
Demo: This question:
API URL: ...
3
votes
Accepted
Is there a way to specify how long I want an access token to be valid for?
Yes, I always get 86399 too. And, no, you can't specify an interval other than no_expiry.
But you can call /access-tokens/{accessTokens}/invalidateDoc at whatever interval you wish.
So, for less ...
3
votes
Accepted
Top answers for a tag is returning user details?
Notice that the route used has /top-answerers/. The doc page states:
Returns the top 30 answerers active in a single tag, of either all-time or the last 30 days.
(Emphasis added)
So, ...
3
votes
Accepted
Reputation_change has the historical total rather than the daily delta?
It's a bit confusing but that is not a bug.
Think of it as, "Reputation change from when to when?"
Since you specified neither a fromdate, nor a todate, you are effectively asking for the changes for ...
3
votes
What is the right way to create a Stack Exchange API filter?
I have struggled with Stack Exchange API filters too, when I tried to incorporate up_vote_count, down_vote_count and view_count attributes in my user response object.
I visited this page of the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
api × 455support × 297
feature-request × 84
api-v2.2 × 57
discussion × 51
bug × 45
questions × 35
documentation × 34
status-completed × 33
users × 33
tags × 32
oauth2 × 28
authentication × 26
answers × 22
api-v2 × 21
rate-limit × 16
search × 15
reputation × 14
filter × 13
api-key × 12
javascript × 10
json × 10
app × 9
python × 9
write-access × 9