Questions tagged [api]

For questions about the Stack Exchange API. Consider checking the API documentation and the Stack Apps site before posting your question here, it might have been asked before already.

Filter by
Sorted by
Tagged with
1
vote
0answers
37 views

Stackexchange API- How to get only question title and accepted answer with specific tags?

How I can get questions with x, y, z tags having at least 3 upvotes and with an accepted answer. Also I would like to only retrieve question title, only accepted answer, tags on questions and authors ...
8
votes
1answer
88 views

Can the number of elections graph from the former Elections site be re-created?

There used to be an elections site that obviously showed how many elections took place each month over time. Image by Tim Stone But that site for reasons unknown to me no longer exists in that form....
6
votes
1answer
130 views

Stack Exchange mobile apps still use 'on hold' for recently closed questions

Since the introduction of new post notices, the "On Hold" label is not used anymore: "On Hold" had been used to label recently closed questions. The idea was that this language would imply less ...
2
votes
1answer
38 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?
3
votes
0answers
39 views

Meta sites are missing reputation in the Your Communities list in the Stack Exchange iOS app

Reputation for per-site metas is not shown in the 'Your Communities' list in the sidebar menu of the Stack Exchange iOS app (anymore – it used to work before). App development is currently frozen, ...
7
votes
1answer
243 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 ...
8
votes
0answers
122 views

Mobile apps unable to communicate with API

When browsing through the Stack Exchange mobile apps, I get an error message. There seems to be a problem with the API. It seems https://api.stackexchange.com/ is down so it might be solved soon.
11
votes
1answer
158 views

Typo on https://api.stackexchange.com/docs/posts

In https://api.stackexchange.com/docs/posts Most applications should use the question or answer specific methods, but /posts is available for those rare cases where any activity is of intereset. '...
20
votes
1answer
182 views

API has been failing with CORS errors since 11/13

Other posts on the topic Meta.SO Stack Apps The API is no longer sending Cross-Origin Resource Sharing (CORS) headers after 180 calls You can replicate it from any browser using the code below. ...
2
votes
0answers
30 views

App occasionally shows old close reasons

Occasionally when voting to close a question in the Android app, I'm presented with the old close reasons ("to broad" instead of "needs more focus" for example). It seems to display one set for ...
6
votes
1answer
43 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 ...
3
votes
0answers
45 views

Why does info return questions_per_minute?

I started reading the API specification and realized that info returns questions_per_minute. Additionally with only two fractional digits, which means that even the 5th largest page in this network ...
6
votes
1answer
49 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
1answer
45 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 ...
7
votes
0answers
57 views

Wrong title displayed in api.stackexchange.com/docs pages

The title displayed in all api.stackexchange.com/docs, per-site methods, pages contains an HTML tag for the "method" (aka GET), and this tag is displayed in the title of the document. Example for ...
5
votes
1answer
58 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'...
5
votes
0answers
41 views

The API has been behind on and off today

I'm using the SE android app which pulls data via the API (afaik). All day, the data it's showing is out of date. I'll refresh the new question feed, and it will only show questions from like 10 ...
2
votes
1answer
370 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 ...
6
votes
2answers
141 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
1answer
52 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
1answer
34 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
1answer
70 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 ...
45
votes
10answers
1k views

What limits should we place on automated voting?

This has come up a few times now in moderator circles, but with the exception of Andy's Robot there hasn't been a lot of public discussion that's applicable. That feels kinda negligent to me, so... ...
38
votes
1answer
230 views

Users are able to register apps that look official (for phishing)

Recently, a user was able to register an app with the name "StackOverflow". Alarmed, I tried it myself. If you click this authorization link, you will see: ... which sure looks official. This is ...
1
vote
1answer
62 views

Gathering a full year of question data from the API

I want to try doing a data analysis project based on a large amount of SO question data. Specifically, I want to take a year worth of question data (from 2018/01/01 to 2019/01/01), and look for ...
7
votes
1answer
104 views

Stack Exchange API returning 407: Account is not allowed to suggest edits

I'm currently trying to create a bot to submit some edits to questions on Stack Overflow. This bot currently has < 2k rep, but I'm able to submit these edits to the website manually, without any ...
3
votes
1answer
72 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 ...
1
vote
1answer
120 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?...
4
votes
0answers
71 views

API /tags/{tag-list}/info returning incorrect count for synonyms

I've recently started work on a tool to track and organize burnination requests. At its core, it tracks the number of questions attached to questions found in burnination requests. Part of that tool ...
5
votes
1answer
309 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
1answer
213 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':...
4
votes
0answers
77 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
0answers
85 views

Bumped locked question is not visible on web, but visible in apps

According to this bug report bumping locked question to the homepage is by design. I disagree with this, but my question is about different, but related issue. A couple of times and today is one of ...
2
votes
1answer
102 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 ...
1
vote
1answer
313 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 ...
-2
votes
1answer
40 views

Reputation leagues by tags (or programming language)

Is it possible to identify - say the top 300 Node.js users by Stack Overflow reputation? This question can be answered in two ways: Programmatically (with an API) or by looking at the Stack ...
7
votes
2answers
220 views

Determining user's reputation as of particular date?

I would like to programmatically - or with the API determine what a user's reputation is on a particular day. As such, I have found this link: Determine a user's reputation on a given day However,...
2
votes
1answer
83 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 ...
1
vote
0answers
75 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 ...
1
vote
0answers
41 views

Allow the API to accept min/max for fields other than the one sorted by

Today I discovered that the Stack Exchange API only honors a min/max parameter for the field that you're ordering by. However, there are cases where you want the results where x is at least/most z ...
2
votes
0answers
187 views

Is Stack Exchange working on providing a GraphQL based API endpoint?

GitHub currently offers both REST API and a GraphQL endpoint to query its entire database. I was wondering if Stack Exchange (SE) is working on offering a GraphQL endpoint sometime soon. As a ...
2
votes
0answers
36 views

Posting/editing subject to unpredictable lag

I've noticed recently (in the past few days), there's occasionally a confusing lag when posting comments in the Android app. I haven't updated the app in forever though, so I don't think it's the app ...
3
votes
0answers
38 views

Port not included in client-side OAuth flow

I was recently making an app using the SE API's client-side auth flow. What I noticed is that there was this Unable to post message to http://localhost. Recipient has origin http://localhost:5000. ...
4
votes
1answer
321 views

Is there a OpenAPI/Swagger spec for the Stack Exchange API?

I'm interested in calling the Stack Exchange API (https://api.stackexchange.com/docs) and was wondering if there is a OpenAPI/Swagger 2.0 or 3.0 specification for it? I didn't see it on the docs page ...
17
votes
0answers
117 views

Typo on https://api.stackexchange.com/docs/create-filter

In https://api.stackexchange.com/docs/create-filter When the size of the parameters being sent to this method grows to large, problems can occur. This method will accept POST requests to ...
10
votes
0answers
60 views

The API crashes when trying to retrieve multiple tags

Using the /tags/{tags}/info route, I try to retrieve the info for a few tags, but the API crashes with: Server Error in '/' Application.     (click for larger view)     This ...
2
votes
0answers
57 views

Redirect parameter `state` is missing in case of error

Testing OAuth authorization in my app I noticed a case when state parameter is not passed to redirect uri. I use state to track auth process at server side. If user doesn't authorize application, he ...
3
votes
1answer
90 views

When will question's last_activity_date be updated?

I use Stack Exchange API to get information of questions, I noticed that some comments' last_activity_date is later than the question's last_activity_date, so my question is: when will the question's ...
4
votes
1answer
128 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
0answers
57 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 ...

1 2 3 4 5 8