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
2answers
401 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
0answers
27 views

Moderation request: Make [user] a synonym of [users]

Please make user a synonym of users. I proposed a synonym but there aren't enough high-rep users active here for that mechanism to work. Currently*: user has 5 questions, no tag wiki and no tag ...
3
votes
0answers
138 views

Application Key and AccessToken are not working for Stack Exchange API?

I am having issue while using access_token in my request. I have followed following Doc and used explicit OAuth 2.0 flow for access_token generation. ...
3
votes
0answers
44 views

How do I access the greatest hits (questions) via API v2.2.?

The greatest hits (questions) of any stack exchange site (say stack overflow) can be found by visiting the below url: http://stackoverflow.com/questions/greatest-hits I would want to access these ...
3
votes
1answer
118 views

Can the redirect_uri contain port number?

Is it possible to have the redirect_uri contain a specific port? For example: example.com:8080 Assuming that example.com is my registered domain, is the 8080 allowed? I have tried to put it as part ...
3
votes
0answers
42 views

How to quickly retag a question from the API?

I'm playing with the write API, and I'd like to simply retag a question. This is the code I have so far: $editURL = 'https://api.stackexchange.com/2.2/questions/' . $question->{"question_id"} . ...
3
votes
0answers
26 views

Should feature-requests, for third party apps, be flagged as “not an answer”?

I spotted this "answer" as a first-time post: Feature Request Please add support for proxies.... It would be helpful to people behind proxies. Like "ME" I was going to flag it as "Not ...
3
votes
0answers
70 views

edit-comment method returns 405 error

Trying to understand how edit-comment method could be used. I passed valid token with write_access, valid key, and existed comment id, but all I've got is: { "error_id": 405, "error_name": ...
3
votes
0answers
53 views

Is it OK to have a test account for a developing client?

I'm currently trying to implement an agorava component for Stackoverflow, and for testing purpose, i would like to create a test account, which would have one question asked, and would maybe send ...
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
0answers
32 views

Example responses

I think I may have asked this before. Would it be possible to have example responses for the inbox route. Eg I have no idea what a careers_invite would be like.
3
votes
0answers
26 views

How can I get the “follower” count for a given tag on a site?

One of the metrics (albeit a somewhat weak one) of a given tag's "health" is how many followers it has. I believe this is the count of how many users have the tag on their "Favorite Tags" list. You ...
3
votes
0answers
38 views

Example of inbox items?

Would it be possible to get an example of each type returned by the inbox, Eg careers messages, and whatever meta questions are. Do careers invites/chat messages/etc have ids? And what is their site? ...
3
votes
1answer
43 views

Elections nominations posts not showing up in API

I know that it's probably unintended that the Primary voting scores were leaked by the API, but I think if you're going to remove it, then at least make it official, so I won't have to wonder if it's ...
3
votes
1answer
190 views

Is there any Careers CV API available?

Is there any API for the CV service of Careers (careers.stackoverflow.com)? My requirements are simple, I just need a way to access the data of a given CV to propose an alternative view.
3
votes
0answers
63 views

recommended buffer size for markdown fields is conservative

I ran into a truncation error while inserting user data into a database using the documented field length (buffer size) of 3000. So I redefined to nvarchar(max), pulled all users in the stack ...
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
264 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
418 views

Is there a limit of API requests?

Our development community wants to use Stackoverflow: http://www.openntf.org/blogs/openntf.nsf/d6plinks/NHEF-8R4ABK We used the Stackoverflow REST APIs to display the most recent requests on ...
2
votes
1answer
242 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
3answers
125 views

How to generate a list of users ranked by activity (question or answer count).

The use case is to generate a list of users ordered by activity, i.e. question_count or answer_count. e.g. total_(questions|answers) display_name [user_id] ...
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 ...
2
votes
2answers
382 views

Logging out so another user can log in

Just in the process of final testing for an iPad SE browser, and uncovered some odd behaviour. I'm using Google for authentication. If I deploy a clean version of the app, and authenticate, I get the ...
2
votes
3answers
220 views

