This tag is for questions about the Stack Exchange API version 2.

learn more… | top users | synonyms (1)

4
votes
1answer
56 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
34 views

Typo in the docs for /me

The doc says: Returns the user associated with the passed auth_token. This method returns a user. It should say "access_token" instead of "auth_token".
4
votes
1answer
47 views

How to deal with the “Too Many Requests” error coming as HTML?

The API specifies error codes, and messages. It also specifies a "backoff" parameter. But, even while respecting the backoff and stopping at errors, and even when waiting a long time between requests ...
4
votes
1answer
1k views

API endpoints do not set Access-Control-Allow-Origin, so CORS requests fail

This looks like it might have been requested before: Add CORS headers to API output In order for CORS to work, the Access-Control-Allow-Origin header (and related headers) must be set. With CORS ...
4
votes
1answer
82 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
1answer
45 views

Descriptions of tag-based badges are incorrect

The descriptions associated to tag-based badges are wrong, they always show 0 instead of actual thresholds: Earned at least 0 total score for at least 0 non-community wiki answers in the … tag ...
4
votes
1answer
236 views

StatsExchange - low friction, API-based statistics generator

Screenshot / Code Snippet About StatsExchange is an application that's designed to leverage the filtering and data reporting features of the Stack Exchange API. With StatsExchange, you can ...
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
470 views

Why do I get a throttle violation after 300 requests while using a key but no access_token?

I'm doing some testing on my app, and I let it run on a machine this afternoon while I was away. When I got back, I was geting 503 throttle violation errors from my API calls. I was calling the ...
4
votes
0answers
55 views

Stack Exchange API in Chrome extension

