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

3
votes
1answer
142 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.
2
votes
1answer
119 views

Will the new traffic measuring formula be available via the API as well?

From this MSO answer: stackexchange.com/sites was just updated today to use a new formula for traffic. Area 51 is still using the old formula, but will be updated soon to use the new formula. ...
12
votes
1answer
672 views

Registering app for API 2.0 key without Oauth domain

I'm trying to register an app, but it states that I need to add an OAuth domain. But I have Enable Client Side OAuth Flow disabled, because I don't need it right now. I basically have two questions: ...
8
votes
3answers
192 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 ...
5
votes
0answers
83 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 ...
4
votes
1answer
907 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
229 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?
2
votes
1answer
27 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: ...
2
votes
1answer
199 views

What are the mechanics of private API beta badge/reputation rewards?

Update: George Edisons comments appear to explain most issues raised here (if not all), so I reformulated the question to reduce the noise and allow for an answer accordingly. I have considered to ...
1
vote
1answer
295 views

Offline cache of the API - for when the developer has no internet.

Is there some fake API program that "simulates" the API? Just I'm going on a long car journey tomorrow, and I won't have an internet connection on my laptop and don't want to waste the whole journey ...
1
vote
3answers
166 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 ...
6
votes
0answers
144 views

How to get the count of a query efficiently

To get the count of a query without returning results, simply specify pagesize=0. http://api.stackoverflow.com/0.9/users?filter=mike&sort=name&pagesize=0 { "total": 1161, "page": 1, ...
5
votes
1answer
38 views

Do calls on the 1.1 API and the 2.0 count against each other's limits?

Do the old 1.1 API and new 2.0 share limits? Or do my StackApps running on 1.1 calls not affect my limits for apps running on 2.0 calls?
5
votes
1answer
1k 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?.
5
votes
1answer
460 views

Is it possible to authenticate a user through Stackoverflow API?

Is it possible to use the Stackoverflow 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? ...
4
votes
1answer
54 views

How to use Stack Exchange WebSockets?

I am developing a Visual Studio Extension where I would be knowing about the activity on my posts. I found out that wss://qa.sockets.stackexchange.com is used for this purpose. Can somebody help me in ...
4
votes
0answers
59 views

How do I grab the CSV from a Data Explorer URL?

I'm building an app that works by users punching in big lists of questions. And I want them to be able to use the Data Explorer to create these lists. My preferred way of getting the data would be a ...
4
votes
1answer
108 views

Area51 does not show up in the associated accounts query

Is this on purpose and if yes why?
4
votes
2answers
228 views

rate-limit per endpoint per IP VS. server apps in hosted environments

I was wondering if the scenario of a server based app that lives in a hosted environment, where a single IP can be shared by many web sites. As I understand the rate-limit as it stands, every site on ...
4
votes
1answer
74 views

What is the rational behind the chosen /sites styling info?

