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

5
votes
1answer
106 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
870 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?
1
vote
3answers
162 views

What is the best way to provide support for an unknowable number of StackExchange sites?

I just wrote an app for Chrome extensions and received a request to make it cross-StackExchange compatible. If there's eventually going to be more sites than just the few listed and I don't really ...
4
votes
3answers
142 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.
3
votes
3answers
157 views

Negative voting questions?

I'm trying to, for humorous purposes, check out some of the worst scoring questions ever on SO. I'm pretty much expecting them to all be "heeeeelp homework" or "plz send me teh codez" or something to ...
1
vote
3answers
141 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
66 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
65 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, ...
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 ...
1
vote
1answer
42 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
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 ...
1
vote
1answer
130 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 ...
3
votes
2answers
212 views

What is the correct way to get the stackoverflow.com URL for an answer via the API?

A while ago I made a little "Recently answered on Stackoverflow" sidebar widget for my homepage. Currently this works by filtering answers out of the user feed however I thought I'd update it to make ...
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?
13
votes
4answers
230 views

Prevent that posts tagged with app or library enter Community Wiki mode when the owner edits it 8 times

I've edited my App 8 times and my question has switched automatically to Community Wiki (I'm aware that it's reported in the faq). The main reason of these many edits is my shaky english, but I can ...
3
votes
2answers
58 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 ...
4
votes
1answer
80 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 | ...
4
votes
2answers
245 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(); ...
7
votes
1answer
380 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 ...
2
votes
2answers
96 views

Slow response times?

I'm working with the API, but I noticed requests are quite slow. Each request seems to take between 8-11 seconds. I timed different requests and the time doesn't seem to differ much between search and ...
7
votes
2answers
922 views

Am I accessing the API correctly?

When running the code $.getJSON('http://api.stackoverflow.com/0.8/questions/4', function(data) { // Do some stuff here.... }); I get the error Failed to load resource Am I accessing this ...
4
votes
2answers
230 views

When does a rate-limit day start and end?

After reading the docs/faqs, I couldn't help but wonder... What exactly is a day? When does it start? When does it end? What timezone are you using? In other words, when my app runs out of ...
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 ...
3
votes
2answers
341 views

The API Key does not work

I have registered an app at http://stackapps.com/apps/register, got a Key right away after I have submitted. But now when I request http://api.stackoverflow.com/0.8/stats?key=MYKEY, I got ...
6
votes
2answers
210 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 ...
7
votes
2answers
194 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?
5
votes
1answer
96 views

Getting questions with multiple tags

http://api.stackoverflow.com/0.8/questions/tagged/gwt,google-app-engine returns nothing, but http://stackoverflow.com/questions/tagged/gwt+google-app-engine does have plenty of entries. And ...
6
votes
2answers
170 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 ...
4
votes
1answer
683 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 ...
3
votes
2answers
221 views

Can I apply the API Key first and do the application later?

I don't have an application to submit at the moment, but can I apply the key first?
3
votes
1answer
141 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.
47
votes
2answers
9k views

How to list your application/library/wrapper/script here

If you've created an application, script, or library for use on the Stack Exchange network, that's fantastic! Now publicize it by creating a question with the correct tag: app ...
86
votes
4answers
19k views

API “Hello World” code

The Stack Exchange API is based on HTTP and URLs, just like the web page you're browsing now. Except instead of HTML, the responses are all in JSON. Let's say we wanted to call the /info method: ...