All Questions
197 questions
2
votes
1
answer
158
views
Use the search API to query Stack Overflow Teams questions [closed]
We have Stack Overflow for Teams at my company. Is it possible to use the search API to query questions there?
7
votes
1
answer
307
views
How do I delete all my comments?
I want to delete all of my comments, but the https://api.stackexchange.com/2.2/comments/$ID/delete API method has a limit of 20 deletions per day.
I don't want to call it every day for months, so is ...
6
votes
1
answer
54
views
Is there a way to get reputation changes network-wide via the API?
Using the notifications API, I can get everything that shows up in the achievements popover, except for reputation changes.
I can use reputation history for this, but it's per-site so would require a ...
6
votes
1
answer
81
views
Does access via the API count towards Fanatic and Enthusiast badges in 2019?
I've done some research and read some of the posts about this topic, but none of them are up to date.
The answer from 8 years ago says that accessing via the API does not count for badges:
Does ...
2
votes
1
answer
137
views
How to use a search regex for tags in the Stack Exchange API
I want to simulate the question search using regex behaviour of Stack Overflow using the Stack Exchange API.
For example, using c++* for tags will give questions which have c++ as prefix in tag such ...
5
votes
1
answer
114
views
Is there a Stack Exchange WebSocket action for multiple tags?
I'm developing an app to show all new questions for any tags that user is watching in realtime. So instead of using the REST API, I want to use the WebSocket at: wss://qa.sockets.stackexchange.com.
I'...
4
votes
1
answer
2k
views
Does Stack Overflow provide public Python APIs for querying?
I'm interested in writing an application on top of Stack Overflow. For example: Get the answers to the questions identified by a set of ids, get the questions that are related to the questions ...
7
votes
2
answers
271
views
Accessing the latest comments on a site from the Stack API
Context:
As a moderator on a relatively small beta site, I often notice spam, chatty, rude or entirely unrelated comments on old posts. It'd be nice if I had an easy way to monitor them. From the ...
-1
votes
1
answer
76
views
Is there a sandbox chat room for testing the API? [duplicate]
Right now I have one (1) reputation and I need 20 to be in a chat. How do I test the chat API? Do I need to get more upvotes to chat or is there a "sandbox" chat that does not need rep?
I know that ...
1
vote
1
answer
48
views
Where do I find a history of changes to Stack Exchange's API?
As the title says is there a place where I can find a history of changes to the API?
The API I am talking about is here: https://api.stackexchange.com/
I want something more detailed than what is ...
2
votes
1
answer
155
views
Getting Duplicate Questions from Stack Exchange API
I want to use api.stackexchange.com to get duplicate questions.
Scenario:
I get a question from api.stackexchange.com using GET .../questions/{my_question_id}.
In the next step I would like to get a ...
3
votes
1
answer
121
views
Stack Exchange API for Tags won't set has_more to True
I have this request URL:
https://api.stackexchange.com/2.2/tags/python/top-answerers/all_time?page=1&pagesize=100&site=stackoverflow&filter=!9Z(-x.0nI
What I need is to have a pagination ...
2
votes
1
answer
374
views
Get answers in JSON for a given Stack Exchange article
We are trying to figure out how to get the answers for a given question ID in JSON or XML instead of HTML - so far for a URL like this:
https://api.stackexchange.com/2.2/questions/52533798/answers?...
6
votes
1
answer
770
views
Stack Overflow Teams API: How to get all questions or posts data?
I am trying to build a database of all the posts and answers on my Stack Overflow team information. I am able to download all data in the "Settings" -> "Billing & Accounts" tab but I am looking ...
2
votes
1
answer
547
views
Too many requests made by this IP. Key reason? [duplicate]
This is may seem as a duplicate but I want to get this straight. I am sending some requests to the Stack Exchange API for a project I am running. But after testing it I get this response:
{'error_id':...
6
votes
0
answers
130
views
Stack Exchange API - Obtaining the Tag Watchers Count
I've reviewed the entire Stack Exchange API v2.2 and have not found how to obtain the tag Watchers Count; e.g.:
How to obtain the 'watchers' count using the Stack Exchange API?
4
votes
1
answer
175
views
Get a post's text, from the Stack Exchange API, in decoded and pastable form?
I know how to retrieve body_markdown with the Stack Exchange API. But if I copy the retrieved body into a Markdown editor then I don't get back the "real" body of the answer. I've tried using ...
2
votes
1
answer
1k
views
Unable to fetch data from the Stack Overflow API (too many requests)
I am trying to fetch API data from:
api.stackexchange.com/2.2/questions?site=stackoverflow...
But I am getting the error:
{error_id: 502, error_message: "too many requests from this ...
3
votes
1
answer
266
views
How to return multiple users objects with single API call?
I am using the following to return JSON of a user object:
https://api.stackexchange.com/2.2/users/8826629?order=desc&sort=reputation&site=stackoverflow&key=<my key>
I need multiple ...
2
votes
0
answers
156
views
How to approve Stack App and log in to Stack Overflow using REST API?
I would like to create a small application just for me to log in to Stack Overflow and see my profile.
The issue is that if I understand the documentation correctly, I have to first approve my ...
5
votes
1
answer
246
views
Where is the chat API page on the api.stackexchange.com site?
I received news about the chat API changing in a couple of months from another chat user and API library developer, but I can't find any mention of it on my own now. So I went to look at the prime ...
6
votes
0
answers
94
views
How do we get the API build date/number?
The API keeps breaking and often gets fixed, all without a single peep in the Change Log.
Officially the API is unchanged since version 2.2 in February of 2014.
But we know from the resolved bugs ...
5
votes
2
answers
191
views
Stack Exchange API: create a question with an embedded Image
I have been looking at the API for some time and can discern no ready answer: Is it possible to create a question using the API, which contains embedded images?
I can achieve the same by replicating ...
3
votes
1
answer
1k
views
Stack Exchange API - getting answers for the questions object
I use https://api.stackexchange.com/docs. To get a sample question, I use the address https://api.stackexchange.com/2.2/questions/6827752?&site=stackoverflow. Thanks to this, he gains a question. ...
5
votes
1
answer
374
views
Getting all questions with a specific tag
The Stack Exchange API supports /questions/{id}/tags/{tags} but it returns only a selection of questions available on Stack Overflow.
For a school project I need to find all questions containing the ...
-5
votes
2
answers
540
views
'StackAPI' throttling exception
I am trying to use StackAPI to query your API. I am trying to fetch the top questions/answers from each of your Stack Exchange sites. Here is my code snippet. As you would note, I am making the thread ...
1
vote
2
answers
220
views
How do I automatically join all SE sites I haven't joined yet?
On SE sites which I haven't joined yet, neither inbox nor achievements are available. I'd like to have these available in all sites. I could wait around for the devs to fix it ... or I could join all ...
4
votes
1
answer
97
views
API method for getting text of posts?
I am looking for an API method that gets the text from posts, using the post ID or URL (not saying it has to be one way or another) but cannot find one.
Does Stack Exchange have one?
1
vote
2
answers
88
views
Data on who offered bounties
Is there a way to know who offered bounties on each question on SE? We are working with the SO datadump, and there is data there on bounties in the Votes.xml file. However, there is no information on ...
-9
votes
3
answers
89
views
How to get data on who viewed questions and profiles?
I am working with the Stack Overflow datadump and have a general question. I would like to obtain more detailed data on the "views" attribute, pertaining both to question views and profile views. ...
2
votes
1
answer
45
views
How can I collect the number of times a tag is used per month using the API?
What is the best way to collect the number of times a given tag is used in a given month using the stack exchange API?
Is it by going through all the questions asked during a the given month that ...
7
votes
1
answer
316
views
Choosing best resource for crawling data from Stack Exchange sites
For the purpose of an academic research project, I would like to obtain detailed data on questions, answers, tags, users, etc. That is, I seek historical data, as detailed as possible. I have seen ...
6
votes
2
answers
127
views
Don't have the required information for signing up for an app key in the Stack Exchange API
I would like to use the Stack Exchange API for the purpose of academic research. Now, standard users are limited to 300 requests per day. For increasing this limit to 10,000 per day, users need to ...
2
votes
2
answers
130
views
How can I receive "immediately" notification about new questions posted that meet certain search criteria?
I noticed that you can do any tag combination with or and and (just separate the tags for space) operators in the search box and when you hit the search button you will be redirected to an URL like ...
3
votes
0
answers
147
views
How to get the list of all posts I've upvoted via the API? [duplicate]
I'm looking for a way to get the list of all my upvotes on Stack Overflow, however after looking through the API list, seems there is no way to achieve that.
And I know I can view my upvotes in votes ...
5
votes
1
answer
69
views
Can I send myself an inbox notification?
For developing apps and userscripts that deal with inbox notifications, it's often useful to get a notification for testing.
Is there any action I can take that will give myself an inbox notification?...
4
votes
1
answer
262
views
/posts/{ids} reports that it requires an access token, but that's not documented
Hitting the following URL:
https://api.stackexchange.com/2.2/posts/25860304?key=<valid key>&filter=!b0OfN.wXSdUuN(&pagesize=100&site=stackoverflow
I'm getting a HTTP 400 (Bad ...
4
votes
1
answer
55
views
Retrieving network profile avatar via API
The network profile avatar (e.g. the one displayed on the network profile page) seems to be its own thing, settable by copying it from a site of your choice.
Is there a way, given a user's network ...
7
votes
1
answer
243
views
Is there an API I can get my total amount of reputation and badges from?
I have already seen the flair™ image I can embed on my website. However, I think it's small and I don't really like the design.
I would like to retrieve my overall reputation and badges as seen in ...
4
votes
1
answer
565
views
API authentication channelUrl from a userscript?
The Stack Exchange API has this Javascript library for authentication.
What do I pass as channelUrl for a user script running on SE sites?
The docs said it needed to be "a blank page on the same ...
1
vote
1
answer
56
views
How do you retrieve API site names from /associated?
The /associated API call returns an array of network_user objects, each of which looks like this:
{
"badge_counts": {
"bronze": 1,
"silver": 2,
"gold": 3
},
"question_count": 25,
"...
-1
votes
1
answer
87
views
How can I get a list of links for questions with a specific tag?
Is there a programmatic interface for getting the questions with a specific tag?
The thing I have found was archive.org/details/stackexchange.
But this is not up-to-date.
I could write some ...
2
votes
1
answer
82
views
Is there a sandbox for the API where I can post questions? [duplicate]
Is there a sandbox site for the Stack Exchange API?
I have found a couple of questions which were made for testing answers (EG The API Sandbox), but no way to test posting or editing questions.
9
votes
0
answers
73
views
What does "new_active_users" field represent?
I'm working with some site data obtained via the Stack Exchange API and I see each site has a field called new_active_users. I looked at the type info page for site data, as well as usage of /info ...
4
votes
1
answer
80
views
Is it possible using the SE API to get a list of another user's posts that I have upvoted?
I'm looking to obtain a list of another user's posts that I have upvoted. I learned in a previous question that this is not possible through the Stack Exchange Data Explorer, because any private data,...
6
votes
0
answers
71
views
How could I get my own vote activity from API?
For the sake of curiosity I want to visualize my vote activity on Stack Overflow. I can scrape it easily from HTML, but it would be elegant to accomplish it using an API.
9
votes
1
answer
109
views
Are option_ids for flags guaranteed to not change?
When given an integer as option_id, the API path /answers/{id}/flags/add raises the flag corresponding to option_id on a specific answer (same goes for its counterpart for questions). Are these ...
18
votes
1
answer
146
views
How can I get the text from a large number of deleted posts?
I'm looking into running a machine-learning project on EL&U to detect low-quality posts. To do that, I need a large dataset - and to get that, I need to get the text from a large number of deleted ...
3
votes
0
answers
198
views
Stack Overflow API to build commercial apps [closed]
I want to create a desktop client for Stack Overflow using the APIs available and it will be a paid app. So my question is, whether this is allowed or not.
Can I create a software using their APIs for ...
1
vote
0
answers
69
views
API /answers/{id}/flags/add route has multiple bugs
The API route to flag an answer has a couple of issues. The first of these may or may not be a bug, but the second definitely is.
Firstly, sending a request that's apparently identical to the example ...