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

When trying to get a list of questions for the C# tag, the total field was missing. Tried with Python tag and the total was included. /2.2/questions?order=ASC&sort=creation&site=stackoverflow....
joe-gardner's user avatar
1 vote
1 answer
1k views

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&...
Penguin's user avatar
  • 113
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 ...
Lukas Rotter's user avatar
3 votes
1 answer
114 views

I try to take the favourite count filter for a question. I use api through R library(stackr) stack_questions(11227809, site = "stackoverflow", filter = "!GeD4JB*YQqe2L") and I ...
demia's user avatar
  • 31
1 vote
1 answer
81 views

I'm checking how I can embed the search for one project. Basically I want something like this page. With the search I can get the list of questions with all meta data from the search, however the ...
rekire's user avatar
  • 195
2 votes
1 answer
125 views

How are API changes announced? Are emails sent out to developers, or is there someplace I can subscribe to?
Sudarshan Kannan's user avatar
2 votes
0 answers
187 views

I had a program consuming Stack Overflow API quota (10,000 per day) last night across midnight. This morning I checked, and my quota has not been set back to 10,000. Is this normal? If yes, when does ...
BellmanEqn's user avatar
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 ...
Martin Thoma's user avatar
2 votes
1 answer
129 views

Is there a way of using the API to submit a suggested edit? This would allow users without the edit privilege to at least submit their suggestion. There is no create/add endpoint listed in the docs ...
Gustavo's user avatar
  • 145
2 votes
1 answer
96 views

I have been trying to find the API for getting all the pinned/favorite sites of the user, but I can't.
user13414590's user avatar
1 vote
1 answer
101 views

It looks like that in the question/{ids}/answers documentation, there is a mistake: votes – score Shouldn't this be votes – votes
Luca Bartoletti's user avatar
2 votes
1 answer
238 views

I've noticed in the API docs for revisions that revision_number may be absent. Yet all examples, e.g. /posts/{ids}/revisions include a revision number for all responses. I have a colleague who swears ...
Jesse Scherer's user avatar
4 votes
1 answer
676 views

I want to create an application to read Stack Overflow notifications on my device. My question: what should I provide in the OAuth Domain and Application website fields while registering the ...
user avatar
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?
Ramya Sunkara's user avatar
1 vote
1 answer
63 views

I'm trying to get the data of the user's impact. Therefore I used the /2.2/me route and did not found any of this data. Is there any other route that gives this information? I'm also missing the ...
Norbert Bartko's user avatar
1 vote
1 answer
82 views

The /sites route can return site_state. What does site state stand for and which values can it have? The values I found: normal linked_meta open_beta
Norbert Bartko's user avatar
5 votes
1 answer
123 views

I would like to stop flagging when I start running low on flags. Is there any way the API can tell me not only the flag options, but also whether I have any flags left and if so how many?
Dharman's user avatar
  • 533
4 votes
1 answer
114 views

I am fetching a list of all new answers posted on Stack Overflow using the /answers API call. This returns the owner of the answer, but I would like to know if the answerer is the same person as the ...
Dharman's user avatar
  • 533
2 votes
1 answer
59 views

Stack Exchange site tags have "usage guidance", both a 1-paragraph "excerpt" and a longer tag description, as e.g. for JavaScript here. Is it possible to get this data through the API? The options ...
mmw's user avatar
  • 123
2 votes
1 answer
371 views

Is there an API call where you can get all achievements and all unread achievements? Like this: Update Thanks to the answer of Glorfindel, I use the following methods to calculate the unread ...
Norbert Bartko's user avatar
5 votes
1 answer
482 views

I'm currently using the API via JavaScript AJAX calls and it all of a sudden stopped allowing CORS requests. I'm on localhost and I tried uploading my code to live and am still getting: Access to ...
zigaio's user avatar
  • 51
3 votes
1 answer
123 views

I receive a lot of "socket hung up" and 503 Service Unavailable on the /questions/{ids} endpoint. I make requests in batches: 10 parallel requests with 15 question ids, interval between each 10-size ...
Vladyslav Usenko's user avatar
2 votes
1 answer
111 views

