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
0answers
79 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
2answers
241 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(); ...
4
votes
2answers
229 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 ...
4
votes
2answers
79 views

How to get a User's picture (Avatar)

I've seen a couple of StackApps that have the actual picture for the user profile. Is that coming from the API, and if so how? If not I'm assuming they are using some screen-scrapping to get that ...
4
votes
2answers
205 views

How to get a post title for a given post ID, even if that post ID is an answer and not a question?

I'm trying to beautify the reputation audit. If I want to show the post title for a reputation change event, however, I have a problem -- I don't know if the post ID is relative to a question or an ...
4
votes
1answer
585 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
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.
4
votes
1answer
49 views

Access for Statistical Analysis using the Stack Exchange API

We are small company in Malaysia and intended to do a small research to analyze technology trends. We would like to use the Stack Exchange API for this purpose but we are afraid it might get detected ...
4
votes
1answer
43 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
52 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
106 views

Area51 does not show up in the associated accounts query

Is this on purpose and if yes why?
4
votes
1answer
124 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 ...
4
votes
1answer
43 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
68 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
89 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
1k 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
216 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
135 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
119 views

Why am I being told to backoff when I'm well within my API limit?

I've been running my API app fine for some time now and when I added another function I realized I was being told to backoff. I only run the app once a night and don't really pull that much data. I ...
4
votes
1answer
75 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
50 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
33 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
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
1answer
147 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
27 views

API response doesn't indicate the nature of a rejected question POST

I have a question, which I post to Stack Overflow. The addition of the answer gets rejected and I know that it is due to the fact that I used the tag coredata rather than core-data. When I do this on ...
4
votes
0answers
27 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
21 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
219 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
184 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
59 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
32 views

StackExchange API /sites/ does not return all the sites

I am working on one application that produces timeline of user on every site of StackExchange.. We have some users on Sharepoint.stackexchange.com.. Since I want list of all the sites, I am trying to ...
3
votes
1answer
54 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
51 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
68 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
589 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
337 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
140 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
324 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
44 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
209 views

Stack Overflow reputation API

I am creating one wordpress widget plugin that display different types of social media fans and followers counts. After that I feel that i also include Stack Overflow reputation for specific users. ...
3
votes
2answers
119 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
207 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
60 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
2answers
142 views

Getting unauthorized_error when using OAuth2.0

I want to create a simple desktop application which connects to my account and shows some information in the status bar. I've been trying to authenticate using OAuth2.0 but I'm getting stuck and I ...
3
votes
1answer
43 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
84 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 ...