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
67 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
132 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
137 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
135 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
192 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 ...
1 vote
1 answer
63 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
138 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
85 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
72 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
607 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
194 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
73 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
37 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
456 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 ...
3 votes
1 answer
112 views

Stack Exchange API - Get Watched Tags for a User

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

Stack Exchange API - What does "site_state" mean?

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

Getting the ID of the question-asker when fetching new answers from the API

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

How to get (unread) achievements?

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

How to get "usage guidance" for a tag from the Stack Exchange API?

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

503 errors on batch get questions endpoint

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

Please provide an API "flair"-data call (`/associated` route is inadequate)

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

Ruby SE API: A Ruby wrapper for the Stack Exchange API

Screenshot / Code Snippet An excerpt from the README: First, initialize your client. You can omit the API key, but it's strongly recommended that you use one because it increases your request ...
5 votes
1 answer
464 views

How to increase app request quota from 300 to 10,000?

In the app management page for a little app I made, the following statement is presented below this key Pw9D)judG8FE4tJR3qjUTA((: Pass this as key when making requests against the Stack Exchange ...
3 votes
1 answer
3k views

Searching on Stack Overflow and using the API give different results?

I am trying to use the Stack Exchange API to see the trends on different topics. Looking at the API documentation, I see that I could do this using the /search path (it's documented that this method ...
4 votes
1 answer
110 views

Is there an RSS feed or question that has API changes?

Is there someplace that we can find notifications of API changes? I noticed today that a new property has been added to user along with a couple new method (and maybe other changes). Is there an ...
3 votes
1 answer
64 views

List recent tag wiki edits

I would like to list tags where the tag wiki or tag wiki excerpt was recently edited or created. How can I do this? It is not a problem if I get a few false positives by tags modified in other ways, ...
2 votes
1 answer
66 views

Suggested edit not returned by API

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 ...
4 votes
1 answer
288 views

Can not request info after OAuth

I am following The implicit OAuth 2.0 flow Guide: My client ID is 4709 while key is RoZwtHUrhMP088oVGCMlxA(( I appended my URL as: https://stackexchange.com/oauth/dialog?client_id=4709&scope=...
2 votes
5 answers
4k views

Get user data using curb/Curl in Ruby

I am trying to get user data in my Rails app. I am doing this: url_so = "http://api.stackoverflow.com/1.0/users/231917?type=jsontext" curl = Curl::Easy.new(url_so) curl.perform data_obj = ...
2 votes
1 answer
94 views

I am unable to get the desired response through Stack Exchange API, using Postman [duplicate]

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

Linked questions API call fails for frequently asked questions on Stack Overflow

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

Are the revisions returned by /posts/{ids}/revisions guaranteed to be returned in descending order?

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

SE API V1.1 documentation, date errata

The Stack Exchange API, version 1.1, documentation is ever so slightly confusing wherever Unix timestamps are mentioned (perhaps any ranges, I haven't dug too deeply) For instance: todate – Unix ...
3 votes
0 answers
86 views

Fetch the Personalized Prediction Data through the API?

Is it possible to get a user's personalized prediction data in an automated way? I'm building a graphical visualization of this data, you can check the project here: http://jlhonora.github.io/...
3 votes
0 answers
111 views

Only Stack Overflow has documentation, but the API erroneously lists documentation privileges for all sites

Privileges related to Stack Overflow Documentation are displaying in every other site's API data. Using Meta Stack Exchange, for example, /2.2/privileges?site=meta returns the following documentation ...
0 votes
1 answer
150 views

How to search ALL sites with the advanced API?

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

Open source the Stack Exchange app and API

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

Is there an offline copy of the API documentation?

I'm trying to find a way to get all the information in the API in one printable PDF, complete with the examples given in the documentation. Is there anyway I can do this?
1 vote
1 answer
481 views

Is there a SQL-like query for the API?

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

SIlverlight 3 ClientHttp vs BrowserHttp stack: no cross domain policy means no gzip for Silverlight

I notice that even if I send accept-encoding=gzip the response does not seem to be compressed. ( it is late and i was conflating 'accept' with 'accept-encoding') Should we expect, in the 1.0 ...
3 votes
1 answer
120 views

top-answerers / top-askers documentation bug: number of results returned incorrect

The top-answerers-on-tags and top-askers-on-tags documentation claim: Returns the top 30 answerers active in a single tag, of either all-time or the last 30 days. and Returns the top 30 askers ...
9 votes
1 answer
171 views

Is there any support for Area 51 in the new API?

Does the new API support Area 51? Will there be support in the future?
3 votes
1 answer
178 views

Getting Question data using stack.PHP fails after a certain number of requests

I am trying to build an RSS feed that includes any/all questions that I have answered, and been accepted as the correct answer. I am running into an issue where I'm sending too many requests and ...
6 votes
0 answers
165 views

Enable access to post images in the API, for "Stack Overflow for Teams"

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

Can I fetch Stack Overflow users by location in Stack Exchange API

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

Platforms Supported by the API and Response Compression

What platforms are supported for use with the Stack Exchange API? In short, anything that can make a GET request to the API servers and supports JSON/JSONP & GZIP. (JavaScript, Python, PHP, Java, ...
15 votes
1 answer
2k views

Unable to get access token

I am trying to get a non-expiry access token, like so: https://stackexchange.com/oauth?scope=no_expiry&redirect_uri={{some_uri}}&client_id={{some_value}} I am repeatedly getting the error: ...
2 votes
2 answers
669 views

Is it possible to create a private Q&A site using the Stack Exchange API?

I want to create a sort of private Q&A site to allow university students of the same courses to communicate. Is it possible by using the Stack Exchange API?
2 votes
1 answer
63 views

I have created a lot of access_token with no_expiry scope while experimenting. How do I delete them?

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

The API is not returning a value that I know it should

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

1 2
3
4 5
10