How I can connect my extension to the API? I tried to use this example code for connecting: SE.init({ clientId: 1, key: '?', channelUrl: '?', complete: function (data) { ...
4
votes
0answers
160 views

Net::StackExchange2 - Perl Wrapper for StackExchange API (it's on CPAN)

About This library is a little labour of love for two things dear to me : StackOverflow, a place where I've learned just so much, and Perl a cryptic language that's giving me perspective. I ...
4
votes
0answers
121 views

Selective API oriented transcript fragment of Jeffs Code Camp Video Interview.

This is a very selective API oriented transcript fragment of Jeffs Code Camp Video Interview: Purpose Please note that this transcript fragment is mainly a supporting post to decrease the length of ...
3
votes
1answer
47 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
85 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
54 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
45 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
1answer
58 views

Get the Authenticated User's email?

We're building the website for our local Developer Community. We're trying to enable "Login with Stack Exchange" (we already got LinkedIn and GitHub), but I can't seem to find the User's email when ...
3
votes
1answer
52 views

Is there any support for Area 51 in the new API?

Does the new API support Area 51? Will there be support in the future?
3
votes
1answer
48 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
1k views

Invalidating access token vs de auth app?

Other that invalidating an access token doesn't remove the app from the apps tab (why not?) whats the difference between these two methods?
3
votes
1answer
39 views

The API has stopped allowing CORS requests

I just noticed that a script I have that makes CORS requests to the API stopped working on Meta Stack Overflow, claiming that the domain isn't allowed by Access-Control-Allow-Origin, which is true ...
3
votes
1answer
46 views

Problem with /search tagged and max

Seems like a problem with /search when max is not set to today, and tagged is given: ...
3
votes
1answer
28 views

When will the “site” field be absent from an “inbox_item”?

According to the documentation on the inbox_item type, the site field "may be absent". Under what circumstances will this occur?
3
votes
1answer
265 views

Java wrapper for the Stack Exchange API 2.0?

I've checked out StackWrap4J, but it looks like it doesn't support some of the new methods provided in the v2.0 API (specifically the ones having to do with user authentication). Does anyone know if ...
3
votes
1answer
60 views

Is there a meta api?

Is there a meta API for StackExchange? I don't mean an API for accessing meta sites, but rather an API to get information about the API itself. What I'm looking for is something that I can call that ...
3
votes
1answer
53 views

“Authentication Statistics” graph y-axis labels are overly granular

Yesterday there was a spike in my app's authentication requests (thanks for that, by the way ;) which has caused my authentication graph to show a much wider range of Y values than it did previously. ...
3
votes
1answer
68 views

Why is my quota constantly decreasing?

I registered an app today (API v2) for the first time (App ID 47, LaServ), and let it run a bit with its new key. It's the only API app running on this IP (I rent the IP as part of a VPS package). ...
3
votes
1answer
26 views

What is “accept_rate” in the Stack Exchange API?

when I call the /users path, like: /docs/users-by-ids#&ids=1&site=stackoverflow In the reply, I get a field called accept_rate. What is that field about?
3
votes
1answer
108 views

After a throttle violation, could the error message include the time when the block will be lifted?

I got my first throttle violation error after running in jsFiddle some example code given to me by a library author in response to a question of mine about how to use their library. This is the error ...
3
votes
1answer
814 views

API Implicit Authentication with Python

I am working on an desktop inbox notifier for StackOverflow, using the API with Python. The script I am working on first logs the user in on StackExchange, and then requests authorisation for the ...
3
votes
1answer
32 views

Could the /tags API return minimal information about synonyms?

It would be very helpful if the /tags API could provide at least a bare minimum of information about tag synonyms. Either: Number of synonyms the tag has, if any. Or a true/false flag for tags which ...
3
votes
1answer
35 views

What are the possible errors returned from authentication?

The title pretty much says it all, I couldn't find in the Authentication doc much about the errors (other than the HTTP code will be 400)?
3
votes
1answer
117 views

Will there be another contest when Stack API 2.0 is close to release?

Considering Stack API 2.0 will probably focus a lot on administration and write features, I think it would be a good idea to have another contest.
3
votes
1answer
51 views

What happens when sites or the whole network go offline

Now that the API is all done on stackexchange.com. What happens if say just certain sites go offline (eg just Stackoverflow). Will the API continue to return results or will it return the HTML offline ...
3
votes
1answer
24 views

What's the simplest way to detect if a question was asked by a user whose account has been deleted?

What's the minimum filter and simplest way to detect if a question (by its ID) was asked by a user whose account has been deleted?
3
votes
1answer
64 views

Can we get write access to user favorites?

I'd like users of my app to be able to add questions to their favourites. Will this be added to the API as an authenticated call?
3
votes
1answer
44 views

Unable to sort /search results by creation_date

I think I may have stumbled upon a bug in /search and I'll try to describe it as best as I can. What works: Create a /search query with the following parameters: fromdate: 2012-01-24 order: desc ...
3
votes
2answers
64 views

Is it possible to get daily reputation change for a user via the API?

I'm trying to fetch a user's daily reputation change history for a project that's still early in the planning stages. I've been trying to use the "reputation" endpoint, but it seems like I can query ...
3
votes
0answers
148 views

Application Key and AccessToken are not working for Stack Exchange API?

I am having issue while using access_token in my request. I have followed following Doc and used explicit OAuth 2.0 flow for access_token generation. ...
3
votes
0answers
122 views

Ruby library for Stack Exchange API

About I have written a Ruby library for accessing Stack Exchange questions, comments, badges and users. I am adding more methods. Repository https://github.com/raysrashmi/ruby-stackoverflow ...
3
votes
0answers
50 views

Implicit OAuth Flow stopped working. Redirect happening to a non existent URL

The following URL is first hit when a user clicks on Login: ...
3
votes
0answers
39 views

How to get network profile username?

I was thinking I could just get the username from the response of /users/{ids}/associated (where {ids} is the not-site-specific id). But then realised that it returns only network_user (even though we ...
3
votes
0answers
142 views

ExchangeLinq: LINQ Query Provider for Stack Exchange API v2.0

ExchangeLinq is a LINQ Query Provider for the Stack Exchange API. It only supports API v2.0. It is currently in alpha state and is being developed for Exchange It, a Stack Exchange client for Windows ...
3
votes
0answers
219 views

Stack Tunnel - WebGL Visualization for Stack Exchange

Stack Tunnel Screenshots About StackTunnel is a WebGL visualization which displays the latest questions from any Stack Exchange site interactively within your web browser. You can click on the ...
3
votes
0answers
112 views

OAuth Dialog rendering problems

I'm using the implicit OAuth flow for our native iPad app. We're calling the standard URLs in a UIWebView. The Stack Exchange login renders with several UI glitches. The first screen looks correct: ...
3
votes
0answers
32 views

Example responses

I think I may have asked this before. Would it be possible to have example responses for the inbox route. Eg I have no idea what a careers_invite would be like.
3
votes
0answers
26 views

How can I get the “follower” count for a given tag on a site?

One of the metrics (albeit a somewhat weak one) of a given tag's "health" is how many followers it has. I believe this is the count of how many users have the tag on their "Favorite Tags" list. You ...
3
votes
0answers
38 views

Example of inbox items?

Would it be possible to get an example of each type returned by the inbox, Eg careers messages, and whatever meta questions are. Do careers invites/chat messages/etc have ids? And what is their site? ...
2
votes
2answers
706 views

Python library for the StackExchange v2 API?

So I'm aware of Py-StackExchange and pyso.py, but neither covers the v2.0 API. Does anyone know of a Python library for the 2.0 API?
2
votes
1answer
37 views

How do I get a user's bio with the SE API?

Am I just missing something here or is there not a way to retrieve a user's bio with the SE API? I looked at the documentation under the "Users" section, but I didn't find anything. Any suggestions?