How to calculate a list of users ranked by question favorite count totals.

The API provides methods to sort and filter individual questions by favorite count. In order to calculate the question favorite count totals per User, some grouping and set operations are required. ...
2
votes
3answers
206 views

How to monitor API version and site state

I want to make an application in which the used API will automatically be updated when a newer version is released. What is the procedure to check if a newer version is available or not? How can I ...
2
votes
1answer
37 views

How do I get a user's bio with the SE API?

Am I just missing something here or is there not a way to retrieve a user's bio with the SE API? I looked at the documentation under the "Users" section, but I didn't find anything. Any suggestions?
2
votes
2answers
409 views

Stacky JSON error

I'm trying to use Stacky to grab a question from Stackoverflow, however I always an error. The error thrown is: JsonReaderException was unhandled - Unexpected character encountered while parsing ...
2
votes
2answers
212 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
35 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
1answer
93 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
36 views

Does the StackExchange API have a WSDL file?

The title pretty much says it all: Does the StackExchange API have a WSDL file to help implement access to the API?
2
votes
1answer
1k views

How to convert a (javascript) date to the API timestamp format?

When I am using this page for the Stack Exchange API /search path, I can see that it is generating time-stamps in this format: fromdate=1380326400&todate=1380412800 What is this date format? ...
2
votes
1answer
138 views

Creating a PHP script to use the stack api

I would like to know how to use the Stack API and get all questions with a particular tag. I am coding in PHP. So I would like to write a script which can get all questions with a particular tag. I ...
2
votes
1answer
97 views

Key doesn't match a known application

I'm running into a really weird issue and I would appreciate any guidance on what I'm doing wrong. So I recently applied for an API key here on Stack Exchange and it went through fine. So let's say ...
2
votes
1answer
46 views

Access to answers.onstartups.com via the API?

Is answers.onstartups.com available via the API? It doesn't seem to be listed in the sites list, but I know it is a StackExchange site. Asking for mainly personal reasons - I want to add it to ...
2
votes
3answers
289 views

-430 rep - why?

I just lost 430 rep. from 6777 earlier today to 6347. This seems to be localized to my account only. Why?
2
votes
2answers
76 views

How can I introduce my Stack Overflow app to other users?

Recently, I created a project to manage and extract questions from Stack Overflow and convert those to PDF docs. I put it on GitHub. I think this project could be improved and could be very helpful ...
2
votes
1answer
23 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: ...
2
votes
2answers
57 views

How can a userscript detect when a post's been edited in place, so that it can do stuff to the newly edited post?

I recently built a userscript for Board Games Stack Exchange. On page load, it scans questions and answers for certain plaintext patterns and replaces them with some HTML, making the posts prettier. ...
2
votes
1answer
35 views

What's the difference between the Stack Exchange API and the Stack Overflow API?

I heard about the Stack Overflow API. Is there a Stack Overflow API available. Or is it the same as the Stack Exchange API?
2
votes
1answer
71 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 ...
2
votes
1answer
29 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
101 views

How to make a Stack Exchange API call, using my key

I have a Meteor application and I'm making API calls like: var urlString = "http://api.stackexchange.com/2.2/users/"+surl; HTTP.call ("GET", urlString, {params:{site:"stackoverflow"}}, function ...
2
votes
1answer
48 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
51 views

Maximum length of “about me” in the Stack Exchange API?

What is the Maximum length of "about me" in the Stack Exchange API? The one from the /me path. And in general, where are the length limits published? If anywhere?
2
votes
1answer
64 views

What happened to the recent API contest?

I am curious to know the results of recent stackoverflow contest It has been removed from the api.stackoverflow page and no updates were seen. I believe that the deadline for the results ...
2
votes
1answer
32 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
102 views

Conditional GET support for chat RSS feeds?

I'm trying to use one of the RSS feeds from chat.stackexchange.com in my application. I'm using the python feedparser package for this. Feedparser supports a couple of different "conditional get" ...
2
votes
1answer
160 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 ...