A question about the Stack Exchange API: usage, functioning, guidelines, etc.

learn more… | top users | synonyms

3
votes
1answer
86 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 ...
3
votes
1answer
43 views

Typo in API docs: “temporarility_unavailable”

https://api.stackexchange.com/docs/authentication "temporarility" should probably be "temporarily"
3
votes
1answer
142 views

Do I need permission to use the SE API for a commercial app?

I recently developed a mobile app using the publicly available API of one of the Stack Exchange sites. Do I need to obtain permission from Stack Exchange before releasing the app to the public? Can I ...
3
votes
1answer
63 views

API search page size limit mismatch

The 1.1 API help text for search says that the pagesize parameter can go up to 100. Indeed, passing a value up to 100 returns some results, while passing pagesize=101 yields an HTTP 400 status (Bad ...
3
votes
2answers
239 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 ...
3
votes
1answer
40 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: ...
3
votes
1answer
839 views

Wrong content-type in JSONP calls

When passing jsonp parameter, the API returns "application/json" instead of "application/javascript". I found this because if you do: <script ...
3
votes
2answers
358 views

What is the throttle interval or threshold?

Resolution: I have confirmed that a constant interval of 170 ms will run without error. // 30 per 5 sec = 6 per sec = interval 166.6 ms Soapi.RequestQueue.setInterval(170); ...
3
votes
1answer
116 views

AND searching for tags?

I am using the search api to search for questions that are tagged with "tags" and not with "tags". However I have noticed that searching for tags is an OR search. The questions search for tags is an ...
3
votes
0answers
12 views

/associated should include user's display name and the api_site_parameter

/associated should include api_site_parameter The /associated routes return the site_name and site_url but not the api_site_parameter. It would be useful if it did because api_site_parameter is ...
3
votes
0answers
20 views

top-answerers / top-askers documentation bug: number of results returned incorrect

The top-answerers-on-tags and top-askers-on-tags documentation claim: Returns the top 30 answerers active in a single tag, of either all-time or the last 30 days. and Returns the top 30 ...
3
votes
0answers
29 views

Please add a “self answer” flag to the answer results/object

Is there an easy way to tell if an answer is from the question poster? I'm working on Blaze, and I'm grabbing answers from the /answers method. I'd like to indicate if the answer is from the question ...
3
votes
0answers
47 views

SE API V1.1 documentation, date errata

The Stack Exchange API, version 1.1, documentation is ever so slightly confusing wherever Unix timestamps are mentioned (perhaps any ranges, I haven't dug too deeply) For instance: todate – Unix ...
3
votes
0answers
66 views

API v1.1 users call returns association_id for which the Stack Exchange web site has no profile

For a particular user, the users API v1.1 call returns an association_id that gives a "Page Not Found" error where the Stack Exchange profile should be, though their Stack Exchange profile can be ...
3
votes
0answers
37 views

All updates (answers, comments etc) using stack exchange API

Is there anyway to get information about any change using the stack exchange API's? i.e. if someone leaves a comment or votes on an answer/question? checking for answer changes is easy cause its a top ...
3
votes
0answers
204 views

Stack Tunnel - WebGL Visualization for Stack Exchange

Stack Tunnel Screenshots About StackTunnel is a WebGL visualization which displays the latest questions from any Stack Exchange site interactively within your web browser. You can click on the ...
3
votes
0answers
220 views

PyOverflow: Account statistics for Stack Overflow for Ubuntu!

I was bored, and I wanted to play with the API, so I came up with this little script: It's coded in Python and has only a single image dependency. Here is a screenshot: Here's the source code ...
3
votes
1answer
1k views

SIlverlight 3 ClientHttp vs BrowserHttp stack: no cross domain policy means no gzip for Silverlight

I notice that even if I send accept-encoding=gzip the response does not seem to be compressed. ( it is late and i was conflating 'accept' with 'accept-encoding') Should we expect, in the 1.0 ...
2
votes
1answer
258 views

Strange encoding for JSON output

I'm trying to create an R API. Here's some basic code for processing JSON: library(rjson) fromJSON(readLines("http://api.stackoverflow.com/0.9/stats/", warn=F)) As I look into this, the output of ...
2
votes
3answers
86 views

Method /users/{id} doesn't return “about_me” if the user has never modified it

See title. When a user never modified their "about me" section the API doesn't return that, which then causes my parser to go wild returning errors. However, when a user has modified their "about ...
2
votes
1answer
228 views

Retrieving list of c# questions

I am trying to retrieve list of c# questions using http://api.stackoverflow.com/1.0/questions?title=true&tagged="c#". But I get JSON response related to c questions. Response : { "total": ...
2
votes
2answers
125 views

User “authentication” (validation?) in V1 of the StackExchange API

In a previous question, it was asked whether it is possible to authenticate a user through the Stackoverflow API? The short answer was no, not until version 2. Now I would like to know: is there any ...
2
votes
2answers
199 views

Is there an api to post questions without using the websites interface?

I wanted to post questions after a proper user authentication explained here. Is there anyway I can do this?
2
votes
2answers
91 views

Why does Stats Return a Statistics Array

Why does the stats API Call return an Array instead of just an object? Example Response: { "statistics": [ { "total_questions": 723903, "total_unanswered": 114097, ...
2
votes
1answer
66 views

Is it possible to access data in real-time using the Stack Exchange API?

I want to show an animation of: Questions being asked and answered in the most popular tag Comments being posted New users joining All in real time. Is there access to real-time data?
2
votes
1answer
763 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, ...
2
votes
1answer
33 views

Possible to return newest questions with a certain tag?

I am not finding a way to return a list of new questions by tag with the new stack exchange api. Am I missing something or is this not available? If this is not available, I most certainly request ...
2
votes
1answer
24 views

Syntax for Adding a Question as a Favorite?

I would like to be able to have my application make a request to the Stack Exchange API to favorite a question for the current user. The API specifies that this can be done via: ...
2
votes
1answer
46 views

/users/{id} and /users/{id}/reputation disagree over +2 accept-answer bonuses

I am using the 2.2 API to display user stats by quarter, but I also want to display reputation changes between any 2 dates. I use the /users/{ids} API to get the summaries. For example, user 2403309 ...
2
votes
1answer
28 views

Is there a way to get the edit URL for a tag wiki from the API?

I've been playing with a little webapp for tags of a certain kind for travel.SE (current pre-alpha version gist on github). One thing I would like to do is add links for the various tag-related ...
2
votes
1answer
63 views

Are there any plans to add Inbox functionality to SO API?

So, 3rd party applications will be able to notify users about new answers and comments.
2
votes
1answer
104 views

Has anyone *implemented* the Stack Exchange API on top of a public database dump?

It seems that the public database dumps contain nearly all of the data required to respond to API queries. Has anyone implemented the API, backed by a copy of the public database dump? It would ...
2
votes
1answer
25 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 ...
2
votes
1answer
73 views

Why am I getting a 404 when trying to post a comment?

I'm dabbling around in /posts/{id}/comments/add, and I'm trying this query: ...
2
votes
1answer
57 views

Get questions with body and answers

How can I get the latest 30 questions with body and answers using the api? And then, I want to get only first most voted 3 answers for each question. Is this possible with only one request? To get ...
2
votes
1answer
42 views

Top questions by tag and period

I want to get via API the most voted questions from the latest week (for example) from a specified tag (php, for example). How can I do this?
2
votes
1answer
38 views

Is question_id unique across all stackexchange sites?

The standard structure of a question URL is: http://site.com/questions/question-id/title Example: http://stackoverflow.com/questions/457927/git-workflow-and-rebase-vs-merge-questions It is ...
2
votes
1answer
45 views

Answers without owners

Is it valid for StackOverflow data to have an answer that does not have an owner? For example if you hit the following API url http://api.stackoverflow.com/1.1/answers/18, it does not bring back an ...
2
votes
1answer
51 views

List of possible values for user_type on API for users

I'm starting to work with the API and I see on the call to retrieve a user or multiple users one of the fields that is returned is user_type. So far I have only seen a value of "registered" come back ...
2
votes
1answer
170 views

Using the API directly from JavaScript

Is there any way I can use the API directly from JavaScript without any Server side proxy? I know of the inter-domain restrictions, but can we do it somehow in case of facebook API right?
2
votes
2answers
129 views

StackApps API is down.

It seems to not be responding to any request. * at least according to downforeveryoneorjustme.com Update: seems like all the SE sites are down :(
2
votes
1answer
96 views

Top questions/answers

Is there a way to get a list of X questions/answers with the highest votes up, visits, etc? Say I want to get the list of most voted questions in .NET category (tag) or Java. Thank you.
2
votes
1answer
80 views

CodeTipper - Easily reward quality content with BitCoin, DogeCoin and LiteCoin tips!

CodeTipper https://codetipper.com About CodeTipper provides an easy way for you to express your appreciation for the quality advice, and expert assistance that Stack Exchange users provide ...
2
votes
1answer
133 views

API returning character entities in JSON

I noticed display names in the JSON contain HTML character entities; e.g. /2.0/users/718618?order=desc&sort=reputation&site=stackoverflow Gives me: { "items": [ { "user_id": ...
2
votes
1answer
35 views

Better way to find activity changes in terms of API Usage

I am coding an application that notifies events in Stack Exchange accounts. I want to notify about badges/reputation changes, and also I would like to notify whenever a new answer or comment is posted ...
2
votes
1answer
55 views

Are these requests guaranteed the return the same results?

Going over the API, there seems to be some overlap when it comes to expressing a predicate in a URL. For example, let's say I want to fetch some questions from stackoverflow.com that have the tag ...
2
votes
1answer
99 views

what is the url for a *.stackexchange site's api?

from my understanding, the documentation suggests that we can use the api against any current *.stackexchange website what would be the url for the api for one of these ? e.g. ...
2
votes
1answer
71 views

Retrieving a post with a specific ID

According to this question (and its answer), questions and answers are using the same index to determine their ID. In other words: Question with ID #1 Answer with ID #2 Answer with ID #3 Answer ...
2
votes
1answer
131 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 ...
2
votes
0answers
22 views

How switch user accounts on the same device?

The Problem I'm integrating Stack Exchange API on iOS (iPhone). I've run into a situation where I can't log out and authenticate with a different account. I am stuck with the first account that I ...