So today I decided to continue refining my JavaScript skills (different post over on Code Review SE if you'd like to review the results) and utilized the Stack Exchange API (v2.2) to write a "user ...
Taco's user avatar
  • 163
2 votes
2 answers
153 views

I want to fetch some questions from the API and I would like to sort them. However, I don't want to sort by the default options (activity, votes, creations, hot, week, month), but instead, for example,...
double-beep's user avatar
2 votes
1 answer
90 views

This suggested edit: https://dba.stackexchange.com/suggested-edits/20375 is not returned by the /suggested-edits/{ids} API call: https://api.stackexchange.com/2.2/suggested-edits/20375?site=dba ...
Glorfindel's user avatar
  • 6,965
2 votes
1 answer
105 views

I am using this: https://api.stackexchange.com/docs/answers#page=3&order=desc&sort=activity&filter=default&site=stackoverflow to get the response. Is this the correct URI? I have ...
Ummulkhair Kadri's user avatar
2 votes
1 answer
85 views

The /posts/{ids}/revisions method returns all revisions to a post, but it doesn't have the sort and order parameters most methods have. From some quick tests, e.g. this one, I think it always returns ...
Glorfindel's user avatar
  • 6,965
2 votes
0 answers
55 views

The Linked Questions API fails for some of the Frequently Asked Questions on Stack Overflow, maybe because of the sheer amount of linked questions they have. As an example, take What is a ...
Glorfindel's user avatar
  • 6,965
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://...
Raagappiriyan Rathnam's user avatar
0 votes
1 answer
175 views

I can make a request to Stack Overflow as follows, which searches with keywords in titles:     /2.2/search/advanced?title=vlookup%20index%20match&site=stackoverflow My question is ...
SoftTimur's user avatar
  • 121
3 votes
0 answers
102 views

It has come to my attention that neither the app nor the API have received much if any attention in the last two years. The latest API is also largely undocumented. My humble request is to either A) ...
unixandria's user avatar
1 vote
1 answer
567 views

I've looked at the API docs. However, I haven't found a way to do complex queries through the API such as I can do in the Stack Exchange Data Explorer query editor (select, joins etc). Example: data....
wy1024's user avatar
  • 11
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 ...
Glorfindel's user avatar
  • 6,965
6 votes
0 answers
183 views

The Stack Exchange API supports access to Stack Overflow for Teams; see the Teams API documentation. But, since Teams content is private, post images aren't uploaded to imgur.com, but instead hosted ...
Glorfindel's user avatar
  • 6,965
2 votes
1 answer
470 views

I read the documentation and I know that I can get users' locations but I have not seen anywhere about querying by location. Does that mean that it is not possible? If it is possible, how? As an ...
Blasanka's user avatar
  • 121
3 votes
1 answer
139 views

Is there a way to get a list of tags that the user has set up as "Watched Tags"? If not, is it on the roadmap?
Peter Bons's user avatar
2 votes
1 answer
84 views

While learning how to work with the StackApps APIs, I created quite a few (more than 10) access_token with no_expiry scope. Finally I have got my applicaiton working but I am worried that all those ...
jar's user avatar
  • 123
1 vote
1 answer
113 views

My "Meta Stack Overflow" site details are not listed in the API, when I use meta_site;main_site in the types parameter. See:         /2.2/users/2855348/associated?types=meta_site;...
Arulkumar's user avatar
  • 566
2 votes
0 answers
50 views

When editing the filter, e.g. on this API documentation page, all types are sorted alphabetically except for .wrapper which is always shown below answer, instead of above it (or at the end): Obviously,...
Glorfindel's user avatar
  • 6,965
3 votes
1 answer
128 views

I want to query Stack Exchange by title including optional keywords (one of). How can I query by OR operator? For example: /search/advanced?page=1&tagged=java&q=title:http OR class&...
user3712353's user avatar
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 ...
Makyen's user avatar
  • 1,676
3 votes
1 answer
113 views

This is in regards to my userscript Bulk flag comments. I am sure I have not at all updated the userscript since the first release of June 24, and I am sure I was able to register for an access token ...
Gaurang Tandon's user avatar
4 votes
1 answer
150 views

For a particular userscript feature, I need to get a list of all Stack Exchange employees. The list would be updated every day (per SE website). What is the most efficient way to do so? I looked at ...
Gaurang Tandon's user avatar
2 votes
1 answer
143 views

The documentation for the edit question method (/questions/{id}/edit) is somewhat vague. Are all of the parameters required? For example, if the only field I want to change in the question is tags, ...
ashleedawg's user avatar
4 votes
1 answer
73 views

I've been looking at the API docs and more specifically at the filters available for the /answers/{ids}, /posts/{ids} and /questions/{ids} routes but can't find anything other than upvoted and ...
ᔕᖺᘎᕊ's user avatar
  • 4,405
1 vote
1 answer
77 views

At the overview page of the Stack Exchange network, one can see a list of all sites of the network with some statistics for each site (number of questions, answers etc.). Most of these statistics can ...
petzi's user avatar
  • 113
1 vote
1 answer
118 views

In user's profile page, there's a last seen xx mins ago info: How can I get this information in user object or other object field?
Bite's user avatar
  • 125
1 vote
1 answer
79 views

I saw the question object has a is_answered field. I mentioned that there're the following cases: The is_answered field is true, and the question has an accepted answer. The is_answered field is true,...
Bite's user avatar
  • 125
2 votes
0 answers
73 views

I can just go through documentation but it'd be a time saver if I could find some sort of tutorial or intro or anything. Does anybody happen to have any resources, notes, or code examples they could ...
user avatar
2 votes
1 answer
115 views

this is the data I receive when asking for a user data with the Stack Exchange API: { "items": [{ "badge_counts": { "bronze": 27, "silver": 12, "gold": 0 }, "...
Thatkookooguy's user avatar

1
2
3 4 5
10