You need help with the use of the Stack Exchange API, apps built on the API, or assistance building scripts that work on Stack Exchange websites.

learn more… | top users | synonyms

1
vote
3answers
138 views

API not returning anything near the actual website

The API /questions page is not returning anything like the list of questions on the actual SO site. This is the first question of the 0.8/questions { "total": 705769, "page": 1, "pagesize": ...
2
votes
2answers
188 views

Do I need API key to use StackAuth API?

StackAuth sites doco doesn't mention that it requires an API key and there are no X-RateLimit-Max and X-RateLimit-Current response headers on the request. At this stage I am passing my API key just ...
1
vote
1answer
97 views

How to control vote count for individual user?

How do I find if user has already voted for a particular question/answer?
2
votes
0answers
104 views

How the apps-libraries will be judged for the contest?

Do you know how the apps-library will be judged in term of awesomeness? Is there something more official than Jeff Atwood's contest post on the blog?
1
vote
0answers
70 views

Why have routes /badges/name and /badges/tags been favored over respective query parameters for /badges?

I realize that the API is frozen, hence tagging this as support rather than feature-request or bug - I'm irritated about the two routes /badges/name and /badges/tags: They seem to simply filter down ...
2
votes
2answers
114 views

How to mimic search behavior of Stack sites?

I want to mimic the behavior of the search field that can be found on all Stack sites. How should I do this? Filter by tags if all words (how exactly is this detected?) in the query are tags. ...
2
votes
1answer
110 views

Eligibility for the competition?

I notice in the blog post that to be eligible for the comp you need to be listed in the App tab. What is the criteria to get listed on that tab? My app is tagged correctly and I think I am using the ...
8
votes
1answer
371 views

Should we add a “this site is not affiliated to Stack Overflow..” disclaimer to our website app?

I've checked legal section but it does not say anything specific of this aspect apart from: Do feel free to explain that your product is built on the Stack Exchange platform so people understand your ...
1
vote
1answer
90 views

when/if/how/why do non-trilogy Stack Exchange sites aquire/provide API access

So I am looking at http://mathoverflow.net, trying to blow some cobwebs out of the dark corners of my brain that used to house some not-insignificant abilities and found myself wondering about API ...
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 ...
0
votes
1answer
152 views

Best way to calculate total badge count in Javascript?

I'm using Javascript and JSONP and want to find-out a user's total badge-count (i'm not using any libraries). At first I naively added up the badge counts individually, but some user's have no ...
0
votes
2answers
54 views

Why do some ranges have so many values?

Why do some ranges have so many values? For example: [0, 2,147,483,647]
0
votes
1answer
73 views

What characters won't be in question->body?

This might seem kinda strange, but what printable ASCII characters am I guaranteed not to find in the body member of a question / answer?
2
votes
3answers
103 views

Ideas for dealing with this pagination problem?

Okay, here is the problem: Certain questions contain more than one page's worth of answers. Given a sort method and an answer id, how can we figure out which page the answer is on? Any suggestions ...
6
votes
1answer
581 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 ...
0
votes
2answers
104 views

Would the following image be allowed?

In the guidelines for using the SE logos, it says: Do not distort or alter our logo in any way Does the following logo do that?
4
votes
3answers
208 views

My App unintentionally DoSed api, and my IP got blocked across all the sites, now what should I do?

I put a program in cron to run every 5 minutes, and that program loop 5 times and read each api site 12 seconds interval. But last night (12 hours ago), I noticed that my program broke and there was ...
0
votes
1answer
272 views

What's the best way to mashup a social network with StackOverflow?

I’m experimenting with an integration project where I mashup a user’s LinkedIn connections and StackOverflow activity. Are there any relevant APIs on StackOverflow that could be used to integrate ...
8
votes
1answer
144 views

Where did the “apps” tab disappear?

I may just be missing something, but there used to be an "apps" tab on the main page, which showed you a (sorted by vote) list of all the apps and libraries. I can't find it anymore. Where did it ...
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
0answers
33 views

How should I understand “timeline_type”: “votes” record in question timeline?

Take a look at the partial results of this query: { "timeline_type": "votes", "post_id": 2544061, "creation_date": 1269993600, "owner": { // omitted for brevity }, "action": "7 ...
1
vote
0answers
66 views

What's the default fromdate for the /users/{id}/reputation route?

I'm getting different amounts of positive-rep when I use the fromdate and todate parameters with the /users/{id}/reputation route than when I don't use those parameters and accept the defaults. I ...
0
votes
1answer
74 views

Can I change my user profile using the API?

It seems the API just allow me to retrive public information, but... is it possible to change, for instance, my "about_me" information using the API?
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, ...
5
votes
1answer
245 views

URL Length Limit For For Requests Taking Vectorised Ids (/answers/{id}, /questions/{id}, etc)

I am trying to use /questions/{id} API to get a list of questions by their ids. Help page for this request does not indicate the maximum number of ids that can be passed in. Pagesize is maximum 100, ...
4
votes
3answers
141 views

How do I get the ten reputation required to post an image for my app?

Funny that in order to enter and include a screenshot, you need ten reputation points. Go figure.
2
votes
1answer
75 views

How to filter getAnswersForUser by tag?

I'm using Stackexchange java client lib I wanted to get a little more statistics but the following snippet returns only 30 answers. Do I need to to register for an API key, or just use ...
11
votes
1answer
157 views

Is it safe to assume the API will be at api.<DOMAIN>?

I'm writing an application that will eventually allow you to use it for any StackExchange site. Thus, I'm allowing users to input the domains of the sites they want to use (e.g. stackoverflow.com). ...
5
votes
1answer
104 views

Provide a post listing changes to the API?

While it's possible to pick up on many of the changes that are made to the API by looking at every [status-completed] tagged question on here, I'd like to see a single post that's updated every time a ...
6
votes
1answer
741 views

Is it safe to embed my API key into my javascript-only application?

I have an application I'm developing that's pure javascript and consumes the Stack API. My API key is embedded in the source which anyone could read. Is this safe?
7
votes
2answers
193 views

Terms of the use for the API

What are the terms of use for the API? Are there any restrictions in terms of how I can use it, except for access limitations?
2
votes
3answers
134 views

display_name isn't always there (should have OpenID name if needed)

usually in the owner dictionary there is a display_name value to give the username. But in a few questions it simply doesn't exist and I can't see why only those questions: eg, this excerpt from the ...
2
votes
2answers
62 views

What will be rate-limit of two different applications with two valid API keys from same IP?

What will be rate-limit of two different applications with two valid API keys from same IP? Will it be only one of the Key will use? so maximum 10k? Will rate-limit be 20k? When one key API key ...
1
vote
1answer
64 views

Can we have all possible closed reasons in help page?

Can we have all possible closed_reasons in help page and if possible, closed_reason_id, too? For example closed_reason_id=1, closed_reason="exact duplicate", closed_reason_id=2, ...
1
vote
1answer
41 views

Post body is optional field in questions method?

"body": { "description": "body of this post", "values": "string", "optional": true }, Post body is optional field in questions method? Shouldn't all the posts have body field?
2
votes
1answer
32 views

Can API stats return real revision number instead of 1234.5678?

Currently it returns like this "revision": "1.0.1234.5678" And looks like that number never changed. So, Can API return real revision number whenever there is an update? It will be very useful ...
1
vote
1answer
121 views

I can't get a response for /questions/{id} in Chrome Extension

I'm writing a Chrome Extension that queries the API. Using jQuery, I have the following code called from my background page: $.ajax({ url: 'http://api.stackoverflow.com/0.8/questions/' + id ...
1
vote
1answer
55 views

Is the question_id monotonically increasing?

Just wondering: Does the question_id monotonically increase for every new question? Is the question_id unique globally for a deployed app or is it unique in some sub-domain? Is there any relation ...
2
votes
1answer
82 views

Why answers don't have a “locked” attribute?

When looking at an answer, I can see that there is no locked_date attribute, like there is for questions. IIRC, answers can be locked by moderators. Also, if a post is unlocked, is that field ...
7
votes
1answer
368 views

API Key limit 10k is Per IP Address or Globally?

Getting started FAQ says No Key limit is IP Address based, but it does not say for with API Key. When I test my API Key from different IP Addresses, I noticed that 10k limit is globally, limit is ...
4
votes
1answer
79 views

Confirmation on sort, order and min/max

I'd like confirmation, if possible, that the following chart of sort types is correct: sort |orderable|min/max |min/max type ------------------------------------------ activity | yes | ...
3
votes
2answers
57 views

Inconsistency in the handling of multiple IDs with a duplicate

There appears to be some inconsistency in the way multiple ids are being handled, especially when a duplicate exists. Duplicate ID is significant For example, when requesting a timeline of multiple ...
2
votes
1answer
49 views

/users/{id} and /users/{id}/timeline - filter parameter?

Both /users/{id} and /users/{id}/timeline say they take a filter parameter for users' names, but it seems to do nothing. Are they not supposed to be there?
4
votes
2answers
231 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
2answers
206 views

How to get a User Id

Is there a way to get the user id so I can use the method /users/{id} I guess that for security you cannot asked the API give the id of a user with this openid Identification but is there another ...
4
votes
1answer
460 views

What is the syntax for specifying parameters?

How do I specify a parameter in the URL? http://api.stackoverflow.com/0.8/questions works as expected. Then I would like to pass parameter body with a value of true (that is available according to ...
6
votes
2answers
167 views

What are the min and max parameters?

Several of the api methods (e.g. questions) have min and max parameters with the following description: min (optional) Minimum of the range to include in the current . number ...
3
votes
1answer
139 views

Is dev.meta.stackoverflow.com gone?

Sorry If I am posting in wrong place, but when I try to login to dev.meta.stackoverflow.com today, I got password protected page and looks like previous password is not valid anymore.