Skip to main content

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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
74 views

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 ...
8 votes
1 answer
265 views

In last few days I have noticed that questions API returns questions that where deleted hours before the API call. This is a short example, if more logs are need to pin point the problem, please ...
3 votes
2 answers
1k views

I'm working on a developing a browser extension which uses StackExchange API authentication. I was able to successfully implement the authentication for Microsoft edge/Chrome when I added chromiumapp....
1 vote
1 answer
13 views

Does Stack Overflow have an MCP (model context protocol) server?
-2 votes
0 answers
57 views

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 ...
0 votes
0 answers
69 views

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

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 ...
6 votes
0 answers
313 views

Note: this library is not compatible with v3 of the API, and will not be updated to v3 until body_markdown is reintroduced into every kind of post and comment endpoint. This has been requested since ...
2 votes
1 answer
108 views

For the SE API, the endpoints dealing with flags (e.g. /questions/{id}/flags/options) return the flag_option type. However, the option_id values are explicitly stated as being unstable, but it's ...
1 vote
0 answers
38 views

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
1 answer
389 views

Forgive me if this is a dumb question, but I'm just trying the SO API, and have run into a basic problem. If I enter the following URL in a web browser... https://api.stackexchange.com/2.3/questions?...
0 votes
2 answers
166 views

I know that you could technically loop through the answers returned when you ask for /questions/{id} to see if an answer has been accepted, but it would be AWESOME if there was a top level boolean ...
3 votes
1 answer
79 views

Version 2.3 of the SE API does not clearly distinguish between questions that are on Stack Overflow's Staging Ground and questions on its main site. This comment on a SmokeDetector GH issue details it ...
4 votes
1 answer
704 views

I used the following request link to extract data from the Stack Exchange API. But I have no idea how to create "filter" as used in the request line. Please help me understand the creation of such ...
0 votes
1 answer
273 views

This request is responded to with either an error (HTTP status code 400) or an access token of the form access_token=...&expires=1234. expires will only be set if scope does not include no_expiry, ...
3 votes
1 answer
217 views

From this MSO answer: stackexchange.com/sites was just updated today to use a new formula for traffic. Area 51 is still using the old formula, but will be updated soon to use the new formula. ...
27 votes
1 answer
510 views

Could you please provide a way to retrieve deleted questions/answers? Your database contains that data, until you hard delete it, so it would be useful for us to have the chance to play with it. I'm ...
6 votes
1 answer
1k views

I was playing around a bit with Fiddler to capture traffic from the Stack Exchange iOS app. To my surprise, it uses version 2.3 of the Stack Exchange API: I noticed here that it has some extra ...
4 votes
0 answers
352 views

I am developing an image generation bot for chat (for example, chat.stackexchange.com). I can generate the image correctly, but when it comes to posting the image, I have no idea how to upload the ...
2 votes
1 answer
2k views

I am trying to implement OAuth Stack Exchange API via Android app as client. After a successful login from out I get the below URL how do I get or decode the access_token from the hash? https://...
2 votes
1 answer
148 views

According to this question (and its answer), questions and answers are using the same index to determine their ID. In other words: Question with ID #1 Answer with ID #2 Answer with ID #3 Answer with ...
4 votes
2 answers
297 views

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?
13 votes
2 answers
736 views

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 ...
2 votes
1 answer
165 views

I would like to access a list of all Collective Articles on SO. I tried https://api.stackexchange.com/2.3/articles?order=desc&sort=activity&site=stackoverflow which is the sample from here. ...
5 votes
1 answer
195 views

I'm writing JavaScript (Node.js) code that calls the Stack Exchange API. One part of the API is that it may return a non-zero value for backoff, which essentially means "wait n seconds before ...
3 votes
1 answer
78 views

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'...
8 votes
0 answers
91 views

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, ...
3 votes
1 answer
1k views

I am new to Python. I want to extract a user bio, answers, questions they made in Stack Overflow. Can I do that using the API? For example, can I extract the user: name bio and number of questions ...
3 votes
0 answers
119 views

Used for (meta.)puzzling.stackexchange - Creates & edits the corresponding meta posts with information from the main and meta site. E.g. creating a post for the new challenge every 2 weeks and ...
2 votes
2 answers
506 views

I generated an access token for my application and shared it with some people. Now, I wish to revoke the access token and generate a new one. I don't find any way to revoke that token.
1 vote
1 answer
131 views

I'm curious about https://api.stackexchange.com/docs . I looked up and studied the naming convention to make a REST api. I've seen that in the naming convention, don't use verbs and in the case of the ...
2 votes
1 answer
74 views

Does anyone know why some answers are shown with a date before the question was asked? Here are a couple of examples: Why doesn't Java have compound assignment versions of the conditional-and and ...
2 votes
1 answer
183 views

I had written a Java Wrapper for the Stack Exchange API, version 1.x, Which was working perfectly. But, since 12 May 2014, services for version 1.x have been shutdown and my Wrapper stopped working. ...
8 votes
1 answer
1k views

Registering your application or script gets you a higher daily quota and is fairly simply; a step by step guide is documented here: I only need a key, what do I do? However, what if I do want an ...
1 vote
0 answers
54 views

As you can see I am a newbie, and trying to use Stack Exchange API for a school project. I spent 3 hours just trying to understand How to get started. Is there an example for me to follow? or A ...
2 votes
1 answer
876 views

I am brand new to StackApps, so please bear with me for a question that is hopefully obvious to most regular users. As far as I can tell, there is no charge for accessing the StackExchange API. ...
4 votes
1 answer
190 views

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
1 answer
225 views

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 ...
5 votes
1 answer
170 views

I checked docs , there are no endpoints to get total visited days and consecutive days. Is there any way to get them?
1 vote
1 answer
108 views

I'm not sure if I can use Stack Exchange API to build a https://www.gharchive.org like project? I studied the API throttling documentation but I am not sure.
20 votes
3 answers
573 views

Is there an API for uploading images to the StackExchange-specific imgur installation? I could use the main imgur site, but they don't keep the images indefinitely. Use case: It would be ...
1 vote
1 answer
121 views

The api docs: http://api.stackoverflow.com/1.0/help/method?method=posts/{id}/comments The test request. You can see comment itself here, it's four months old, while cutoff date in request is less than ...
2 votes
1 answer
148 views

Is there a way to get a list of X questions/answers with the highest votes up, visits, etc? Say I want to get the list of most voted questions in .NET category (tag) or Java.
1 vote
1 answer
270 views

I'm trying to implement this simple request in Drupal 7 on my local machine: $request = drupal_http_request('https://api.stackexchange.com/2.2/users?order=desc&sort=reputation&site=...
2 votes
1 answer
62 views

I'm trying to use https://api.stackexchange.com/2.3/questions/add method payload = { 'site': 'stackoverflow', 'title': title, 'body': body, 'tags': tags, 'key': key, '...
5 votes
1 answer
154 views

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
98 views

Is there anyway to get information about any change using the stack exchange API's? i.e. if someone leaves a comment or votes on an answer/question? checking for answer changes is easy cause its a top ...
1 vote
1 answer
171 views

I started to love the Python black formatter and I want all my code on Stack Overflow to be formatted like that. So I wanted to go over the answers and apply black / blacken-docs, check if anything ...
1 vote
1 answer
177 views

I see that tags are present only for questions. How can I get the answers to these questions given in last week (if any) having specific tags?
1 vote
1 answer
5k views

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: ...

1
2 3 4 5
10