Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
6 votes
1 answer
161 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 ...
Rahul's user avatar
  • 223
3 votes
1 answer
105 views

API returns the last activity date even if asked not to

Using the /questions method, I tried to get upvote and downvote counts, along with question Ids. This is the request I sent: http://api.stackexchange.com/2.2/questions/857455%3B857454?site=math&...
user avatar
17 votes
1 answer
255 views

List of Votes by Authenticated users

In the API documentation for the question type, it says that you can access, for a specific question, whether or not the authenticated user (in the private_info scope) upvoted/downvoted the question. ...
Nick Peterson's user avatar
7 votes
1 answer
683 views

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

I have followed the documentation and used explicit OAuth 2.0 flow for access_token generation. And I have gone through all 4 steps defined under explicit OAuth 2.0 flow with scope=no_expiry. Then I ...
Sanjiv's user avatar
  • 325
6 votes
2 answers
1k views

StackExchange API Java SDK

This project aims to provide a Java wrapper to the Stack Exchange API. SDK supports Stack Exchange API V2.2 Getting Started There are two interfaces to the library. Query Interface Facade ...
Sanjiv's user avatar
  • 325
0 votes
1 answer
66 views

Are the "body", "comments" and "answers" parameters supported in the API version 2.x?

Earlier with version 1.x, the parameters: body, comments and answers etc. were available. But these don't seem to be supported with API version 2.x. Are these parameters not supported in new API? Are ...
Sanjiv's user avatar
  • 325
5 votes
1 answer
117 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?
user1934044's user avatar
8 votes
1 answer
2k views

How to make a Stack Exchange API call, using my key

I have a Meteor application and I'm making API calls like: var urlString = "http://api.stackexchange.com/2.2/users/"+surl; HTTP.call ("GET", urlString, {params:{site:"stackoverflow"}}, function (...
Sasikanth's user avatar
  • 183
5 votes
0 answers
275 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 ...
userxyz's user avatar
  • 151
4 votes
2 answers
253 views

Is it possible to access data in real-time using the Stack Exchange API?

I want to show an animation of: Questions being asked and answered in the most popular tag Comments being posted New users joining All in real time. Is there access to real-time data?
Rakesh Adhikesavan's user avatar
6 votes
1 answer
86 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 See ...
A.L's user avatar
  • 308
1 vote
0 answers
518 views

OAuth login fails for Stack Exchange and Facebook, but not Google

I'm integrating with Stack Exchange API on iOS 6 & 7. To authenticate, I load up a UIWebView with the OAuth page. Google login works well, but Stack Exchange and Facebook do not. Are these ...
Pwner's user avatar
  • 185
2 votes
2 answers
292 views

How to set the width of an image in the body of a question?

I used the questions/{ids}/edit to add a hyperlinked image at the end of a question. It works if I use the default dimensions of the image. However, if I specify the width using width="320" or style="...
Pwner's user avatar
  • 185
5 votes
1 answer
78 views

API documentation pages match some site names incorrectly

