Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It only takes a minute to sign up.

Sign up to join this community
Anybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top

Explore our Questions

Question up-voting is not working from my code?

I am trying to upvote a question using the Stack Exchange API in android, via the /2.2/questions/{questionID}/upvote route. But in the log, it's just showing something like: org.apache.http.me…

IGB Stack Flair – A dynamic flair for Stack Exchange sites

IGB Stack Flair at SourceForge How to include IGB Stack Flair in your web page How to integrate IGB Stack Flair into your Wikipedia user page: see Gerold 'Geri' Broser's en:Wikipedia user page see …

How do I access the greatest hits (questions) via API v2.2.?

The greatest hits (questions) of any stack exchange site (say stack overflow) can be found by visiting the below URL: https://stackoverflow.com/questions/greatest-hits I would want to access these …

Why am I getting a 400 Bad Request error with this code?

I'm using this code (in an async function): let about = await fetch("https://api.stackexchange.com/2.2/me?order=desc&access_token="+token+"&sort=reputation&site=gaming&am…

Cannot authenticate with OAuth2

I was testing an app and suddenly I can't login any more. Neither my app or the Stack App configuration hasn't changed, so I'm thinking this might be a bug on the API side. The OAuth error seems a…

400 - Bad Request - Invalid URL errors with HTML response

Since a few weeks, I'm getting 400 - Bad Request errors now and then, on pretty standard API calls like fetching post details. This is the response I get: <DOCTYPE HTML PUBLIC "-//W3C//DTD …

wrong results of api /search/advanced

I am querying for results of /search/advanced. The request I am sending is https://api.stackexchange.com/2.2/search/advanced?key=`key`&access_token=`access_token`&site=stackoverflow.com&…

The Authentication Problem of WebAuthenticationBroker Class in .NET 4.6

I have a problem when you test the Stack Exchange Authentication API to WebAuthenticationBroker. If you proceed with authentication, such as screenshots it will continue to appear only in progress.…

How do I add a comment to a post through the Stack Exchange API?

I want to add an comment to a specific post so, how do I get its ID and how do I authorize it. I want it to done through the Stack Exchange API interface.

Bugs in API 2.2 "/search/advanced" with a "q" parameter

How can we handle these problems? Result for sort=relevance&order=desc is similar to sort=relevance&order=desc. Very poor caching system: After some queries, you may receive the same resul…

Discrepancy in results size

I just started using the Stack Overflow API. I want to collect all questions related to a specific keyword. My code iterates over all result pages by increasing the &page=N parameter while 'has…

Does a closed and/or deleted Stack Apps post still provide access to the API?

Registering your application as a Stack Apps app is necessary in order to obtain a higher request quota, authentication and write access to the API. What happens if the question is closed because o…

App post got deleted

I'm currently writing an app using the Stack Exchange API. Today I wanted to rework the login component, but after signing in I get the following message: Application must have a registered Stack …

How to get all tags' descriptions from the Stack Exchange API directly?

I know I can get one tag description by request such as "https://api.stackexchange.com/2.2/tags/tag_name/wikis?site=dba". But if I use it more than hundreds of times, I will get a throttl…

Browse more Questions