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

2
votes
1answer
138 views

Got a Bad Status Line

Since about 10 AM US-CDT on August 8, 2015, I've been getting ('http protocol error', 0, 'got a bad status line', None) on a /users/{ids}/associated query after several successful such queries ...
10
votes
1answer
244 views

Why is my API quota not resetting after UTC reset?

According to How API Keys Work, the default daily API limit -- which is per site, per day -- is 300. I started with 300, as expected, but over a period of days, I've noticed that the remaining quota ...
3
votes
1answer
276 views

Can the redirect_uri contain port number?

Is it possible to have the redirect_uri contain a specific port? For example: example.com:8080 Assuming that example.com is my registered domain, is the 8080 allowed? I have tried to put it as part ...
2
votes
1answer
105 views

Wrapper implementation method to get user notifications in Stack Exchange?

I'm trying to build an app that requires me to get the user notifications for a particular Stack Exchange user. Now, I'm trying to use Java to accomplish this and I came across this wrapper library: ...
0
votes
1answer
205 views

Error on Authentication - App Secret Doesn't match

I'm using the explicit OAuth flow and am getting errors when using the "code" value returned after a successful authentication. Can anyone post a sample HTTP POST with a redacted secret value? ...
0
votes
2answers
144 views

How to search my threads based on some key words?

As I have already many threads in some StackExchange sites, sometime I would like to be able to search among them, for instance, based on some key words. Does anyone know how to do that? Thank you!
-1
votes
0answers
21 views

What is stack app post [duplicate]

