Trending questions
2,813 questions
109
votes
3
answers
24k
views
API Documentation and Help
Method List
All API methods can be found at https://api.stackexchange.com/docs.
Global Method Parameters
All methods accept the following parameters:
type=jsontext: responds with mime-type text/json.
...
1
vote
1
answer
5k
views
JSONDecodeError: Expecting value: line 3 column 1 (char 3)
I am trying the following simple code to get JSON from the Stack Exchange API and it gives me the following error:
JSONDecodeError: Expecting value: line 3 column 1 (char 3)
Here is my script:
...
3
votes
0
answers
2k
views
Using scripts on iOS with the Userscripts app never seem to work?
I'm using the Userscripts app for mobile Safari. My phone is an iPhone 13 running 15.6.1 operating system. I use this app for other scripts. So it does, at least for some things, work as expected.
I ...
1
vote
0
answers
133
views
Requesting Assistance for OAuth Implementation in the Stack Overflow API
I'm attempting to set up OAuth in the Stack Overflow API. I've created a Stack App and obtained the Client ID and Client Secret. However, I'm encountering difficulties in the process and require ...
1
vote
0
answers
170
views
Spam Detector: Detect spam posts! (section just to test it: 736-_555 /007//] [3)
Note: There is something in the title to test this tool.
About: (required)
This searches for spam on a given site and places the links in an MD file.
Screenshot / Code Snippet: (highly recommended)
# ...
9
votes
1
answer
201
views
Question and Answer Icon Annotations in Reputation History
Description
This UserScript makes it easier to differentiate post type in the reputation history (/users/:user-id/username?tab=reputation) by adding Q and A icons as visual indicators.
Specifically, ...
140
votes
3
answers
31k
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:
https:...
6
votes
2
answers
349
views
Save the waffles! Bringing back custom 404 pages to Stack Exchange
As per Aaron's answer, the change is temporarily reverted due to the backlash, so the userscript is not necessary for now. To compensate for the loss in usefulness, I decided to add per-site user ...
7
votes
2
answers
638
views
After successfully retrieving 180 pages, the API gracelessly, semi-silently, fails
I'm trying to synchronize tags using the Stack Exchange API and this works for about 180 pages, but around 180 pages it always ends with an exception that seems to indicate that there is no HTTP ...
2
votes
0
answers
102
views
Randomly getting an 404 no method error when calling the question endpoint
When calling the question endpoint for a given number of communities, I have been randomly getting the following error:
{"error_id":404,"error_message":"no method found with ...
4
votes
1
answer
190
views
Stack Overflow for Teams support
I am reading this documentation https://stackoverflow.help/en/articles/4385859-stack-overflow-for-teams-api where they mention the need to create a PAT to access StackOverflow for Teams API (https://...
2
votes
0
answers
113
views
Get fkey button: see your chat fkey without inspecting the source!
Screenshot / Code Snippet
Userscript
// ==UserScript==
// @name Get fkey
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Get your Stack Exchange chat fkey
// @...
7
votes
0
answers
365
views
Convert Stack Exchange posts to your own website
Screenshot - Website Home Page
When you visit the Pippim Website, which you can quickly rebrand as your own, the Home Page on GitHub Pages looks like this:
Screenshot - Convert Stack Exchange to ...
3
votes
0
answers
354
views
Stack Explorer (Android app)
This Android app randomly selects pages from Stack Exchanges sites based on tags selected by the user, to help discover new interesting content and learn new things.
You can install it here:
https://...
101
votes
9
answers
4k
views
Official keyboard shortcuts
This script is no longer necessary; please visit Announcement: Keyboard shortcuts are now integrated into the site for an updated status on this.
Screenshot
About
This is the official keyboard ...
3
votes
1
answer
387
views
What write in app access for sending data
Here is my app's code:
However, I get this error:
9
votes
0
answers
173
views
2022: a year in moderation
As we say goodbye to the old year and welcome the new one, we have a tradition of sharing moderation stats for the preceding calendar year.
As most of you here are aware, sites on the Stack Exchange ...
5
votes
0
answers
402
views
Stack Me First - Highlight & List all the linked answers, comments & linked questions related to the current user
Stack Me First
A browser extension to Highlight, Sort & display a list of all questions, comments or links answered and upvoted by the current user.
About
This Plugin has 3 components to it
1. ...
8
votes
2
answers
327
views
Wouldn't it be nice if we had a Community Bulletin?
Our site is a bit special and different in some places compared to "regular" sites in the Stack Exchange network.
For example:
We are are both a Meta and a Main site.
We have a special API ...
2
votes
1
answer
208
views
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.
39
votes
10
answers
5k
views
OBSOLETE - Stack Exchange Notifier Chrome Extension
#Obsolete: Links are dead; no source code.
About
Stack Exchange Notifier is a handy extension for Google Chrome browser that displays your current reputation, badges on Stack Exchange sites and ...
17
votes
0
answers
445
views
Sloshy the Thawman: A simple bot for keeping Stack{Overflow,Exchange} chat rooms alive
On https://chat.stackoverflow.com/ and https://chat.stackexchange.com/, chat rooms will freeze after some two weeks of inactivity. While this is fine and status-bydesign, some rooms are worth keeping ...
9
votes
2
answers
291
views
Userstyles to (semi) revert the new Top Questions design
These userstyles attempt to revert the unpopular changes introduced to the Top Questions pages.
See
Announcement ~ New post summary designs on greatest hits now, everywhere else eventually
Source ...
2
votes
1
answer
101
views
Helper module for SE API for Nushell
Following on from Calling SE APIs with Nushell (basic overview), I have developed a helper module for calling SE API's in Nushell. The library itself is short and included in the first answer. Usage ...
5
votes
1
answer
128
views
What are the rules for Discord bots posting to Stack Exchange?
I'm a member of a community that has its own Stack Exchange site and I'm wondering where I can find some insight into the rules of creating a Stack App that does the following:
We have a pretty strong ...
8
votes
0
answers
231
views
Faster Answer Links
This is a convenience user script. It prevents page reloading when following links to answers that happen to be present on the same page, and to their comments; instead, it simply scrolls to the link ...
9
votes
6
answers
464
views
StackMarks™ - Better bookmarks for a better experience
v1.4.2, 2021/6/10 UTC
Preview
Notice: There have been breaking changes to the UI. This preview is outdated (per version 1.0). View the most updated preview in the user manual at the bottom of this ...
10
votes
1
answer
4k
views
How can I get the access token to use the StackOverflow Rest API as an authenticated user?
I am trying to understand how the StackOverflow Rest API auth works. Just created an app to get an access token, Would like to use this token to increase my rate limit per day.
21
votes
2
answers
2k
views
OBSOLETE - RankOverflow: A website to calculate your Stack Overflow reputation rank in all leagues
Screenshot
About
Rank Overflow is a website to calculate your Stack Overflow reputation rank in all leagues easily and with one click.
I created this page because I wanted to know my percentage of my ...
13
votes
3
answers
357
views
Activity Indicator - see if you participated in a Q&A at a glance
About
Activity Indicator is a userscript that displays a, well, indicator and some useful stats about your interactions with a given post. Inspired by this feature request, upon opening a post, the ...
3
votes
0
answers
119
views
Fix excessive underlines in high contrast mode
Stack Exchange introduced some excessive underlining in high contrast mode. This is visually very busy and overzealous application of underlines. Literally every link will be matched by their CSS, ...
2
votes
0
answers
122
views
PLACEHOLDER - GPT/AI Post Stats
Scripts to analyze posts for potential GPT content. Note that this is not for AI training - Simply looking for suspect GPT/AI content.
8
votes
0
answers
91
views
We’re collecting feedback on how we can improve the Stack Exchange API
The Stack Exchange API allows users to programmatically query and connect to the Stack Exchange Network of sites.
The API is currently in version 2.3. We’re collecting feedback from users of the API, ...
53
votes
11
answers
5k
views
OBSOLETE - Soapi.CS : A fully relational fluent .NET Stack Exchange API client library
Soapi.CS for .Net / Silverlight / Windows Phone 7 / Mono
as easy as breathing...:
var context = new ApiContext(apiKey).Initialize(false);
Question thisPost = context.Official
.StackApps
....
1
vote
2
answers
1k
views
Fetch all questions of a particular tag from the Stack Exchange API in Python
I am trying to fetch all questions of the Swift tag from Stack Overflow. I created the query using https://api.stackexchange.com/docs/questions and wrote a simple wrapper in Python.
def fetch_question(...
6
votes
2
answers
215
views
(Should we) add [Staff] labels to staff member flairs?
This answer is posted by a staff member, but you have to go to the user's profile to actually see that.
Can we add [Staff] labels to staff member flairs like on all meta sites? [♦ Mod] labels aren't ...
56
votes
8
answers
3k
views
<kbd>, Superscript and Subscript, markup shortcuts
About:
This script adds buttons and keyboard shortcuts that make it easy to add/remove:
<kbd> tags
Superscripts and subscripts
<del> tags
<br> tags
 
when editing posts.
...
2
votes
0
answers
54
views
Is there a way to ask general questions within the Stack app?
I just joined Stack Exchange and am using the Android app called "Stack for Stack Overflow" by Tyler Wong. When I try to post a question, I'm forced to select from a number of topic ...
11
votes
0
answers
440
views
OBSOLETE - Dragon: an automatic editor
OBSOLETE: No longer maintained, and I haven't used it for ages either. May or may not work as long as v2 of the API remains supported
Screenshot
My revision history currently contains a lot of ...
1
vote
0
answers
138
views
PLACEHOLDER - Test App
The App is currently under development and / or only meant for private use.
When the author of this App, Script, or Library is ready, they will update this post.
5
votes
1
answer
166
views
Is there a userscript to put links to Teams back in the left nav?
Teams are moving to their own domain and as such, my freemium team where I keep some useful-for-work knowledge has now disappeared from the left nav, which annoys me.
I'm looking for a userscript that ...
1
vote
1
answer
469
views
Is there a way to get a user's account ID given his site's user ID?
I'm trying to modify this userscript of mine to make it work on all sites but I couldn't find a way to get the account ID (i.e., network profile ID) for a user.
Is this possible?
3
votes
1
answer
78
views
getting answer body and question body in same request [duplicate]
I'm trying to get only questions and answers.
I filtered the fields, to get also the body of answers, but I don't get an answers JSON object.
What am I missing?
I know about this question, but I don'...
11
votes
1
answer
537
views
Customizable, short URLs for Stack Overflow profiles
Demo
Why
When building my personal site, I realised that SO seemed to be one of the (or rather, the only) platforms that didn't allow users to create a short, username-based link —
After a quick ...
9
votes
0
answers
249
views
Custom Sidebar Links
Screenshot
About
Custom Sidebar Links is designed for adding user-selected links to the sidebar. By default, it includes a link to the Stack Overflow Teams website, as well as a link to Google. The ...
5
votes
1
answer
154
views
What is the latest version of the Stack Exchange API?
What is the latest version of the Stack Exchange API and its release date?
The document which I referred is for v2.3.
3
votes
0
answers
58
views
Bring focus to inline tag editor
Description
Focus the inline tag edit tool1 when opened. Allows for using keyboard immediately to interact with the tags.
Press Escape to cancel the editing or Enter to save.
1Part of the moderator ...
2
votes
1
answer
225
views
Is there a way to use the API without using localhost or a web domain?
I'm developing an SO chrome extension in React with TypeScript.
I've been reading the guide on how to use the API with OAuth and it looks fantastic for what I'm trying to do.
The problem is that the ...
4
votes
1
answer
116
views
Padding missing between thumbnails and other app/script information
On the Apps and Scripts tabs, the thumbnails and the rest of the information touch each other:
This didn't use to be the case, could you please re-add some padding?
40
votes
7
answers
5k
views
Fast Multi Platform Data Dump Import for SQL Server (2000/2005/2008), SQLite and MySQL
UPDATE:
Both soapi.info and skysanders.net have been offline for a while.
The application readme file and hosting will be moved to http://soapi.info/tools/soddi.aspx.
Links are in the readme text ...