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

1
vote
1answer
47 views

Stack Overflow Firefox Extension

Recently I created a tiny Firefox extension to get given user reputation of Stack Overflow. But I did that using API version 1.1. How can I migrate that to 2.1? How to authenticate my application ...
1
vote
1answer
30 views

Ability to sort answers by number of revisions via StackExchange API v2?

I was curious whether there was a way to easily find which StackOverflow answer has the highest number of revisions and/or to sort by that metric. I see mention of a sort function in the ...
1
vote
1answer
144 views

How to get Question/Answer body in the API response using filters?

I am looking through the API documentation and i am confused how to make a call with filters. I am specifically looking for get the question /answer body back. Is it possible. Could not find any ...
1
vote
2answers
47 views

How to get the site name from document to pass to API?

Most APIs take a parameter site which must be set to the name of the site your queries are about. For meta.travel or travel. But of course sites have various names, for example ...
1
vote
1answer
78 views

Use stack2rss to receive responses via RSS

I'm trying to setup http://stack2rss.stackexchange.com/ to receive full-body "responses" (comments, edits, answers and so on) to my own stackoverflow questions via RSS, but I can't find the right ...
1
vote
1answer
109 views

“client_id not provided” when trying to obtain an access_token

So I'm trying to authenticate with the v2 API via oauth2. I have a code, so I'm POSTing to https://stackexchange.com/oauth/access_token and ideally get an access_token back. Instead I get an ...
1
vote
1answer
36 views

Is there a maximum on the number of search results returned (using the SO API)?

I was trying to do statistics on post from some not-too-popular tags like matlab, using the search method. It appears that it will never return a total larger than 2000. Is this a hard limit that ...
1
vote
1answer
113 views

Non-verbatim search strings in py-stackexchange

Hello, I am writing a python program with py-stackexchange that takes a query and returns a list of urls to questions with that query in the title. Here's the code: #!c:/Python27/python.exe -u ...
1
vote
1answer
267 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
1answer
187 views

api.stackoverflow.com down?

I am currently getting errors when trying to access the stack overflow api. I have tried others (superuser and serverfault) and they seem to work. Is this by design or did the api unintentionally go ...
1
vote
2answers
99 views

Can the API return info re “new replies” icon?

I would like to be able to query the status of the "new mail" icon that shows whether there is new comments or favorites activity. Is this possible?
1
vote
2answers
184 views

Post questions using API [duplicate]

Possible Duplicate: Is there an api to post questions without using the websites interface? Can I use the API for posting any question to StackOverflow? I have a internal sharepoint site ...
1
vote
1answer
386 views

Copying CSS from stackoverflow for use in an app?

Is it ok / legal / allowed to copy some of the styles from stackoverflow / serverfault / etc. for use in a stack app?
1
vote
1answer
90 views

Stack Exchange site layout question

I noticed that the new SE sites all have the same layout and the same image. When will these things be changed? I don't want to support these sites in my application, StackTop, until I know the icon ...
1
vote
1answer
101 views

How to control vote count for individual user?

How do I find if user has already voted for a particular question/answer?
1
vote
3answers
139 views

API not returning anything near the actual website

The API /questions page is not returning anything like the list of questions on the actual SO site. This is the first question of the 0.8/questions { "total": 705769, "page": 1, "pagesize": ...
1
vote
1answer
55 views

Is the question_id monotonically increasing?

Just wondering: Does the question_id monotonically increase for every new question? Is the question_id unique globally for a deployed app or is it unique in some sub-domain? Is there any relation ...
1
vote
1answer
59 views

Is it possible to create a private Q&A site using the Stack Exchange API?

I want to create a sort of private Q&A site to allow university students of the same courses to communicate. Is it possible by using the Stack Exchange API?
1
vote
1answer
55 views

How to programmatically retrieve the access_token from client-side OAuth flow?

I'm making an application in C# and I need to both search and post answers, so I need an access token. I found some information, libraries, and code pieces: The authentication guide for the Stack ...
1
vote
1answer
22 views

Use case for /render endpoints?

In the new v2.2 API there are /render endpoints, such as /questions/{id}/answers/render. What are these for? Testing applications without actually posting anything?
1
vote
1answer
36 views

AttributeError with Py-StackExchange

i'm trying to execute this python script : #! /usr/bin/python import stackexchange so = stackexchange.Site(stackexchange.StackOverflow) my_favourite_guy = so.user(41981) print ...
1
vote
1answer
69 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
1answer
35 views

Can the API support per-item questions?

What I'm seeing so far is that the API is for a site-wide collection of questions. Can someone use the API to decorate a website's products or articles with questions and answers (on a per-item ...
1
vote
1answer
145 views

Javascript SDK init fails on sytax error…why?

I'm writing a user script and I want to hit the SE API for something, but SE.init is failing without much feedback indicating what the issue is. According to the documentation, it should be ...
1
vote
1answer
79 views

What is the right way to create a Stack Exchange API filter?

I'm trying to create a filter by following the documentation, but a few things are quite unclear: How do I create a filter that does not have a base filter? I'm creating a filter without a base so I ...
1
vote
1answer
114 views

How can I use the Stack Exchange API to get the total score on answers to questions with a specific tag?

I want to use the API to get the sum of all scores of my answers to questions having a specific tag. I started using top-user-answers-in-tags method, but it only returns the top 30, whereas I want ...
1
vote
1answer
51 views

Get all sites of type “main_site”

Is there a way to get all sites of type main_site from the /site method? If not, what's the best way to get that list? Should I get all sites with a huge pagesize and then filter it in my App?
1
vote
1answer
62 views

How do I find a user by their `display_name`?

I am using Serel (the Ruby wrapper) and would like to be able to find a user by their display_name. As it stands right now, I can only find them via an ID - like Serel::User.find(1,2,3). I tried ...
1
vote
1answer
64 views

How do you list you stack exchange apps

I wanted to know how you're supposed to get a list of apps you've registered on the stack exchange api. I finally managed to find this url: http://stackapps.com/apps/oauth My question is this: How ...
1
vote
1answer
52 views

Getting questions that have a specific tag or tags?

In the current api (2.1) how do you get questions that have a specific tag or tags? e.g.: 1) All stackoverflow questions asked in the past 2 months tagged 'ruby'? 2) All stackoverflow questions asked ...
1
vote
1answer
25 views