When I try to upvote or downvote or add an answer using the Stack Exchange API, I get: { "error_id": 403, "error_message": "Applications must have a registered Stack Apps post to write", ...
3
votes
1answer
226 views

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

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 ...
0
votes
1answer
20 views

How to get question body (markdown) in the API response using filters?

Using withbody filter as suggested in this thread (How to get Question/Answer body in the API response using filters?) returns body as HTML. How do I get the original markdown?
0
votes
1answer
184 views

How to get tags using the API?

I have a requirement in my application to show the technical skills (tags) in auto-complete format like Stack Overflow has. Is there any example to get the tags from Stack Overflow using JavaScript ...
0
votes
0answers
24 views

Making request to api.stackexchange.com with angular $http

I am trying to make request to api.stackexchange.com ask explained here. Could some one please explain how grant api key for [auth required], and how to make angularjs $http request using this key (a ...
9
votes
1answer
1k views

Looking for a beginner's tutorial to using the API

I see the Stack Exchange API but I'm unable to understand it. I don't think there is any fundamental tutorial showing how to use Stack Overflow fully in the API documentation. I want some fundamental ...
4
votes
0answers
410 views

Supported Platforms

What platforms are supported for use with the Stack Exchange API? In short, anything that can make a GET request to the API servers and supports JSON/JSONP & GZIP. (JavaScript, Python, PHP, Java, ...
0
votes
0answers
14 views

Getting all the answers for a question in Py-StackExchange

How do I get all the answers for a question in Py-StackExchange? m=s.user(id) for i in range(0,len(m.questions.fetch()): print m.questions.fetch()[i].answers #returns [] even if answer ...
3
votes
1answer
60 views

How can I get a user's Meta site details in the API call?

This query returns the details of the Main sites only:         /associated-users#ids=2855348 How can I get the Meta site details also in the same query? Do I need to add any ...
2
votes
1answer
51 views

Unable to decode HTML entities in the API response?

I am trying to decode HTML entities from the JSON data returned by the Stack Exchange API but it's not working. I have used both html_entity_decode and htmlspecialchars_decode but it doesn't effect ...
1
vote
1answer
340 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 ...
2
votes
0answers
25 views

User sort by last_modified_date always return errors

I am using this API to get users info sorting by last_modified date, ...
3
votes
2answers
49 views

When asking/answering a question on SE sites; Is there a way to fix the page in place so that you only see the displayed output as you type?

I am a touch typist and would like to know if there exists a way to type a question\answer with all the necessary formatting without the page automatically scrolling back up to where you input the ...
3
votes
1answer
28 views

Is there a way to specify how long I want an access token to be valid for?

I am following the explicit authentication path. I am not passing no_expiry as part of the scope. After the final POST step, I receive back an expires value of 86399 (just shy of a full day). It ...
1
vote
1answer
19 views

Get users based on location?

I want to get site users by their location but I don't see any method for that. And it's not possible with filter too. Is there any way to get users based on location or is it not possible?
97
votes
4answers
21k views

API “Hello World” code

The Stack Exchange API is based on HTTP and URLs, just like the web page you're browsing now. Except instead of HTML, the responses are all in JSON. Let's say we wanted to call the /info method: ...
1
vote
0answers
15 views

Where can I found all the type objects in the Stack Exchange API? [duplicate]

Where can I found all the type objects in the Stack Exchange API? In the docs, I can't find any section that lists all of them. I am trying to make a Wrapper Class in C#, so I need a complete list of ...
2
votes
1answer
67 views

How can I create a filter from scratch using filter/create?

I want to create a filter from scratch to get just the information I can use: error_id quota_remaining api_site_parameter The first two are part of the wrapper and the last is part of .items, so I ...
56
votes
2answers
11k views

How to list your application/library/wrapper/script here

If you've created an application, script, or library for use on the Stack Exchange network, that's fantastic! Now publicize it by creating a question with the correct tag: app ...
0
votes
0answers
35 views

Stackoverflow Javascript Authentication error

Using the Stack Overflow javascript authentication API, I get this error: Application Login Failure An error occurred while login into an application. Error Details error description: ...
2
votes
0answers
46 views

Can I see my past upvoted questions in handset APP?

It's not hard to dig out questions upvoted by myself through the PC website. But I cannot find any access to them in the ios app. I guess neither does android app. Did I miss something or is it a ...
3
votes
1answer
30 views

The /tags query is not giving me the correct results between two dates?

I'm trying to get the yearly total number of questions that have the tag browserify. I can see that there are questions tagged from this year like this one and that one. The site reports that there ...
5
votes
1answer
107 views

Complete list of sites to @include / @match into my script?

This question aims to serve as a reference list of all current Stack Exchange sites for use in scripts.
1
vote
1answer
46 views

I want a python program example for more requests a day

How can I make about 10k requests on https://api.stackexchange.com/2.2/users/+J+/questions?order=desc&sort=activity&site=stackoverflow using python program in a day. Where J is variable ...
0
votes
1answer
49 views

Hide the Stack Exchange sidebar

I would like to gain some screen estate when viewing Stack Exchange sites. The sidebar seldom shows information I need. I know most help content displayed when composing questions. Most related ...
2
votes
1answer
40 views

Getting “application not configured for implicit grants” error trying to setup website

I had a developer setup StackExchange auth for a site last year and that still works fine. I have cloned that site and am in the process of changing out all of the relevant names and keys to the new ...
3
votes
1answer
37 views

Can I get information about a user with their network ID?

My network profile's ID is 4337810. Is there any way to get information about users with their network ID from the API? So stuff like username, location, profile image, etc...? There doesn't seem ...
2
votes
1answer
29 views

Advanced search doesn't return expected results when using min & max (dates) together?

I want to use the Advanced Search API to get the same results as the Stack Overflow site search. With it, I can see new questions on 11/10/2015. When I tried to craft a query using the Advanced ...
3
votes
1answer
35 views

Reputation_change has the historical total rather than the daily delta?

I'm trying to use the reputation API to get the recent reputation delta for a given user. For example, looking at recent entries for /2.2/users/21539/reputation, one has: { on_date: 1447018487, ...
1
vote
0answers
38 views

How do I get an access token so that I can ask a question via java?

I want to be able to ask a question but do it through a Java UI that I am working on. I know that this requires an access token but I honestly don't know what this entails. Any help would be ...
1
vote
0answers
39 views

Full-width stackexchange site

All the stackexchange sites are designed to take up a width of 1000px or less. Can this be expanded to have the content always try to take up all available horizontal space?
3
votes
0answers
58 views

Login screen without web browser

I'm playing around with the Stack Exchange API, and have just received my first response from the server using the "Hello World" example. The next step is to allow the user to log in somehow. From ...
1
vote
0answers
19 views

Not getting a JSON response on authenticated API call? [duplicate]

through stackoverflow api , i trying to get user basic info like reputation etc. I am successfully getting access token but when i trying to get user info though ...
3
votes
1answer
65 views

OAuth procedure for standalone user?

Background: I will be using the Stack Exchange API to make queries to stack overflow for a list of questions along with their details for a particular month etc for analysis purposes. So this would be ...
0
votes
1answer
44 views

How to get all questions with a specific tag between certain dates

I would like to get all questions created and tagged with tag "R" between 2 dates. I'm using parameters: tagged = R, sort = creation, fromdate and todate set to appropriate dates and site = ...
3
votes
0answers
41 views

Stack Exchange notification app for Windows 10 (integration with Action Center)

Is there a Stack Exchange notification app (particularly, the inbox) for Windows 10 that has integration with Action Center? There are notification apps for Windows 7 that I am currently using, but ...
1
vote
0answers
27 views

Bounty question collector

I want to write a script to collate all bounty questions from all Stack Exchange sites. I have heard of Tampermonkey and I have no server access. Could someone explain how I should go about writing a ...
2
votes
1answer
108 views

Has calling StackAuth changed for Apps?

I started upgrading to v1.1 and have an interesting problem I can't seem to resolve. When calling http://stackauth.com/1.0/sites using a .Net WebClient I receive responses successfully and I am able ...
1
vote
2answers
68 views

1.1 sites - SO and MSO

In 1.1 with the new related sites, is it intentional that MSO and SO are not related?
5
votes
1answer
41 views

Do calls on the 1.1 API and the 2.0 count against each other's limits?

Do the old 1.1 API and new 2.0 share limits? Or do my Stack Apps running on 1.1 calls not affect my limits for apps running on 2.0 calls?
1
vote
1answer
24 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 ...
29
votes
1answer
1k views

Announcing API version 1.1 and Roadmap

As has been announced on the blog, we're rolling out a minor revision of our existing read-only API. While the blog post gives some high level details, I figured [app] developers would appreciate ...
1
vote
0answers
2k views

Stack Overflow Android application to answer questions

I am a regular answerer on Stack Overflow, and I have been trying to use my Android phone for my workflow, but unfortunately the mobile Web application is very cumbersome to use: for example, the ...
2
votes
1answer
25 views

Top answers for a tag is returning user details?

I am expecting top answers for a particular tag here. But it returns user details. Is anything wrong here? Using: /2.2/tags/java/top-answerers/all_time?site=stackoverflow