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

4
votes
1answer
456 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 ...
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.
4
votes
1answer
33 views

Is there a limit on the data that is returned from stackoverflow API calls?

I have the following query, which is identical to the example they give in the documentation: ...
4
votes
1answer
51 views

How do I know what apps on my stackexchange account I have already authorized?

I'm developing an app using the stackexchange oauth, I want to revoke my permissions to this app for testing the overall process, but I can't find which apps I have authorized.
4
votes
1answer
350 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
104 views

Area51 does not show up in the associated accounts query

Is this on purpose and if yes why?
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 ...
4
votes
1answer
42 views

Does the API have a method to get the total favorite count of a question?

Like it says in the title, is the total favorite count of a question exposed anywhere via the API? I know about the favorites method, but that looks like it will give you the specific favorites of a ...
4
votes
1answer
65 views

Access token quota

The documentation says that each user gets 5 distinct quotas of 10,000 requests per 24 hours, and as I interpret it, per app. If an application does have an access_token, then the application is ...
4
votes
2answers
85 views

Prefered way to retrieve all search results

I'm trying to figure out a reliable way to retrieve all the results from a search query (in subsequent pages. My use case includes cases with more than 100 results (the maximum page size). Looking at ...
4
votes
2answers
802 views

API compliant request throttle implementations

Balancing compliance with Request Throttling Limits with maximum allowable throughput in our applications and libraries with any reliability requires self-throttling. This post is meant to be a repo ...
4
votes
2answers
202 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
113 views

Getting started: /users/{id}

I am trying to get the amount of reputation that a user has. I have established that I need to use this url: ...
4
votes
1answer
45 views

Do the terms “key” and “access_token” refer to the same thing?

I'm trying to get my head around all the limits and throttles but some terminology is confusing me: If an application does not have an access_token, then the application shares an IP based quota ...
4
votes
1answer
32 views

In API 2.0, what happened to questions sorted by “featured?”

I was looking for a way to grab the list of "featured" questions via the API, and I stumbled across several answers that all point to the same solution: Shouldn't there be a separate call for ...
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": { ...
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 | ...
4
votes
1answer
63 views

Get Key for my application

I am creating Stack Overflow client application and have reach limit to request. So I decided to get the Key from my application, but got a little confused. When I requested the Key I provided ...
4
votes
1answer
107 views

Is there an API to upload images to SE's imgur installation?

Is there an API for uploading images to the StackExchange-specific imgur installation? I could use the main imgur site, but they don't keep the images indefinitely. Use case: It would be ...
4
votes
0answers
34 views

Is a deobfuscated version of chat js available?

