Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions about the Stack Exchange API *only*. If your question concerns any other API, do not use this tag. For bugs, please (also) use the version tag, EG [api-v2.2], that the bug applies to.
35
votes
Accepted
Looking for a beginner's tutorial to using the API
Beware that you currently cannot duplicate much of the functionality of Stack Overflow, using the API. … The (public) API is mostly read-only, and none of the Review or Moderation operations are supported.
Update: Many new write/post methods were added with API version 2.2.
See the API Change Log. …
12
votes
Accepted
My registered apps are not showing in my profile; where can I find them?
You can see your apps, that you registered with the registration page, by going to:
stackapps.com/apps/oauth
This page is different for every user and you will be forced to log-in to see it.
Th …
11
votes
Accepted
Unable to get access token
Refer to the Stack Exchange API, Authentication docs. It looks like you are trying to authenticate using either a server you do not control, or a local server that is not on the public internet. …
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 …
11
votes
Accepted
How to delete apps in StackApps?
How to delete an OAuth (2.0) API key?
(Theoretically, if those feature requests get enough upvotes, they might get some developer love.) …
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,
…
9
votes
Accepted
Can the redirect_uri contain port number?
Then in your app, perform the explicit OAuth 2.0 flow with API interactions like the following example:
Send the user to: https://stackexchange.com/oauth? …
7
votes
Accepted
Why is /questions API returning deleted questions?
. ;)
Confirmation info:
You can see this behavior (for now) with this API search: /2.2/questions?fromdate=1466553600&... … According to:
Enable searching with deleted:1 for 10k users
10K+ users can [still] search any user's deleted content
This behavior should not be allowed as the API doesn't know that I'm 10K (I'm not …
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 p …
6
votes
Accepted
Access for Statistical Analysis using the Stack Exchange API
For analyzing large chunks of data, don't use the API. Use the Stack Exchange Data Explorer (SEDE), that's what it's there for. … For anything more, contact the API team and negotiate for special access. …
6
votes
Accepted
API throws improper error when "date" parameters are the same
Or, more precisely: fromdate=1424131200&todate=1424217600
Additional buginess:
The API erroneously gives an error (and an unhelpful one too) if fromdate and todate are the same, but it also appears …
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. … You can get every question asked each day on Stack Overflow with only 78 API calls‡.
Polling every 10 minutes only takes 144 API calls. …
5
votes
Accepted
Is it possible to access data in real-time using the Stack Exchange API?
The API developer confirms that that is about as "real time" as the API is ever going to get ("Status by design"). … The API seems to be designed around reasonable request rates and volumes of traffic.
Note that that 60-second caching does not currently apply in all cases, like the /events path. …
5
votes
Accepted
Possible to get a user's flag history?
(as of API version 2.2). … Flagging history is especially problematic as deleted items (The result of many successful flags) tend not to show in the API. …
5
votes
Accepted
No website (yet), how to register?
Reference:
Stack Exchange API Authentication
Looking for a beginner's tutorial to using the API
Yeah the registration form now says, "Website URL is required". …