The bug is not in the API itself, but in the pages documenting its methods. To reproduce, follow the link http://api.stackexchange.com/docs/info#filter=default&site=math and observe that the page ...
How About a Nice Big Cup of's user avatar
6 votes
1 answer
293 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) { alert('...
Alex Saskevich's user avatar
8 votes
1 answer
729 views

StackExchange API Java wrapper

Screenshot / Code Snippet StackExchangeApi api = new StackExchangeApi(key); api.authorize(authToken); StackExchangeSite siteService = api.getSiteService(StackExchangeSite.STACK_OVERFLOW); Response&...
hsz's user avatar
  • 181
9 votes
1 answer
171 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?
asheeshr's user avatar
  • 193
2 votes
0 answers
109 views

400 when posting a question to the Stackexchange API

I am adding a question via the API and I manage to create a preview of my question (See JSON extract below). { "has_more" = 0; items = ( { "creation_date" = ...
Besi's user avatar
  • 533
6 votes
1 answer
1k 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: http://api.stackexchange.com/2.1/questions?fromdate=1391756400&order=desc&site=stackoverflow&...
reectrix's user avatar
  • 163
2 votes
1 answer
118 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 my_favourite_guy....
Adeel ASIF's user avatar
3 votes
1 answer
215 views

Getting global information (Stack Exchange) about a list of users

I'm working with the API for several weeks (see my app here) and I'm trying to get the username of a particular user from its Stack Exchange ID. It's possible by querying /users/{ids} but it returns ...
A.L's user avatar
  • 308
6 votes
1 answer
676 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 ...
Sachin Jain's user avatar
3 votes
0 answers
80 views

Why is there a difference between "questions" and "search" in API?

I have a query to find the number of questions tagged java from 2012-08-01 to 2013-08-01. Running this using both /questions and /search produces different results: https://api.stackexchange.com/2....
Sarath Saleem's user avatar
1 vote
0 answers
62 views

Has someone implemented code(in javascript) to get last seven days consolidated reputation thorough API?

I am trying to get user's reputation for last seven days. I want to get total reputation user has earned on specific day. Has someone implemented a way to do this in javascript? I know I can do this ...
Nikhil N's user avatar
  • 111
6 votes
0 answers
239 views

localhost API key receives Curl error when retrieving access token

I have registered two apps -- one that will redirect to my website and the other that will redirect to a localhost server that I have running so I don't have to test my code on the site. I have ...
austin's user avatar
  • 171
2 votes
1 answer
82 views

Advanced search API not returning data for "phonegap" tag

I am trying to gather results from the API for the tag phonegap but the API is not returning any data. I am using /search/advanced and get nothing back for November: { "items": [], "...
Rod Burns's user avatar
  • 123
4 votes
0 answers
104 views

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

The following URL is first hit when a user clicks on Login: https://stackexchange.com/oauth/dialog?client_id=202&redirect_uri=https%3a%2f%2fstackexchange.com%2foauth%2flogin_success&scope=...
Prasanna's user avatar
  • 348
1 vote
1 answer
45 views

Can I search for the most favoured questions via the API

This came to me after reading this post. I had a look at the API page and I wanted to find a way to search for the most Favoured questions. Is there a way to do this? I tried to manipulate the URL ...
Deesbek's user avatar
  • 111
11 votes
0 answers
345 views

Stack Exchange Topbar Tools

About Ever stared at that almost-black1 bar at the top of the page and thought "not awesome enough"? Well, think no longer! Stack Exchange Topbar Tools is a userscript that contains an extensible ...
michaelb958--GoFundMonica's user avatar
3 votes
1 answer
5k views

How to convert a (javascript) date to the API timestamp format?

When I am using this page for the Stack Exchange API /search path, I can see that it is generating time-stamps in this format: fromdate=1380326400&todate=1380412800 What is this date format? How ...
Sarath Saleem's user avatar
4 votes
1 answer
76 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 ...
Rahul's user avatar
  • 223
6 votes
0 answers
112 views

The "advanced search" path returns very wrong results for the `q` parameter

I'm trying to search for a string. It's a hardware identifier 10ec:8168 and should be unique to that make/model of chip. Any questions that mention is should be relevant. But compare the site search ...
Oli's user avatar
  • 253
3 votes
1 answer
540 views

Receiving error "Unexpected domain on proxy URL"

I am currenty trying to write my first ever stack exchange application and was using the SE Jaavascript SDK v 2.0 for this purpose. I am stuck on the point of authenticating the user. I followed the ...
Prahalad Deshpande's user avatar
1 vote
0 answers
257 views

/oauth/access_token not redirecting back to my redirect_uri

I am trying to implement Stack Exchange using oAuth 2.0. I am able to get CODE but, when I try to get access_token through this code: <?php if(isset($_GET['code'])) { ?> <form method="...
Amit Parmar's user avatar
1 vote
1 answer
66 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, ...
user avatar
18 votes
1 answer
278 views

Accessing Authenticated User's Close/Delete History

I'm working on the PHP chatroom's cv-pls backlog UI. Many users and myself would like the ability to track which questions we have already handled though close/delete votes. To be able to do that I ...
kittycat's user avatar
  • 507
14 votes
1 answer
168 views

Give us a site's API name in the list of a user's sites

In the /me/associated method, I get back a bunch of JSON - but the api_site_parameter name is nowhere to be found. Why? It's kind of important. Could we have it?
user avatar
0 votes
1 answer
52 views

Support for OR constraint when querying questions based on tags [duplicate]

Right now, there is no way (as far as I know) to query for questions based on multiple tags using an OR constraint. You can query for questions tagged with multiple of these tags, but not with one or ...
tolgap's user avatar
  • 103
1 vote
1 answer
104 views

Most of the url are missing the protocol

Maybe you were trying to fix the other "bug" I've pointed out, but now most of the url for the icons are missing the protocol! { "site_type": "main_site", "name": "Stack Overflow", "...
Enrichman's user avatar
  • 133
5 votes
2 answers
158 views

Stack Exchange API is returning boolean(false) For 'is_answered' On Question With Accepted Answer

When you view this question you see a closed question which has an accepted answer. When you get the API info for it you get this: ["question_id"]=> int(17466804) ["creation_date"]=> int(...
kittycat's user avatar
  • 507
2 votes
1 answer
78 views

Stack Exchange API is returning non-existant/incorrect notices for questions

When you view this question you do not see any notices other than the protected notice at bottom. Also, you are able to edit the answers and question (provided you have the privilege). However, when ...
kittycat's user avatar
  • 507
14 votes
1 answer
149 views

Stack Exchange API is not returning the close vote counts for questions

When you visit this question (with proper privs) you can see that there are 2 close votes cast for it. However, if you access the information for this question using the Stack Exchange API you get ...
kittycat's user avatar
  • 507
2 votes
1 answer
89 views

Top questions by tag and period

I want to get via API the most voted questions from the latest week (for example) from a specified tag (php, for example). How can I do this?
Ionică Bizău's user avatar
4 votes
1 answer
90 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 ...
Tim Stone's user avatar
  • 4,676
3 votes
1 answer
68 views

In the API, User object, what are all these reputation properties?

I am going through the JSON that is resulting from calling the Stack Exchange User API. I see a bunch of reputation fields. private Number reputation; private Number reputation_change_day; private ...
Nicholas DiPiazza's user avatar
2 votes
1 answer
60 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?
daviesgeek's user avatar
2 votes
1 answer
49 views

How can I get a list of favorite/ignored tags?

I can not find an API method method that would provide me with a set of favorite/ignored tags for a given user. Is there such a method? If not, is there a recommended way to get this information?
Andrey Shchekin's user avatar
1 vote
1 answer
64 views

CDN redirect for the API's JavaScript SDK is incorrect

The API's JavaScript SDK is listed as https://api.stackexchange.com/js/2.0/all.js. However, GET request produces the following response: Status Code: 301 Moved Permanently Location: https://api-...
Andrey Shchekin's user avatar
2 votes
1 answer
102 views

Maximum length of "about me" in the Stack Exchange API?

What is the Maximum length of "about me" in the Stack Exchange API? The one from the /me path. And in general, where are the length limits published? If anywhere?
Nicholas DiPiazza's user avatar
0 votes
1 answer
89 views

Searching answers with API

I'm very new to the API and I was looking for a way to get answers of a user. E.g. something like if you click on a tag in your tags section of your profile. For questions this seems to be quiet easy ...
rekire's user avatar
  • 195