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
-9 votes
1 answer
111 views

Finding my upvotes on Data Explorer

This T-SQL finds all the questions I have answered on SO. https://data.stackexchange.com/stackoverflow/query/1779459/questions-i-have-answered I want to determine if I upvoted the question or not (as ...
JMP's user avatar
  • 121
22 votes
0 answers
278 views

SE API: Recent OAuth 2.0 implicit flow breaking change

Changed behavior: Unexpected values returned with the access_token when using the implicit OAuth 2.0 flow We are, now, seeing additional scope data included in the hash for the URL used as the ...
Makyen's user avatar
  • 23.2k
3 votes
1 answer
87 views

How can I get information of a tag with the Stack Exchange API?

The API documentation of usage of /tags/{tags}/info GET does not give us this information: How can I get this text description?
Denys Medvediev's user avatar
80 votes
0 answers
5k views

How can we improve the Stack Exchange API?

The Stack Exchange API allows users to programmatically query and connect to the Stack Exchange Network of sites. The API is currently in version 2.3. We’re collecting feedback from users of the API, ...
J007B's user avatar
  • 1,691
66 votes
11 answers
4k views

The company's commitment to the data dumps, the API, and SEDE

Many words have been written around the company's commitment to the ongoing existence of the data dumps, the API, and the Stack Exchange Data Explorer (SEDE). Much of that text can be confusing or ...
Philippe's user avatar
  • 20.2k
3 votes
0 answers
166 views

No ID for CS50 or Programming Language Design and Implementation on the Stack Exchange Website

I'm trying to fetch card-data as it is fetched on https://stackexchange.com/sites (request example below as a Node.js fetch), but can't find cards (or, hence, card IDs) for CS50 or Programming ...
else's user avatar
  • 31
98 votes
0 answers
676 views

Will SE shut down the free API for good? [duplicate]

SE has intentionally disabled the data dump. And the CEO has stated to the press that he plans to charge AI companies for access to the data. Given these developments I think it is almost inevitable ...
Mad Scientist's user avatar
8 votes
0 answers
107 views

Add support to the API to do all non-moderator actions that a user can do

It does not appear that the API supports viewing of deleted posts, which is what a 10k user or moderator can do on a site. Although I don't expect diamond moderator actions to be exposed, I would ...
Thomas Owens's user avatar
  • 43.7k
3 votes
1 answer
163 views

How do I set "site" to anything other than Stack Overflow, like the Blender or Ethereum Stack Exchange sites, for example?

I was able to run this request https://api.stackexchange.com/2.3/users/MY USER ID/timeline?sort=creation&page=1&pagesize=100&site=stackoverflow just fine. For some reason, when I change ...
ChristianOConnor's user avatar
3 votes
1 answer
229 views

StackAPI can't parse the Stack Exchange JSON anymore

For the last 4 days, my Stack Exchange view count graphing script has been breaking with StackAPI claiming that: requests.exceptions.InvalidURL: Failed to parse: https://api.stackexchange.com/2.2/...
SurpriseDog's user avatar
23 votes
1 answer
315 views

SE API multiple-escapes the returned data (at least display names, userlinks, and post content)

The Stack Exchange API will, unless you explicitly disable it, apply HTML escapes to certain strings. However, it will apply this transformation multiple times prior responding with the data. This is ...
Martijn Pieters's user avatar
5 votes
1 answer
68 views

Is there a simple API for getting the number of unread messages?

Stack Exchange obviously has a complex API to meet the possible needs of its users, and it seems to require registering applications in order to use it. All I'm looking for though is a simple way of ...
Ray Butterworth's user avatar
5 votes
0 answers
59 views

Unable to fetch favorite/bookmarked questions [duplicate]

I'm not able to fetch the favorite questions using the stack exchange api (https://api.stackexchange.com/docs/me-favorites). This looks like a recent issue because it was working fine a couple of ...
Gangula's user avatar
  • 349
31 votes
1 answer
279 views

SmokeDetector is seeing SE API errors 10,704 times more often than normal (2022-12-09)

For a bit over the last hour, SmokeDetector (SD) has, once again, been seeing a flood of SE API errors. This is well outside what's "normal" to see for SmokeDetector. The only recent change (...
Makyen's user avatar
  • 23.2k
10 votes
0 answers
90 views

Possible to have a means to access my saves externally? [duplicate]

Recent changes have converted the Bookmarks section to Saves and made what we have bookmarked private. This is definitely a positive change! However, doing so makes it even more difficult to ...
jonsca's user avatar
  • 16.7k
5 votes
1 answer
261 views

Is there a way to programmatically get the days 'visited' information? [closed]

On our Stack Overflow for Teams: Enterprise instance, I'd like to use the API to build a report on how often users visit the site. I can see this information in the admin dashboard (e.g. below, "...
Steve Dunn's user avatar
4 votes
1 answer
105 views

Is there API support for salesforce.stackexchange.com?

