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
3 votes
2 answers
318 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
119 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
135 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
964 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
46 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
71 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
64 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
292 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
57 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
165 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
84 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
321 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 ...
7 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
297 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
728 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
74 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
423 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
751 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
167 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
80 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
91 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
77 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
521 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
175 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
77 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
109 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
49 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
55 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
720 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
81 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
63 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
127 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
135 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
122 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
171 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
580 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
52 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 ...
12 votes
1 answer
478 views

Why is my API quota not resetting after UTC reset?

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
0 answers
81 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
72 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
69 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.
4 votes
1 answer
520 views

Creating personal applications using Stack Overflow/Stack Exchange API

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

What does it mean when a revision number is missing?

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

How can I get user links in the API call like Twitter, GitHub and so on?

I'm trying to get the user's user links from his profile. Like this person has GitHub and Twitter links on his profile. How can I get those?
1 vote
1 answer
33 views

Where do I get the user impact?

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

API stopped allowing CORS requests

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

1
2
3 4 5
10