Questions tagged [api]
Questions about the Stack Exchange API *only*. If your question concerns any other API, do not use this tag. For bugs, please (also) use the version tag, EG [api-v2.2], that the bug applies to.
74 questions with no upvoted or accepted answers
2
votes
0
answers
54
views
Add privilege_type to the privilege API results
The /me/privileges, /users/{id}/privileges and /privileges APIs are currently returning the fields of reputation, description and short_description.
Sample result as:
{
"reputation": 1,
"...
2
votes
0
answers
75
views
How to get more details flags from questions?
Short question:
How to get the flags that led up to a question being closed?
When we are going to flag a question, we have to look at /questions/{id}/flags/options first, and I can see
The option ...
2
votes
0
answers
240
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: could ...
2
votes
0
answers
322
views
Array boolean values are returning empty
I am trying to convert a JSON array to a PHP array, and the boolean values are being lost. I think I need to loop round using foreach() and cast the items as they are placed in to the new array, but I ...
2
votes
0
answers
72
views
How can I show recently answered questions and answers in my blog site?
I would like to showcase some of my Stack Exchange answers in my blog site. I couldn't find a relevant post on how to implement this.
Also, from what I can see, in order to use the API a user needs ...
2
votes
0
answers
96
views
How switch user accounts on the same device?
The Problem
I'm integrating Stack Exchange API on iOS (iPhone). I've run into a situation where I can't log out and authenticate with a different account. I am stuck with the first account that I have ...
2
votes
0
answers
81
views
Version used by StackExchange API if version is not specified in api calls
I have used some StackExchange API calls in my chrome extension - StackEye. With the release of API 2.0, I want to update the api calls so I wanted to know
New things available in 2.0+ which were not ...
2
votes
0
answers
278
views
Stack Overflow question downloader in markdown or HTML format?
I want to download a series of questions from Stack Overflow; is there a tool or API that can do this? The download could be in markdown or HTML format. I basically want an offline reference for those....
2
votes
0
answers
78
views
Clarification on related tags for a tag returned by API
I was assuming that the related tags API call, returns all the tags that co-occur with the input tag. But a closer look at the API documentation indicate the following:
Returns the tags that are ...
2
votes
0
answers
39
views
FAQ's URL for any SE Site?
Since I cannot find anything relevant in the API (I guess /stats endpoint would be most relevant):
Is it safe to assume that every SE Site has its FAQ at location: site_url/faq ?
2
votes
0
answers
89
views
Would it be possible (in a future API release) to combine queries?
I've been doing a lot of work on StackMobile lately and I made the following observation:
Many of the pages (especially the ones that display a user's profile) make a number of requests to display ...
1
vote
1
answer
13
views
Does Stack Overflow have an MCP server?
Does Stack Overflow have an MCP (model context protocol) server?
1
vote
1
answer
74
views
Obtaining all tagIds given a list of tag names in API v3
I am a Stack Overflow for Teams app developer, and given this recent announcement that API v3 is being extended to the public platform, I am hoping we can start asking API v3 questions here.
Given a ...
1
vote
0
answers
38
views
Obtaining all questions and their answers for a given set of tags in API v3
I am a Stack Overflow for Teams app developer, and given this recent announcement that API v3 is being extended to the public platform, I am hoping we can start asking API v3 questions here.
Given a ...
1
vote
0
answers
41
views
Add API method for network-wide search
Just like stackexchange.com has a networkwide search, it would be nice to have an equivalent of excerpt-search which searches the entire network at once. That would save me 360 calls (per-site metas ...
1
vote
0
answers
752
views
How does 1 request every 5 seconds exceed the 30 requests per second limit?
I'm doing a run every 5 seconds for this API call:
url = "https://api.stackexchange.com/2.3/questions/no-answers?pagesize=30&fromdate={date_today}&order=desc&sort=creation&site=...
1
vote
0
answers
153
views
Hidden page tracks Read/Unread Inbox items better than API or Inbox?
How does this hidden page (stackexchange.com/topbar/inbox) know which Inbox notifications I have/haven't opened?
Both the drop-down inbox and the API (ie, api.stackexchange.com/docs/me-inbox) seem ...
1
vote
0
answers
241
views
Attribute error while using the stackoverflow api wrapper for python on IDLE
This is the code that I use to access Stack Overflow:
from stackexchange import Site, StackOverflow
so = stackexchange.StackOverflow()
for q in so.questions(pagesize=50):
print q.title
It runs ...
1
vote
0
answers
581
views
Why does the web service fail sometimes for the Stack API?
It seems to have happened all of the sudden. My calls to the web service fails. What is the limit of calls per day with a registered app? I can't seem to remember where it says that, I can't seem to ...
1
vote
0
answers
87
views
Would it be a problem if my server polls the API every minute or so about 1 of my questions on my list?
I know that officially identical requests cannot be done in more than one minute.
But would it be a problem if I had a server which had a list of question IDs (say 10 per user, so reasonable max 10,...
1
vote
0
answers
80
views
Wrong API response?
Well, if you look here, you'll see i have
"down_vote_count": 94,
But if you look here on my Stackoverflow profile, you see that my down vote count is 64.
For those who would ask if I'm sure ...
0
votes
0
answers
69
views
MyStackBot – A Simple Bot to Post and Fetch Stack Overflow Answers via API
App Name: MyStackBot
Client ID: 34374
API Key: rl_eaYQSUfy93Eei7G5Z8R8E8t9d
This app allows a user to:
Fetch their answers from Stack Overflow
Post new answers to questions using the Stack Exchange ...
0
votes
0
answers
35
views
My Stack Overflow Answer Posting Bot
I’ve built a tool that allows programmatically posting answers to Stack Overflow using the StackExchange API.
🛠 What it does:
Uses the /answers/add method to post HTML-formatted answers under ...
-2
votes
0
answers
57
views
PLACEHOLDER - MCP Bundles: Stack Exchange Integration
MCP Bundles is a cloud-hosted platform that connects your tools to AI assistants (ChatGPT, Claude, Cursor, Perplexity) via the Model Context Protocol (MCP). We provide 4,000+ tools in MCP-ready ...