A question about the Stack Exchange API: usage, functioning, guidelines, etc.

learn more… | top users | synonyms

1
vote
1answer
49 views

Posting answers via Stack Exchange API

Can I post answers via an app using the API, is it possible? And if so, what are the limitations; linked with the reputation of users? So if someone has 1 reputation he can also post answers, like a ...
1
vote
1answer
47 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
273 views

Where is the API located?

I want to know where is the API located and from where to download?
1
vote
1answer
99 views

How to use the Stack Exchange API in PhoneGap?

I want to write a program using PhoneGap. How can I use the Stack Exchange API in PhoneGap?
1
vote
1answer
358 views

Bad format returned by Stack Exchange API, not GZip?

I'm attempting to request some information using the Stack Exchange API. Supposedly, it returns responses compress with GZip. Using Microsoft's System.IO.Compression.GZipStream or ...
1
vote
2answers
41 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
70 views

Best strategies for calling the API with full throttling support?

I know this would be subjective on a normal SE site but as the relevant chat rooms are mostly dormant, we have no meta site, and nobody noticed when I asked if this kind of question is OK here, I'm ...
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
157 views

Stackoverflow API - get “received” upvote count of a user.

I'm currently using the Stackoverflow API to get a list of detailed user information (via http://api.stackoverflow.com/1.1/usage/methods/users-by-ids). There is an attribute called "up_vote_count" ...
1
vote
1answer
107 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
70 views

Is it possible to restrict the pool of answerers to users meeting certain criteria?

I'm expecting the answer to this is an unfortunate "no," but I've been unable to find it discussed anywhere, so here I go asking: I'd love to use this API, but the site I'm considering would need the ...
1
vote
1answer
89 views

Abstract paged results to enable cleaner libraries

It would make great sense for paged results array property to have a common name, items perhaps. For those writing in languages that support 'generic' constructs, this would simplify the code ...
1
vote
2answers
55 views

Is there a difference between “newest” and “creation”?

When I look at some API endpoints, say /questions/tagged/{tags} and /questions/{id}, I see that the former can be sorted by newest, and the latter can be sorted by creation, both ascending or ...
1
vote
3answers
138 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
51 views

API support for close actions

Background I would like to create an app for general Stack Overflow browsing to improve upon the UI. One of the things that I am targeting is the lack of certain options in the close dialog. I ...
1
vote
1answer
59 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
66 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
73 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
50 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
25 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
47 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
33 views

Typo in throttle violation error message

I was just playing around with the API locally and got throttled for the questions and answers methods (the only two I was using). Anyway, I noticed there’s a small typo in the error message that’s ...
1
vote
1answer
63 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
36 views

Why don't the tags APIs expose the tag IDs?

It seems that all tags have an internal ID, for instance here on stackapps, the api-v2 tag has ID 2442 which you can only see if you edit the api-v2 tag. As far as I can see none of the APIs expose ...
1
vote
1answer
48 views

How many simultaneous queries may I make of the same Stack Exchange API?

I've been playing with some of the APIs that have paged results. I've been doing a first call with pagesize=0 to determine how many pages there are then running a loop querying each page. In my case ...
1
vote
1answer
32 views

fromdate is ignored for /posts/{id}/comments requests

The api docs: http://api.stackoverflow.com/1.0/help/method?method=posts/{id}/comments The test request. You can see comment itself here, it's four months old, while cutoff date in request is less ...
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
203 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
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
46 views

questions/id is sometimes missing an owner?

Every once in a while when I query: http://api.stackoverflow.com/1.0/questions/id I get a question back that is missing the owner field. Is this expected? I haven't seen anything about owner being ...
1
vote
1answer
56 views

Pro Webmasters Meta API not working.

Try this: http://api.meta.webmasters.stackexchange.com/0.9/questions?type=jsontext I can't get it to work, even though it's listed in StackAuth.
1
vote
1answer
67 views

/users/{id}/tags - broken