The dev portion of the CDN hosts unminified JS for the main SE sites (you can find it via http://dev.stackoverflow.com ). However, I can't seem to find the same for chat. Is there any link for ...
4
votes
0answers
26 views

How do I get the no. of upvotes a person has received for a particular tag?

I need the list of users who have more than 10K reputation and then among those users I need to see which user has how many up-votes for each tag. I don't there is a direct query that will give me ...
4
votes
0answers
29 views

Why does adding fromdate=<long time ago> return a different set than without it?

I've been trying to get some stats for the Windows 8 challenge over on Super User. I've noticed that there are some questions missing if I add fromdate=0. Why is this? Without fromdate: ...
4
votes
0answers
20 views

Using Stack2RSS, why can I get feeds for some SE sites and not others?

I can use Stack2RSS to easily get RSS feeds of some StackExchange sites but not others: The pattern if I understand the API is http://stack2rss.stackexchange.com/{SiteName}/questions Substituting ...
4
votes
0answers
182 views

Announcement: StackExchange API Development Wiki

RIP August 24, 2010 - April 26, 2013 Due to lack of interest and the increasing burden of maintenance, I have decided to close down this wiki. Most of the information that it contains is ...
3
votes
2answers
213 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
127 views

Making use of the *“has_more”: true* json attribute in the Json response from stackoverflow

When issuing requests to the stackoverflow-api, I set the pagesize to a 100 (which is the maximum possible). However, some json responses contain this attribute (normally at the very bottom): ...
3
votes
1answer
44 views

API for getting multiple (yet specific users)

I am developing one app which will be used internally in our company. We are recommending our colleagues to contribute to StackOverflow. To keep the moral of employees high, I am planning to develop ...
3
votes
1answer
67 views

how to get the questions from hot/week/month tab?

I am only interested in the questions from hot/week/month tab. The iPhone app MyStacks can show week/month tab, but I did not find such API in the documentation. Thanks
3
votes
2answers
66 views

How can I see the next page of favorites using the SO API?

http://api.stackoverflow.com/1.0/users/113124/favorites only shows me 30 favourites. How can I see the rest?
3
votes
2answers
563 views

Silverlight download JSON from API fails

I cant seem to download the JSON for the questions on SO, I cant get the HTML and JSON from other addresses, but the SO API always returns jibberish. Here is my code: public void ...
3
votes
2answers
328 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 ...
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.
3
votes
1answer
42 views

How to strip out certain fields from the Stack Exchange API, JSON response?

I want to fetch all my favorite questions on Stackoverflow.com and dump them as JSON. I used this API path: /2.1/users/1310070/favorites?fromdate=1382486400&site=stackoverflow But it is ...
3
votes
1answer
708 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? ...
3
votes
1answer
255 views

HTTP 400 “Bad Request” while using “access_token” in request Url

I registered an app, obtained a key and I have implemented the implicit OAuth 2.0 flow in a Windows 8 desktop app (as per the documentation available here). After receiving and storing the access ...
3
votes
1answer
43 views

Is the “link” URL enough to uniquely identify an “inbox_item”?

I've been looking at the documentation on the inbox_item type, and I was wondering what is the correct way to uniquely identify an inbox_item? Is the "link" URL enough to uniquely identify an ...
3
votes
2answers
116 views

URL Format: Special Characters

I just noticed something in my testing. I was searching for questions tagged "C#" and the questions come back tagged "C". Code Poet's SOAPI javascript formats the route thusly: ...
3
votes
2answers
200 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 ...
3
votes
1answer
49 views

How to access my App info

I've registered for an app yesterday, but I'm not finding where should I go to see/edit it's info again. I've search through profile, at stackexchange.com but could'n find it.
3
votes
1answer
38 views

How are filters created?

Can someone explain how Filters are created in the Stackexchange v2 API? The documentation mentions the following for /filters/create: It is not expected that many applications will call this ...
3
votes
1answer
82 views

Is it possible to register V2.0 apps that are not web apps?

I want to register an app that will use the V2.0 API here: http://stackapps.com/apps/oauth/register. However, the app will run on a mobile phone so I cannot enter a domain name. What can I possibly ...
3
votes
1answer
180 views

API Time zone difference problem

I am writing a .NET application with the Stack Exchange API (using the Stacky library) and I am using it to ask the server for some questions that occured in the last hour. However, I and the server ...
3
votes
1answer
44 views

how many ids is 'too many'?

This answer mentions limit on amount of ids included in queries like /users/{id}/mentioned, but I can't find actual amount mentioned anywhere. Now, I could run binary search and find out, but I ...
3
votes
1answer
93 views

Getting Question body/title with Answers?

I am trying to build an RSS feed that includes any/all questions that I have answered, and been accepted as the correct answer. I am running into an issue where I'm sending too many requests and ...
3
votes
1answer
57 views

Difference between stackauth URLs

On stackauth theres: stackauth.com/sites stackauth.com/1.0/sites Which one should be used (bearing that yesterday the one with the API version was unavailable)
3
votes
1answer
120 views

What timezone is used in the API?

When a timestamp is used, for example the fromdate parameter in /questions, what timezone are dates in? Is the number supposed to be in milliseconds or in seconds? To get the current time to pass as ...
3
votes
3answers
155 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 ...
3
votes
1answer
24 views

Using OR with featured questions

My question is similar to: Getting questions that have a specific tag or tags? What I am trying to do is get a list of Featured questions within a list of tags. I have tried using the following: ...
3
votes
1answer
57 views

Complete list of sites to @include / @match into my script?

This question aims to serve as a reference list of all current Stack Exchange sites for use in scripts.
3
votes
1answer
60 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 ...