What sizes are the images available through the /sites endpoint?

I see logo_url, icon_url, favicon_url, high_resolution_icon_url... But I wasn't able to find any information about any of those images in the documentation. Are any of them fixed size? And/or is ...
1
vote
1answer
11 views

What is the “Manage API Keys” link to the right of the StackApps.com frontpage?

When I click on it, I get a page that goes "Your Applications", then "No applications registered". Needless to say, this is different from "Manage your applications" link on the frontpage because I do ...
1
vote
1answer
26 views

Questions returned by /questions/{ids}/related do not contain link properties

The API docs claim that /questions/{ids}/related return question objects, but I can't find a link property on the returned questions at all. Is there some sort of workaround to find the link for a ...
1
vote
1answer
64 views

stack overflow data dump utility error - mysql

I have the SODDI v.11 utility (although the screen says v.10) I also have the SODD from 092011. When I try to import the SF/MSF data, I get: Table 'SF.VoteTypes' doesn't exist. It creates the ...
1
vote
1answer
25 views

How can I get beta sites to show on StackApplet (v1.5.1)

I installed StackApplet v1.5.1 and it works fine, although the refresh time of 5 mins minimum is a bit slow. However, I have an account in Robotics which is in beta state. How can I get notifications ...
1
vote
1answer
46 views

is there a way to use my app to authenticate users with only a StackOverflow account with the stackExchange oauth api 2.1?

Recently I registered an app in http://stackapps.com/ to provide a way to authenticate users with their stackoverflow account. but I notice that https://stackexchange.com/oauth only works for users ...
1
vote
1answer
50 views

/me API endpoint returning 500 error

I'm making an authenticated call to /me: https://api.stackexchange.com/2.0/me?access_token=[redacted]&site=stackoverflow&key=[redacted] But it's returning: ...
1
vote
1answer
57 views

Reputation API to display a reputation history

I'm building something similar to the reputation graph / summary on the SO user page. The answer explains that the /users/{ids}/reputation API method gives a sum of reputation for the period. So ...
1
vote
1answer
64 views

Pagination of users ordered by reputation

I know I can retrieve a page of users ordered by reputation using these apis: http://api.stackoverflow.com/1.1/users/?sort=reputation&order=desc&page=1 ...
1
vote
1answer
31 views

Does the API allow us to pull down a user's subscriptions?

When I joined the site, I found that I could subscribe to hear about new posts within my favorite tag/filter. I started receiving daily emails with the latest posts in those categories. I can't find ...
1
vote
1answer
18 views

Would implementing both 1.1 and 2.0 APIs in an app/script to get around the API quotas be considered abuse?

In another question I asked it was established that The ip, and user/app-pair quotas are separate in V1.x and V2.0. So with this in mind would an app or script which implemented like methods for ...
1
vote
1answer
32 views

Authentication Statistics are the same for all apps

I know the stats are new, I'm not sure if they are still in development. But they are identical for the 3 apps I have registered, given that the app's id is in the URL of the stats page, I guess the ...
1
vote
1answer
32 views

Point of /users/{id}/inbox?

What is the need for the user ID in: https://api.stackexchange.com/docs/user-inbox Given that it will only return the inbox of the authenticated user, and deny a mismatching user id. The only needed ...
1
vote
1answer
165 views

Retrieving JSON via the API using Ajax does not work

I tried to retrieve information of my user profile on Stack Overflow via the API using Ajax/jQuery. But it does not work for me. The result of the request is always empty. <html> ...
1
vote
2answers
205 views

Is there an SO API which can fetch all Questions & Answers for a particluar Keywords

I am looking for an API which helps in fetching all the Questions & Answers from SO and other Stack Exchange sites only on a particular "keyword". Later using XML RPC these questions will be ...
1
vote
1answer
101 views

/question/unanswered, what exactly does it give?

It says no upvoted answers? Does that mean no accepted answers or no answers which have a positive vote? I'm kind of confused about the whole /answered result. I'm trying to get questions with 0 ...
1
vote
1answer
157 views

How to search all Questions & Answers on specific keyword with PHPstack library?

I am trying to build a page specific to one keyword which should pull all the questions and their respective answers from Stack overflow. I tried phpstack 1.1.1, but no luck. I saw a function ...
1
vote
1answer
58 views

last_activity_date meaning on /questions route

I would like to add a cache layer to my app for questions, answers and comments. The last_activity_date parameter on /questions route seems a valid candidate (probably the only way available) The help ...
1
vote
1answer
332 views

Error Using Stacky v1.0 Binaries in an Azure Worker Role

The following error is being thrown when calling the StackyClient.GetUser method from within an Azure Worker Role: Method 'ReadJson' in type 'Stacky.UnixDateTimeConverter' from assembly 'Stacky, ...
1
vote
1answer
94 views

api performance slow

this query takes ~30 seconds. Seems abnormal to me http://api.stackapps.com/1.0/users/14/questions?pagesize=100&answers=true&body=true&comments=true&page=1