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

Confusing documentation re vectorized requests limits

The documentation for vectorized requests says this: Most methods that take ids in the Stack Exchange API will take up to 100 of them in a single go. This allows applications to batch work and ...
1
vote
1answer
46 views

how to use tags/{tags}/related

I am new to stackapps. I am wondering how to apply /tags/{tags}/related to more than one tags. The documentation does not give an example. I tried /2.0/tags/c,java/related?site=stackoverflow, ...
1
vote
1answer
1k views

how to get access token from redirect uri in android

I enabled both client side flow and desktop oauth redirect url, and manage to get the user login and get redirected to https://stackexchange.com/oauth/login_success#access_token=xxxxx But how can i ...
1
vote
1answer
63 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 ...
1
vote
1answer
36 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 ...
1
vote
1answer
50 views

Throttling Question

Hey all, I keep getting kicked out of the API. Is throttling set to 30 requests per 5 seconds? j
1
vote
1answer
195 views

Is the API readonly right now?

Does the StackOverflow API offer some way to authenticate a user? I am wondering if the API supports logging a user in so that they can write to the system.
1
vote
1answer
91 views

Are there any hi-res versions of SO logo that we can use in our apps?

I'd really like either multiple sizes (from icon up) or hi-res or best of all a vector version. I want my app to look as good as possible and I'm sure SO would want to be well represented.
1
vote
1answer
102 views

Announcing Apps to the Public

I believe this has been discussed before but I can't find the question/answer so I'll ask it officially here: Now that v1.0 is released, it's OK to announce our apps to the general public, correct? ...
1
vote
1answer
24 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. ...
1
vote
1answer
28 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?
1
vote
1answer
78 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
33 views

Can I retrieve the API interfaces via the API?

I'd like to retrieve a list of methods with their arguments/defaults and their return types through automated means. Is this possible and, if so, how can I do it? This isn't just for curiosity's ...
1
vote
1answer
114 views

Does the API key need to be kept secret?

For a project of mine, I need to know if I need to keep the API key secret or not. If I do, I'm not sure how I'm going to effect its protection, as Emacs Lisp files are stored in plain text (and ...
1
vote
1answer
34 views

How to get the question title for reputation history entries?

I'm trying to implement a simple rep list, much like as seen on Stack Exchange sites. What I would like is to get three things: the rep change amount, type of change, and question title. However, ...
1
vote
1answer
730 views

How to login programmatically using Android Code?

I think my questions is not a duplicate of this one How to login programmatically I have read the authentication document but still i am not able to get what should I do for if I want to perform ...
1
vote
1answer
48 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
36 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
162 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
80 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
117 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
38 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
116 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
277 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
100 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
196 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
400 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
141 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
20 views

`last_editor` is missing but `last_edit_date` is present?

Some posts (questions or answers) have a last_edit_date but no last_editor. Does this always mean that the post was last edited by the post owner? Example: stackapps.com/a/3891/ PS: This issue ...
1
vote
1answer
21 views

Is there any API or documentation that would help my adding functionality to Q&A textareas?

I'm writing an userscript that should add some functionality to the main textarea (WMD) used to post and edit answers and questions. The functionality will usually need to do things like insert text ...
1
vote
2answers
59 views

How to use the StackExchange object on a userscript?

This object seems to be available in all Stack Exchange pages and contains interesting information about the actual page, site, user, among others. Just type StackExchange on the console to check it ...
1
vote
1answer
117 views

Searching on Stack Overflow and using the API give different results?

I am trying to use the Stack Exchange API to see the trends on different topics. Looking at the API documentation, I see that I could do this using the /search path (it's documented that this method ...
1
vote
1answer
23 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
37 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
79 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
165 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
135 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
67 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
66 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
68 views

Getting questions that have a specific tag or tags?

In the current API (2.1 and 2.2), how do you get questions that have a specific tag or tags? EG: All Stack Overflow questions asked in the past 2 months tagged 'ruby'? All Stack Overflow questions ...
1
vote
1answer
26 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
12 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
27 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 ...