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
22 views

How often should the /info route be accessed?

The /sites method makes it very clear that you should not invoke that route more than once per day: "It is suggested that you cache its return for at least one day..." However, the /info method ...
3
votes
2answers
66 views

Is it possible to get daily reputation change for a user via the API?

I'm trying to fetch a user's daily reputation change history for a project that's still early in the planning stages. I've been trying to use the "reputation" endpoint, but it seems like I can query ...
3
votes
1answer
134 views

Retrieve inbox notifications

Hi, Is there a way to retrieve any notification that appears in the inbox of stackexchange? Or is there another technique to retrieve notifications on updates?
3
votes
2answers
564 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); Soapi....
3
votes
0answers
74 views

Login screen without web browser

I'm playing around with the Stack Exchange API, and have just received my first response from the server using the "Hello World" example. The next step is to allow the user to log in somehow. From ...
3
votes
0answers
38 views

How to get unread reputation changes via the API?

I want to write a desktop widget that checks the Stack Exchange API every several seconds and tells me if there are any new reputation changes. I can't figure out what API method I can use for that. ...
3
votes
1answer
305 views

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

I have followed the documentation and used explicit OAuth 2.0 flow for access_token generation. And I have gone through all 4 steps defined under explicit OAuth 2.0 flow with scope=no_expiry. Then I ...
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
0answers
50 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
37 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 ...
3
votes
0answers
27 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
79 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
54 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
44 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
47 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
0answers
116 views

How to get a users reputation ranking/position?

Using the SO API request http://api.stackoverflow.com/1.1/users/{userId}, I can get a user's current reputation score with no problems. What I'd like to know is where the user's rank in the set of all ...
3
votes
1answer
45 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
192 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
64 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
0answers
105 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?
3
votes
1answer
2k 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
131 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
3answers
236 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
221 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
41 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
1answer
115 views

Can I charge for apps I create on Stack Apps?

I want to create an app that will use data from Stack Overflow Careers - both employer and applicant information. It's an app designed for employers. I have two questions: Is it even possible to ...
2
votes
2answers
418 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
3answers
913 views

Possible Gzip or data format problems when trying to read JSON.

This is a very basic question. I just want to display a test batch of JSON with PHP, but I think I don't have the correct formatting, since the data received looks garbled when outputed, and it causes ...
2
votes
2answers
235 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
29 views

Clickable link in “Try It” section of some doc pages

In the "Try It" section of some doc pages, the link is not present. It is present in the below image Its not present in the below image
2
votes
1answer
28 views

Do the questions tagged “placeholder” need it explicitly in the title?

I have create a placeholder question, but just noticed that all the other ones have "(placeholder)", "[PLACEHOLDER]" or some variant in the title. Do I need to include it in the title if it's tagged?
2
votes
1answer
32 views

Where is “items” & “badge_counts” documentation?

Where is the items & badge_counts documentation? This is returned as JSON. I am using the /me/associated query function.
2
votes
1answer
206 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 "http://api.stackexchange.com/2.2/search/advanced?pagesize=5&fromdate=...
2
votes
1answer
43 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
3k 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
200 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
139 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
77 views

How to get the actual “body” of a question or answer?

How do I actually get the body (i.e. the textual content) of any say question or answer. For example, for question (id= 7406104), I call: http://api.stackoverflow.com/1.1/questions/7406104 But in ...
2
votes
1answer
40 views

API to get the small tag info displayed in the popup

I do not know if this is possible, or if this is even prohibited, but here goes. I am creating a website where I talk a lot about the web and different programming languages. Now I want to create ...
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
1answer
52 views

Throttling Question

Hey all, I keep getting kicked out of the API. Is throttling set to 30 requests per 5 seconds? j
2
votes
3answers
295 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
1answer
25 views

Top answers for a tag is returning user details?

I am expecting top answers for a particular tag here. But it returns user details. Is anything wrong here? Using: /2.2/tags/java/top-answerers/all_time?site=stackoverflow
2
votes
1answer
31 views

`body` of `inbox_item` returning only excerpt, not full body

I have run /inbox/unread function. It returns a list of inbox_items. The body of inbox_item gives excerpt, not the full body. This is with all the functions that return inbox_item. According to ...
2
votes
1answer
43 views

How to find questions that were posted or edited recently?

The api function documented at http://api.stackexchange.com/docs/questions lets me list questions on a site. How do I sort this so that I see questions that are recently posted, edited, including ...
2
votes
1answer
61 views

How do I add newlines when editing a post body via the API?

I am editing the tags of a question via the API, and to do that you have to pass the body and title etc. I can get the Markdown or HTML from the API but I can't see how to send it back formatted ...
2
votes
1answer
67 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
62 views

After user login, how do you ask user for permissions?

For an app on Windows Phone, I'm missing the page after you enter your login credentials and click submit. When I debug on my device, after I log in I obtain the correct response Uri with access ...