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

How to get statistic data for specific tags which belong to a specific team?

I just want to get statistic data for specific tags which belong to a specific team. For example, for tags: "abc", I want to know how many users viewed the questions which have the "abc&...
2 votes
0 answers
55 views

Is there an API call that can get me a user's access_token?

I'm trying to create a connector between Microsoft's Power Platform and the Stack API. Since the server ↔ server auth flow is happening outside of code I control, I can't grab the access_token from ...
4 votes
1 answer
67 views

How do I see the differences between two or more SE API filters and merge into a filter which includes all requested properties (i.e. is a superset)?

For SmokeDetector, we have several SE API filter values in use. Notably, there are separate filters for the /answers/*, /questions/* and /posts/* routes. From an organizational standpoint, I'd like to ...
2 votes
1 answer
193 views

Stack Exchange login hangs on Windows 10 Mobile?

I am working on a Stack Exchange App (Stack App for Windows 10 PC/Mobile and Windows 8.1 Mobile). I have a user login set up and using the WebAuthenticationBroker in Universal Windows Platform, to ...
2 votes
1 answer
58 views

Reputation losses aren't reflected in the API

This includes reputation recalculations (e.g., the latest) and (speculative) when people take upvote back. First case you can see on standard stackauth/users query: it displays meta reputation before ...
4 votes
2 answers
159 views

How can I retrieve the reputation I (or another user, fwiw) earned for a given tag from questions and answers?

(I've included the api-v2.3 because https://api.stackexchange.com/docs starts with Stack Exchange API v2.3.) From this answer I see there's no way to get all questions with a specific tag. However, ...
3 votes
2 answers
329 views

What am I allowed/not permitted to do with the API?

I have a site that will offer technical help and assistance for a certain niche of computer users. I can either host my own forums, or tie in with stack... but I want to be able to make money off it ...
5 votes
0 answers
124 views

What does the /users endpoint look for when sorting on modified date?

What does the /users endpoint look for when sorting on modified date? For the /users endpoint in the Stack Exchange API v2.3, what does the modified filter in sort field look for? It is unclear from ...
3 votes
1 answer
136 views

Java exception when user age or location is unspecified in returned JSON

I am brand new to the Stack Exchange API and Android (well, self taught in the last four months). I have been working on creating a school project focused around Android and JSON. My initial idea was ...
4 votes
1 answer
1k views

Get questions with body and answers

How can I get the latest 30 questions with body and answers using the api? And then, I want to get only first most voted 3 answers for each question. Is this possible with only one request? To get ...
2 votes
0 answers
48 views

high_resolution_icon_url points to a non-existing image for Area 51 Discuss

In 2013 this bug was reported: Not all sites are returning Hi Res icons Since then a lot has improved. Most urls found in high_resolution_icon_url on the site type as returned by the /sites endpoint ...
1 vote
1 answer
75 views

Wrong sorting parameter in documentation for question/{ids}/answers

It looks like that in the question/{ids}/answers documentation, there is a mistake: votes – score Shouldn't this be votes – votes
3 votes
0 answers
39 views

Call to search/advanced is treating tagged as an AND search, not OR [duplicate]

The docs for search/advanced (https://api.stackexchange.com/docs/advanced-search) have this to state about the tagged attribute: "tagged - a semicolon delimited list of tags, of which at least ...
4 votes
0 answers
66 views

Get total question views via API

I can currently get the total number of questions for a tag by using the total filter. This works well, but I'd like to get a total views count for the questions in that tag. I could iterate over each ...
4 votes
1 answer
301 views

Can I get information about a user with their network ID?

My network profile's ID is 4337810. Is there any way to get information about users with their network ID from the API? So stuff like username, location, profile image, etc...? There doesn't seem ...
3 votes
1 answer
58 views

Possible to return newest questions with a certain tag?

I am not finding a way to return a list of new questions by tag with the new Stack Exchange API. Am I missing something or is this not available? If this is not available, I most certainly request ...
2 votes
1 answer
169 views

How do I find all questions/answers per a tag?

Would also be good if I could also find the top questions/answers in a particular tag - i.e. questions tagged with Ruby or PHP. Per the docs the only thing I can see that will return questions in a ...
2 votes
1 answer
98 views

Can "trends" be queried with the Stack Exchange API?

I've studied the Stack Exchange API to some extent (although I'm a newbie to such things), and it appears I can query the database using many criteria. But does Stack Exchange store any "trends&...
3 votes
1 answer
339 views

Stack Exchange OAuth2, explicit access-token response format does not adhere to RFC6749 standard

I'm using the Stack Exchange v2.1 API. I'm using the explicit OAuth 2.0 flow, but it seems that the access token response step does not adhere to the RFC 6749 standard. Specifically, the Stack ...
8 votes
1 answer
2k views

Making use of the *"has_more": true* json attribute in the Json response from stackoverflow

When issuing requests to the stackoverflow-api, I set the pagesize to a 100 (which is the maximum possible). However, some json responses contain this attribute (normally at the very bottom): "...
5 votes
3 answers
301 views

Can we get a sandbox please?

I think that we should have some sort of a sandbox site where we can post questions, answers and comments in a controlled environment. Currently I'm working with Stack Overflow but I can't post "...
5 votes
1 answer
733 views

Is it possible to authenticate a user through Stack Overflow API?

Is it possible to use the Stack Overflow API to authenticate a given user identity such as with Facebook, Twitter, or OpenID? If it's possible: Can you tell me the method (s) that make this happen?
3 votes
1 answer
76 views

How many ids is 'too many'?

This answer mentions limit on amount of ids included in queries like /users/{id}/mentioned, but I can't find actual amount mentioned anywhere. Now, I could run binary search and find out, but I ...
4 votes
1 answer
449 views

Refresh expired acess token basics

I'm trying to learn how to implement an OAuth flow in an Android app using a simple app with the Stack Exchange API. Using WebView, I'm able to retrieve an access token and store it in my shared ...
1 vote
1 answer
984 views

Why am I getting a 400 Bad Request error with this code?

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&...
3 votes
2 answers
172 views

StackApps for Windows Phone 8

Can anyone suggest a good app for Windows Phone 8 or let me know Where an I find API to build my own?
3 votes
1 answer
81 views

Take the right filter for favourite count

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

How are API changes announced?

How are API changes announced? Are emails sent out to developers, or is there someplace I can subscribe to?
0 votes
1 answer
83 views

Should we add review queues to the API?

Review queues are unsupported on the Stack Exchange API, and it could be useful to write an app that would review. Should we add it to the API?
2 votes
1 answer
653 views

How to handle default compression on response with Java's HttpURLConnection? [duplicate]

I sent a request for question with no parameters to https://api.stackexchange.com/2.2/questions?order=desc&sort=activity&site=stackoverflow I received a response of 9764 bytes stored in ...
1 vote
1 answer
177 views

Non-verbatim search strings in py-stackexchange

I am writing a python program with py-stackexchange that takes a query and returns a list of urls to questions with that query in the title. Here's the code: #!c:/Python27/python.exe -u import sys sys....
2 votes
1 answer
80 views

Answers without owners

Is it valid for Stack Overflow data to have an answer that does not have an owner? For example if you hit the following API url http://api.stackoverflow.com/1.1/answers/18, it does not bring back an ...
3 votes
1 answer
113 views

List of possible values for user_type on API for users

I'm starting to work with the API and I see on the call to retrieve a user or multiple users one of the fields that is returned is user_type. So far I have only seen a value of "registered" ...
4 votes
0 answers
53 views

Can I ask the API to tell me to back off? [duplicate]

I'm creating a bot that collects all tags from a given site (and over all sites in the network). I would obviously like to run this bot in as little time as possible, but I also do not want to overly ...
3 votes
0 answers
60 views

Is it allowed to sell an app or get revenue with the use of the API? [duplicate]

I've been reviewing the terms of use of the API, but I prefer to ask my question straight here in order to be 100% sure. Is it allowed to create an app that: is paid, which revenue goes to the ...
0 votes
1 answer
60 views

Specific Response attributes [duplicate]

I want to get questions related to a specific tag with the body of those questions. I have figure out this API request: https://api.stackexchange.com/questions?site=stackoverflow&sort=votes&...
30 votes
1 answer
1k views

Announcing API version 1.1 and Roadmap

As has been announced on the blog, we're rolling out a minor revision of our existing read-only API. While the blog post gives some high level details, I figured [app] developers would appreciate some ...
15 votes
4 answers
722 views

Version 1.0 released 9th of July

For a lot of us, that would be next Friday. At some point - most likely after noon PST - version 0.9 of the API will be replaced with the final 1.0 release. There are no expected interface changes ...
4 votes
1 answer
86 views

Is there a way to fetch my flag quota?

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?
2 votes
1 answer
106 views

API support for close actions

Background I would like to create an app for general Stack Overflow browsing to improve upon the UI. One of the things that I am targeting is the lack of certain options in the close dialog. I ...
1 vote
1 answer
64 views

Missing total when tag is not URL-encoded

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....
1 vote
0 answers
129 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 ...
9 votes
1 answer
136 views

API for user next achievement/badge requirement?

If you look at your user profile you can see: visited x days, x consecutive So for the achievement/badge "Fanatic - Visited the site each day for 100 consecutive day" I can calculate the number of ...
2 votes
2 answers
125 views

Is there any way or script to sort questions/posts/answers with custom criteria?

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,...
10 votes
1 answer
179 views

Please provide a way to download SEDE data via an API

Following on from this answer, I have a data extraction requirement that is not presently catered for in the API, so I've raised a feature request for that. It has also been suggested that it would ...
4 votes
1 answer
594 views

How to create API filters?

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 ...
1 vote
1 answer
58 views

Is there any way to get questions by tag with excerpt?

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

When does API quota reset?

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

API to submit a Suggested Edit

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

How to get the user's pinned sites?

I have been trying to find the API for getting all the pinned/favorite sites of the user, but I can't.

1
2
3 4 5
10