I'm able to use the API to get selected questions from stackoverflow.com by running https://api.stackexchange.com/2.3/questions?order=desc&sort=activity&tagged=salesforce&site=...
Grzegorz Skaruz's user avatar
40 votes
1 answer
867 views

A number of things seem to have broken simultaneously

Things that appear to have suddenly stopped working: Posts not appearing on the front page of Meta Stack Overflow or the "Active" tab for the post's tags + RSS feeds not updating. (As of ...
Ryan M's user avatar
  • 27.3k
27 votes
0 answers
214 views

SE API errors have dramatically increased to 2,768 times the "normal" average error rate [duplicate]

In the last 4 hours, SmokeDetector has reported 60+ errors when making normal requests to the SE API. These are the same requests which SmokeDetector has been making many thousands of every day since ...
Makyen's user avatar
  • 23.2k
16 votes
1 answer
236 views

API request for "favorites" now returning an empty list – is there a way to get something equivalent for saves?

I have a script which I use, based on the StackExchange API, to regularly download a local backup of various questions relevant to me (the ones I've asked, answered, or favorited) across various SE ...
Gro-Tsen's user avatar
  • 261
7 votes
1 answer
81 views

Chat oneboxes are being inconsistent for certain users

For the past few weeks, I have been running a bot in the Sandbox while testing it to replace another, currently broken, bot that posted new posts and challenge sandbox posts in The Nineteenth Byte. ...
Ginger's user avatar
  • 1,386
2 votes
1 answer
134 views

How to run a Stack Exchange data query with the Stack Exchange API

I'm trying to find out if there is a way to run a query/complex search on the Stack Exchange API. I need to find all users that have a reputation greater than 250 and are from a certain location. I ...
Andrew Gremus's user avatar
-6 votes
1 answer
99 views

Question based on Authentication

I am creating a connector which will integrate with the Stack Overflow API. I need to generate an access token of Stack Overflow account so that I can fetch its API. But when I am generating an access ...
user20040276's user avatar
2 votes
0 answers
34 views

API returns the same content in paginated response [duplicate]

I'm trying to get linked questions for this question which currently has around 490 linked questions. Since it has so many linked questions, I'm using a page size of 100 which is the maximum page size ...
Gangula's user avatar
  • 349
5 votes
1 answer
79 views

What is the refresh frequency of the Stack Exchange API?

I'm using the Stack Exchange API and noticed that a comment that I added just now was not being reflected in the API. Is there a refresh frequency for the API? If so, what is it? I was not able to ...
Gangula's user avatar
  • 349
6 votes
2 answers
158 views

Missing code block language when using the Stack Exchange API

I managed to search and get questions with HTML body with Stack Exchange API. I am using the following request: https://api.stackexchange.com/2.3/search/advanced?filter=withbody&tagged=node.js&...
nbl7's user avatar
  • 161
23 votes
0 answers
142 views

SE API forgot how to order badges lexicographically

As of recently, the Stack Exchange API endpoint for listing named badges started to error out when choosing to sort the result set by name. Can this be fixed as soon as possible, please? Switching to ...
Oleg Valter is with Ukraine's user avatar
4 votes
1 answer
172 views

Query for retrieving all answer ids for questions which a user already answered

I'm looking for a query from a Stack Overflow dump to find this. Example: user-id 'XXXXX' answered_list_id:[10,20,30,40] Also, I don't consider whether the answer is accepted or not. FROM Users AS u ...
mj lajy's user avatar
  • 41
22 votes
1 answer
262 views

SE API quota_remaining property is periodically missing from the response

Over the last several days while running SmokeDetector, we've periodically seen multiple responses from the SE API with the quota_remaining missing, with the most recent group a few hours ago. The ...
Makyen's user avatar
  • 23.2k
23 votes
1 answer
365 views

Many API requests to /questions with filter parameters are failing with status code 400 errors

For some questions, using a filter parameter appears to break the API, causing it to return a "400 Bad Request" status code with the following payload: {"error_id":404,"...
Ryan M's user avatar
  • 27.3k
7 votes
1 answer
156 views

API to programmatically close questions as duplicate with duplicate list

If you follow and/or curate a tag long enough, you'll probably notice that there's some questions that just get asked over and over. Usually these are confusing aspects of some commonly used feature ...
blackgreen's user avatar
  • 3,404
1 vote
0 answers
64 views

Why only 50 related tags?

I'm using the Stack Exchange API and I want to get related tags of a particular tag. Fortunately, the API provides such an endpoint (/2.3/tags/devops/related?pagesize=100&site=stackoverflow). ...
Ranim Khojah's user avatar
4 votes
0 answers
91 views

Is there an API that I can consume to detect the current release version of each SE network site?

Is there an API that I can consume to detect the current release version of each SE network site? For example, during the last 5 months the design of the sites has changed, and changes have been made ...
user avatar
7 votes
0 answers
286 views

GET requests to https://api.stackexchange.com/2.2 methods return HTTP 400 "Violation of backoff parameter" without previously warning to back off

We have the following logic to make GET requests to https://api.stackexchange.com/2.2: private async get( apiMethod: string, // can be 'users', 'tags', 'info', or 'questions' url: string, // ...
Raf Blecher's user avatar
6 votes
1 answer
145 views

What kind of actions are bots allowed to do?

Based on all of the Stack Exchange API endpoints, especially the [auth required] ones, what actions are bots allowed to do? There is a lot of things you can do with the API, so here's some that are ...
CreaZyp154's user avatar
0 votes
2 answers
114 views

Automate adding questions from search to tag

Occasionally I notice a topic that has been discussed often enough to merit a tag, but there isn't one. For example, today on Raspberry Pi, a question popped into the active queue about using the ...
goldilocks's user avatar
  • 1,590
10 votes
1 answer
331 views

Accessing Stack Exchange API behind a firewall - are there IP address ranges to whitelist?

Scenario I am calling Stack Exchange APIs to collect Stack Overflow Teams data for my organization. In order to call these APIs from the server where I would like to run it, I must first request ...
snydergd's user avatar
  • 159
10 votes
1 answer
130 views

What scope to supply to get a refresh token from Stack Exchange?

In the process of implementing a OAuth app for Stack Exchange, I noticed that none of the approaches that conventionally work - supplying a offline_access scope, for example - result in the OAuth ...
Benn's user avatar
  • 103
9 votes
1 answer
287 views

Is/could the "Android/iOS" application endpoint for notifications be opened up to other apps?

The Android application is quite dead for me (but not to me) - I've been messing with an alternate app, but the lack of notifications is still a pain. The 'long term' alternative would be to get web ...
Journeyman Geek's user avatar
2 votes
1 answer
136 views

How can I save the result of a Stack Exchange API call into a text file using curl?

As I run the following, curl https://api.stackexchange.com/docs/questions-on-users#order=desc&sort=activity&ids=912523&filter=default&site=math&run=true > result.txt I got the ...
electrical apprentice's user avatar
1 vote
1 answer
119 views

Is there an API for user badges?

Is there was a way to pull down 'badges' for users of various sites in the network. I noticed that there is an API call for all badges in the system, but can't see one for users.
timhc22's user avatar
  • 145
9 votes
0 answers
121 views

Instant self-answers are ordered inconsistently

When the "Answer your own question" checkbox is used to provide an instant self-answer, the self-answer has the same creation timestamp as the question, and its ID number is 1 more than the ...
smitop's user avatar
  • 4,788
37 votes
0 answers
411 views

Could we revisit/reconsider the lack of chat API?

It's a feature request almost as old as the network itself - here's a request for a streaming API that felt like it got off on the wrong foot, and a frustratingly cryptic answer from Jeff when asked ...
Journeyman Geek's user avatar
12 votes
0 answers
154 views

Associated users endpoint gives empty response for meta users

The /users/{ids}/associated endpoint of the Stack Exchange API has the option to set ?types=meta_site to get the child meta users of a network account. But when I try it now, I get an empty response ...
smitop's user avatar
  • 4,788
1 vote
0 answers
81 views

Too many requests from this IP address [duplicate]

I am using the StackAPI library for Python to access Stack Overflow questions. I need to collect all question IDs attached with a particular tag (for example, regex). I used the search bar on Stack ...
akalanka's user avatar
  • 119
14 votes
1 answer
201 views

revision_number is returned in every revision item, even if it's not an edit

As of recently, the Stack Exchange API v2.2 (and v2.3) returns revision_number in every revision item, even if it's not an actual edit, effectively invalidating the "may be absent" for ...
double-beep's user avatar
  • 6,311
12 votes
0 answers
326 views

Stack Exchange API inconsistently causes CORS errors for client applications after a certain number of properly throttled requests (again?)

After a certain number of sequential requests made in short bursts (normally around 180 requests but I managed to get it down to 50 if the first batch of more than 180 requests succeeds) respecting ...
Oleg Valter is with Ukraine's user avatar
6 votes
1 answer
415 views

Stack Exchange API returns an empty array for tags on methods that return a list of answers

I was trying this filter to get the answers of a Stack Overflow user. But the tags array "tags": [], is always empty when questions have at least one mandatory tag (for example, see this ...
Terry Windwalker's user avatar
9 votes
0 answers
102 views

Stack Exchange API quota is intermittently unstable

The quota_remaining returned by the Stack Exchange API is intermittently unstable and either increases or decreases significantly for no apparent reason. For example, my quota_remaining increased by ...
user avatar
25 votes
2 answers
434 views

The API is unexpectedly retracting flags

I use the Charcoal FIRE userscript to red-flag posts. Today I found this SuperUser question (possibly 10k by now since it's spam) and I spam flagged both the question and answer. The question I ...
Machavity's user avatar
  • 26.3k

1
2 3 4 5
9