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.
474 questions
3
votes
0
answers
62
views
API discrepancy between question flagging and answer flagging
If you go to question flagging and answer flagging, you can see the question flagging page has two more options: target_site and question_id. Omitting these works the same as including them.
Both are ...
7
votes
1
answer
179
views
The API seems to never return the content license for posts/questions when the filter includes comments (or answers)
I know the API is very buggy and whether a field is returned in the response often depends on what other fields are included/excluded in the filter, but I've been unable to successfully come up with a ...
6
votes
1
answer
284
views
API Try it 'unselect all' doesn't unselect anything
When editing filters under the Try It section of the API docs, the "unselect all" button only works for default checked items, but not new selections. It just changes the number of selected ...
30
votes
0
answers
277
views
API filters have been incompatibly changed
As of 2025-02-04 16:41 UTC+01:00, all API filters have been changed in a backwards-incompatible way. This means that all API filters used by current applications have suddenly become invalid. This ...
4
votes
1
answer
130
views
Stackexchange API to fetch saved posts across all stackexchange network
I want to fetch my saved posts from across stackexchange network that I have joined, is it possible? I have read the documentation on the api.stackexchange.com and it seems the api is intended for ...
12
votes
1
answer
217
views
What do I need to know as a user about authorising applications that interact with Stack Exchange?
I know that I can grant permission of an application to do something with my account on the network. What can and cannot an application do if I allow it? For example, if I see a description like:
...
6
votes
1
answer
240
views
I comply with backoff orders, but still get "Violation of backoff parameter"
I sometimes get throttle violation errors from the API
{'error_id': 502, 'error_message': 'Violation of backoff parameter', 'error_name': 'throttle_violation'}
despite complying with back off orders ...
28
votes
0
answers
384
views
The API is down
As of 2024-08-14 21:17:15 UTC, the API appears to be fully dead, and blocked by CloudFlare. This is limited to specifically the API; no other services appear to be down.
I've verified this on my IP, a ...
-1
votes
1
answer
235
views
API returns reputation history events for deleted posts, yet no post_deleted events are included. Why? Bug? What do I do?
This SE API request for user 30382 of Mathematics site returns the following items:
...
{"reputation_history_type":"post_downvoted","reputation_change":-2,"post_id&...
-5
votes
1
answer
133
views
Why is the API method for statistics not accessible?
Why is https://api.unix.stackexchange.com/1.1/stats not accessible?
60
votes
0
answers
835
views
What, exactly, is "OverflowAPI"?
The description on the OverflowAPI website is rather vague marketing speak:
OverflowAPI is a subscription-based API service that provides continuous access to Stack Overflow’s public dataset to train ...
5
votes
1
answer
182
views
How can I get bounty information from the API?
I want to get information about all bounties that were active within last 3-4 days. This should include started, awarded and expired bounties. How do I do this?
Here are my thoughts.
If a bounty is ...
2
votes
4
answers
232
views
Stack Exchange site names for API URL query parameter
When calling a Stack Exchange API we need to specify which site we are trying to fetch the data from in a API URL query parameter (site=webapps.meta) like below:
https://api.stackexchange.com/docs/...
5
votes
0
answers
165
views
Questions frequently routed to the "robot detector" which fails on Safari
My preferred browser is Safari. Sometimes, I post a question and get the CAPTCHA because "we're not sure you're human." Unfortunately, on this website, as on more than ten percent of sites ...
23
votes
0
answers
305
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 ...
81
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, ...
3
votes
0
answers
179
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 ...
8
votes
0
answers
125
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 ...
3
votes
1
answer
251
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/...
5
votes
1
answer
200
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 ...
31
votes
1
answer
297
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 (...
5
votes
1
answer
282
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, "...
41
votes
1
answer
1k
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 ...
19
votes
1
answer
355
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 ...
2
votes
2
answers
240
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 ...