looks like touching the id parameter description broke the internet. http://api.stackoverflow.com/0.8/users/242897/tags should/was working 6/1/2010 -1:11AM - working
1
vote
0answers
31 views

StackExchange API Java wrapper

Screenshot / Code Snippet StackExchangeApi api = new StackExchangeApi(key); api.authorize(authToken); StackExchangeSite siteService = api.getSiteService(StackExchangeSite.STACK_OVERFLOW); ...
1
vote
0answers
53 views

What should I put in redirect_uri for implicit OAuth 2.0

From the document I can't figure out what value should I put in redirect_uri if I want to implement iPhone app. I try https://stackexchange.com/oauth/login_success but it not work and show this error ...
1
vote
0answers
53 views

Stack Exchange API: getting the activity of a user

I am trying to extract the user activity using the Stack Exchange API? I am trying to extract all of my activities (questions,answers,edits and my voting). Does anybody know how this can be handled? ...
1
vote
0answers
14 views

Mark notification/inbox item as read [duplicate]

Is there a proper way in API to mark an inbox item or a notification as read without actually viewing one in a browser?
1
vote
1answer
57 views
1
vote
0answers
72 views

Attribute error while using the stackoverflow api wrapper for python on IDLE

This is the code that I use to access Stack Overflow: from stackexchange import Site, StackOverflow so = stackexchange.StackOverflow() for q in so.questions(pagesize=50): print q.title It runs ...
1
vote
0answers
41 views

Overwhelmed by unorganized information

As you can see I am a newbie, and trying to use stackexchange api for a school project. I spent 3 hours just trying to understand How to get started. Is there an example for me to follow? or A ...
1
vote
0answers
45 views

Please differentiate between meta sites for beta versus normal sites, in the /sites method

Currently, in the /sites method, a site can have a site_state of: normal, open_beta, closed_beta, or linked_meta. This makes it easy to tell if a main site is in beta or not. But it becomes a 2 or 3 ...
1
vote
0answers
112 views

Why does the web service fail sometimes for the Stack API?

It seems to have happened all of the sudden. My calls to the web service fails. What is the limit of calls per day with a registered app? I can't seem to remember where it says that, I can't seem to ...
1
vote
0answers
39 views

Wrong API response?

Well, if you look here, you'll see i have "down_vote_count": 94, But if you look here on my Stackoverflow profile, you see that my down vote count is 64. For those who would ask if I'm sure ...
1
vote
1answer
21 views

rep losses aren't reflected in api

This includes rep recalcs (e.g., the latest) and (speculative) when people take upvote back. First case you can see on standard stackauth/users query: it displays meta reputation before recalc. ...
1
vote
0answers
78 views

Can we have the usage pages linked to the side bar?

The usage page for the API used in the blog is a very good reference of the current API methods, and slightly better then the current documentation link in the FAQ. Would it at all be possible to ...
1
vote
0answers
46 views

Any plans on push services? [duplicate]

Possible Duplicate: Can we have some sort of notification system? Are there any plans to support push services via websockets or anything similar so that apps can get new data pushed to ...
1
vote
0answers
211 views

Are the Open Data Protocol (OData) endpoints considered to be part of the API? [closed]

The official introduction of the phantastic Stack Exchange Data Explorer (SEDE) made me wonder how the implied Open Data Protocol (OData) endpoints relate to the API? Obviously there is great overlap ...
0
votes
1answer
64 views

Area 51 sites api

Why does http://api.stackoverflow.com/1.1/usage/stackauth-methods/sites not list Area 51 (http://area51.stackexchange.com/)
0
votes
1answer
31 views

Definitive on timeline_type?

Hi all, I am trying to get a definitive on what timeline_type actually means... I've looked at: http://stackapps.com/search?q=timeline_type but to no avail. The new documentation doesn't list ...
0
votes
1answer
54 views

r.e. /stats fields.

I see we are getting some meta data in stats now. This is good. I see the api path in there, but I have to assume that it is simply part of the record that is being output and is not intended as a ...