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

learn more… | top users | synonyms

3
votes
1answer
137 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
225 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
822 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
331 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
112 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
24 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
194 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
3answers
84 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
224 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
1answer
255 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
2answers
122 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
193 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
408 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
32 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
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
56 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
100 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
50 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
49 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
37 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
50 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
165 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
128 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
95 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
36 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
127 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
98 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
0answers
16 views

Version used by StackExchange API if version is not specified in api calls

I have used some StackExchange API calls in my chrome extension - StackEye. With the release of API 2.0, I want to update the api calls so I wanted to know New things available in 2.0+ which were ...
2
votes
0answers
25 views

Stack Exchange API testing for OAuth application - please ignore (Placeholder)

As seems to be the trend, I'm conducting a number of API tests. A dedicated place for these would be nice - I hate to clutter up the feed with this. So feel free to ignore these and move onto ...
2
votes
0answers
51 views

Stack Overflow test App (Placeholder)

This is a test application playing with OAuth. I have no problems; I'm just trying to get OAuth to work with the Stack Overflow API. There should be some sort of Sandbox accounts so you don't have ...
2
votes
0answers
57 views

StackApps for Windows Phone 8

Can anyone suggest a good app for Windows Phone 8 or let me know Where an I find API to build my own? Thanks.
2
votes
0answers
17 views

Include creator in tag_synonym

When I looked at recent tag synonyms there is a Creator row, but I can't query this data with the API. I'd like to see this data added, and a list of all approves would be nice too.
2
votes
0answers
27 views

Is it allowed to sell an app or get revenue with the use of the API? [duplicate]

I've been reviewing the terms of use of the API, but I prefer to ask my question straight here in order to be 100% sure. Is it allowed to create an app that: is paid, which revenue goes to the ...
2
votes
0answers
41 views

Clarification on related tags for a tag returned by API

I was assuming that the related tags API call, returns all the tags that co-occur with the input tag. But a closer look at the API documentation indicate the following: Returns the tags that are ...
2
votes
0answers
18 views

FAQ's URL for any SE Site?

Since I cannot find anything relevant in the API (I guess /stats endpoint would be most relevant): Is it safe to assume that every SE Site has its FAQ at location: site_url/faq ?
2
votes
0answers
46 views

Would it be possible (in a future API release) to combine queries?

I've been doing a lot of work on StackMobile lately and I made the following observation: Many of the pages (especially the ones that display a user's profile) make a number of requests to display ...
2
votes
1answer
45 views

consistency for array parameters

It would simplify the api and consumption there of if all parameters that accept multiple items used a common delimiter. We have semicolon and space that I know of so far. Eliminating space as a ...
2
votes
1answer
122 views

Guidance on usage thresholds - specifically throttling

I am running a lot of tests and have started to get 403 errors. I am using a key and certainly have not exceeded my quota. Am I running foul of some yet unmentioned throttling threshold and if so, ...