I was wondering why the chosen styling data is provided though the API. It makes sense to provide it, but I feel like we are only getting part of the information. "styling": { "link_color": { ...
3
votes
1answer
29 views

Limiting the number of items returned by a request?

How can I limit the amount of items returned to me when performing an API call? I only want the top 10 most commonly used tags, by default I'm sent back 30. EG: ...
3
votes
1answer
78 views

Request for script, or fix, to add Edit-Reason checkboxes

I've found a Stack Exchange userscript which looks GREAT - it would make things so much easier for me: The Edit summary options script Unfortunately, it doesn't work at all! I'm not sure why. My ...
3
votes
1answer
104 views

Do I need Stack Overflow's permission to launch my iOS app for Stack Overflow?

I have a Stack Overflow app for iOS that doesn't use the API. It just uses search and web (scraping?) to display questions. Do I need to get approval the from Stack Overflow team?
3
votes
1answer
52 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?
3
votes
1answer
105 views

How do I parse the dates from the API?

I see that JSON returned by the API contains dates in the following format: "creation_date":1364546475 ^^^^^^^^^^ What's the meaning of it? How can I parse it to get the date in the ...
3
votes
0answers
40 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
2answers
226 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 Stack Overflow" 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
55 views

How to calculate users, who have posted (question/answer) using specific tag?

For example, if I want to know the number of users who asked and answered about PHP. Currently, I can just get the list of questions and its total number, but it's not enough, because one user could ...
2
votes
1answer
41 views

Role of “preview” in “/questions/add”

To post questions using Stack Exchange API, I am using /questions/add. What does parameter preview do, i.e., if we set it to true/false, what behaviour would it give?
2
votes
0answers
63 views

What's the proper way to fetch the score of all answers of SO?

I wrote a small program querying the SE API to grab the public scoring data of all SO answers (excluding the last 3 days). Basically the request I do gets me this: Questions[]: Id Title ...
2
votes
1answer
54 views

What is the difference between accepted and is_accepted?

I saw there are two fields in answer type. One is accepted, introduced in v2.2 and needs private_info access. While another one is is_accepted without these limits. Can somebody give an explanation? ...
2
votes
1answer
26 views

How to get up_vote_count and down_vote_count for a user?

I'm testing the following command: $ curl -s "http://api.stackexchange.com/2.1/users/55075?&site=stackoverflow" | gunzip -d | python -m json.tool However it doesn't return up_vote_count and ...
2
votes
1answer
72 views

Unable to download data from the API using UNIX wget?

I want to download the JSON data from this sample API call into a file. I tried using wget, like so: wget -O ~/ks/json.txt ...
2
votes
0answers
167 views

OAuth2 Authentication Redirection error in PHP

I'm trying to authenticate into Stack Exchange's API with the following URL: ...
2
votes
1answer
87 views
2
votes
1answer
35 views

How can I re-authenticate StackAlert Addon

Recently I removed StackAlert Firefox addon from my apps list in StackExchange. Now when I reinstall it, it is not authenticating and giving message key is not valid for passed access_token.. How ...
2
votes
1answer
176 views

How do I get a GreaseMonkey/UserScript to interact with the Live Preview?

I've converted a script that I hope to get embedded on a StackExchange site (Lego Answers) to a GreaseMonkey/Userscript but I'd like to get it interacting with the live preview when creating or ...
2
votes
1answer
116 views

How to check if a given question is changed

What is the fastest way to check if a question is changed using the API calls? For my purpose (a cache), a question is considered changed if: A new comment is added to the question or to any of its ...
2
votes
1answer
89 views

What constitutes 'active participation' in the private API beta?

In trying to understand some continued weirdness regarding badge/reputation rewarding in the context of private API participation I failed to find the explanation what exactly constitutes 'active ...
1
vote
1answer
57 views

“client_id rejected” error when retrieving the access_token

I'm developing an application in C# and I to post questions, so I need an access token. I registered my application and I have received a client ID. Then I get the following query-string to get the ...
1
vote
0answers
33 views

Can I see my past upvoted questions in handset APP?

It's not hard to find questions upvoted by me from the website. But I cannot find any access to them in the ios app. I guess neither does android app. Did I miss something or is it a feature not ...
1
vote
2answers
80 views

How to use the StackExchange object on a userscript?

This object seems to be available in all Stack Exchange pages and contains interesting information about the actual page, site, user, among others. Just type StackExchange on the console to check it ...
1
vote
0answers
79 views

400 when posting a question to the Stackexchange API

I am adding a question via the API and I manage to create a preview of my question (See JSON extract below). { "has_more" = 0; items = ( { "creation_date" = ...
1
vote
1answer
91 views

How to increase the allowed number of API calls?

Stack Exchange provides the possibility to do a limited number of API calls per day from the same IP (10,000 if the customer registers the app). Is it possible to get that number increased?
1
vote
0answers
53 views

StackX app - problem signing in with Google ID

I have a problem with StackX app on my Samsung Galaxy 4 phone (Android 4.3). I'm logging to StackExchange in general, and StackOferflow in particular, using my Google ID. The app does not recognize ...
1
vote
1answer
834 views

How to login programmatically using Android Code?

I think my questions is not a duplicate of this one How to login programmatically I have read the authentication document but still i am not able to get what should I do for if I want to perform ...
1
vote
1answer
26 views

ChatterBox configuration option is confusingly worded

ChatterBox - user script that adds inbox integration to Stack Exchange Chat! I'm confused over the option: Mark items as unread when you view them: Why would I want to mark items as unread when ...
1
vote
0answers
168 views

How to login programmatically

I'm building an app for personal use. The app simply screen-scrapes the StackExchange homepage and checks whether I am currently logged in to StackExchange. This works fine. However, if the app ...
1
vote
1answer
69 views

Software for Javascript?

Do I need any special kind of software to view the responses I get after requesting something? Like with Klout for example, I can get all the code returned as I need it, I just don't know where to put ...
1
vote
0answers
55 views

Are “api-key” and “app-key” the same thing?

When tagging my last couple of questions about registering for a key I noticed there are two similar-looking tags: api-key - 17 uses and a tag wiki app-key - 8 uses, no tag wiki Do they ...