All Questions
300 questions
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 ...
30
votes
1
answer
1k
views
Announcing API version 1.1 and Roadmap
As has been announced on the blog, we're rolling out a minor revision of our existing read-only API.
While the blog post gives some high level details, I figured [app] developers would appreciate some ...
20
votes
3
answers
485
views
Is there an API to upload images to SE's imgur installation?
Is there an API for uploading images to the StackExchange-specific imgur installation? I could use the main imgur site, but they don't keep the images indefinitely.
Use case: It would be ...
15
votes
4
answers
726
views
Version 1.0 released 9th of July
For a lot of us, that would be next Friday.
At some point - most likely after noon PST - version 0.9 of the API will be replaced with the final 1.0 release.
There are no expected interface changes ...
15
votes
1
answer
2k
views
Unable to get access token
I am trying to get a non-expiry access token, like so:
https://stackexchange.com/oauth?scope=no_expiry&redirect_uri={{some_uri}}&client_id={{some_value}}
I am repeatedly getting the error:
...
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 ...
12
votes
2
answers
185
views
How to get data related to Winter Bash?
I was thinking of creating a nice question on Programming Puzzles & Code Golf related to Winter Bash 2014, but I need some specific data for that question - The number of hats of each user.
Is ...
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
2
answers
1k
views
Why does this Stack Overflow API query return binary data?
The Stack Overflow API query
http://api.stackoverflow.com/1.1/search?tagged=javascript&intitle=%3Cdiv%3E
returns what appears to be binary data:
���I�%&/m�{J�J��t��$ؐ@�������iG#)�*��eVe]...
10
votes
1
answer
4k
views
Get questions content from StackOverflow API
I need to get the question content from StackOverflow site.
I already built the functions that parse the HTML for a question, and return me the question content.
But, I found that there is an API, ...
10
votes
1
answer
4k
views
What exactly is a valid OAuth domain name for registering your app?
I'm starting to write a native Android client for Stack Overflow, and wondering what exactly is a valid OAuth domain name?
Is it the package name of my app?
Or do I have to point it to a server ...
10
votes
1
answer
1k
views
How to delete apps in StackApps?
I have registered an app in Stack Apps. I am trying to delete it, but unable to find the solution. Is there a way to delete it?
9
votes
2
answers
9k
views
Why can I access the API from a browser but not wget?
If I try to access the following from firefox everything works even if I'm not logged in
http://api.stackexchange.com/2.0/users/19068?order=desc&sort=reputation&site=stackoverflow
However
...
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
3
answers
235
views
Roadmap - any update?
So now it's 2011 and we should be getting some API updates. As a company you must have some kind of plan. So can you either say the API is never going to be updated or give a time frame to at least a ...
9
votes
1
answer
1k
views
My registered apps are not showing in my profile; where can I find them?
I registered two apps in Stack Apps, but when I access my account, it shows no registered apps.
How can I mark them as my apps and how can access app settings (client id, key), etc?
9
votes
1
answer
171
views
Is there any support for Area 51 in the new API?
Does the new API support Area 51? Will there be support in the future?
9
votes
1
answer
4k
views
List all tags in use on stackoverflow
I am trying to list all tags used on stackoverflow here: http://api.stackoverflow.com/1.1/usage/methods/tags and I cannot seem to list all.
How do I do it?.
8
votes
1
answer
2k
views
Making use of the *"has_more": true* json attribute in the Json response from stackoverflow
When issuing requests to the stackoverflow-api, I set the pagesize to a 100 (which is the maximum possible). However, some json responses contain this attribute (normally at the very bottom):
"...
8
votes
1
answer
1k
views
How can I quickly get an access token for personal use?
Registering your application or script gets you a higher daily quota and is fairly simply; a step by step guide is documented here: I only need a key, what do I do?
However, what if I do want an ...
8
votes
2
answers
788
views
What is the right way to create a Stack Exchange API filter?
I'm trying to create a filter by following the documentation, but a few things are quite unclear:
How do I create a filter that does not have a base filter?
I'm creating a filter without a base so I ...
8
votes
0
answers
72
views
We’re collecting feedback on how we can improve the Stack Exchange API
The Stack Exchange API allows users to programmatically query and connect to the Stack Exchange Network of sites.
The API is currently in version 2.3. We’re collecting feedback from users of the API, ...
7
votes
1
answer
186
views
How do I get my total reputation score using the API?
How do I get my total reputation score?
My score is 354, on Stack Overflow, as per my user page.
I browsed the API, and found a call similar to what I require:
api.stackexchange....
7
votes
1
answer
550
views
No website (yet), how to register?
I just started developing a Stack Overflow client, and wanted to add authentication. I found out I needed to register for that and wasn't sure if it was okay to register your app when it is not yet ...
7
votes
0
answers
119
views
API Parameters: Consolidated Observations
This wiki question is meant to be a central location for observations and suggestions in the interest of shaping the API meta data.
Perhaps items can be removed when accepted and resolved as ...
6
votes
2
answers
435
views
Odd String Format Result from API Call
I'm just getting started messing around with the SO API. I haven't worked with JSON before, and I am getting a strange result from a basic call (No API Key).
WebClient stackClient = new WebClient();
...
6
votes
2
answers
360
views
How to get a User's picture (Avatar)
I've seen a couple of Stack Apps that have the actual picture for the user profile. Is that coming from the API, and if so how? If not I'm assuming they are using some screen-scrapping to get that ...
6
votes
1
answer
149
views
Access for Statistical Analysis using the Stack Exchange API
We are small company in Malaysia and intended to do a small research to analyze technology trends. We would like to use the Stack Exchange API for this purpose but we are afraid it might get detected ...
6
votes
1
answer
72
views
Does the API have a method to get the total favorite count of a question?
Like it says in the title, is the total favorite count of a question exposed anywhere via the API? I know about the favorites method, but that looks like it will give you the specific favorites of a ...
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=...
6
votes
1
answer
106
views
How to access global stackexchange user favourites in a feed?
I was looking for a way to IFTTT my questions, and found this recipe, that automaqically saves your favourited questions to Evernote. Nice. It uses stack2rss (thus the SE API) to provide a feed with ...
6
votes
0
answers
79
views
How to get unread reputation changes via the API?
I want to write a desktop widget that checks the Stack Exchange API every several seconds and tells me if there are any new reputation changes. I can't figure out what API method I can use for that.
...
5
votes
1
answer
132
views
How to get total visited days and consecutives of an user?
I checked docs , there are no endpoints to get total visited days and consecutive days. Is there any way to get them?
5
votes
1
answer
356
views
Is the Stack API daily quota of 10,000 a hard limit, or can it be increased?
We are developing an indexer that will be used to store and serve up questions/answers related to our products. The indexer uses a key (and soon an access_token) to retrieve the data from Stack ...
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
118
views
404 "This Method cannot be called this way" when getting user's inbox
I'm doing a POST request to https://api.stackexchange.com/2.2/users/<id>/inbox to get the users' inbox items.
However I'm getting a 400 error on the request, and a JSON body saying it was a 404 ...
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
169
views
What timezone is used in the API?
When a timestamp is used, for example the fromdate parameter in /questions, what timezone are dates in? Is the number supposed to be in milliseconds or in seconds?
To get the current time to pass as ...
5
votes
1
answer
162
views
How can I implement a method to call the SE API that handles backoff correctly?
I'm writing JavaScript (Node.js) code that calls the Stack Exchange API. One part of the API is that it may return a non-zero value for backoff, which essentially means "wait n seconds before ...
5
votes
1
answer
128
views
What is the latest version of the Stack Exchange API?
What is the latest version of the Stack Exchange API and its release date?
The document which I referred is for v2.3.
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&...
5
votes
1
answer
75
views
Which reputation events are private?
I've been reading the API documentation on retrieving a user's reputation history (docs/types/reputation-history)
and Stack Overflow's description of how reputation is calculated.
But, I can't find ...
5
votes
2
answers
150
views
Prefered way to retrieve all search results
I'm trying to figure out a reliable way to retrieve all the results from a search query (in subsequent pages. My use case includes cases with more than 100 results (the maximum page size).
Looking at ...
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?
5
votes
2
answers
441
views
Is Stack API blocking Yahoo YQL services?
I was hoping to create OpenTable definitions for Stack services to use YQL, Yahoo's SQL to the web thing. It would have been interesting for experimenting, but also for mashups.
Unfortunately, it ...
5
votes
1
answer
198
views
Is there a way to specify how long I want an access token to be valid for?
I am following the explicit authentication path. I am not passing no_expiry as part of the scope.
After the final POST step, I receive back an expires value of 86399 (just shy of a full day).
It ...
5
votes
1
answer
148
views
The StackWrap4J java wrapper gives nothing but `JSONException`s?
I'm using the StackWrap4J java wrapper for the Stack Overflow API.
But every code I try, that uses methods of this java wrapper, ends with this JSONException:
net.sf.stackwrap4j.json.JSONException: ...
5
votes
1
answer
108
views
Using OR with featured questions
My question is similar to: Getting questions that have a specific tag or tags?
What I am trying to do is get a list of Featured questions within a list of tags. I have tried using the following:
...
5
votes
1
answer
320
views
Is there an offline copy of the API documentation?
I'm trying to find a way to get all the information in the API in one printable PDF,
complete with the examples given in the documentation.
Is there anyway I can do this?
5
votes
1
answer
531
views
How to register application for API implicit authentication?
I am working on an applet to for Cairo-Dock, to check the user's StackExchange inbox. Right now I've worked around this by using the genuwine json feed, but that's not stable since posts are marked as ...