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.
470 questions
5
votes
1
answer
252
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 ...
13
votes
2
answers
209
views
The Search API does not show questions asked since April 1st - Related to the migration?
I have been seeing issues with the Stack Overflow API where questions created post April 1st 9AM EST do not show up when queried via the Search API.
Here is a sample query we used to confirm - https://...
30
votes
0
answers
251
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 ...
9
votes
0
answers
85
views
The badges API endpoint return badges from Staging Ground, that exist only on Stack Overflow, and yield 404 error pages
After the issue with the 40x codes that were returned because of the badges, there is still an issue with the API and these badges in particular.
Expected result
The /badges API should return the list ...
4
votes
1
answer
116
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 ...
5
votes
1
answer
206
views
Allow bounties to be posted with the API
Currently, as far as I can tell, it is not possible to post a bounty on an answer through the SE API; indeed, that seems to be just about the only thing the API doesn't let apps do to questions. Is it ...
12
votes
1
answer
191
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:
...
3
votes
1
answer
96
views
Using the filters “fromdate” and “todate” on the /badges API endpoint has no effect
It looks like the fromdate and todate filters have no effect on the /badges endpoint:
Example without these filters:
https://api.stackexchange.com/docs/badges#page=1&pagesize=30&order=desc&...
6
votes
1
answer
208
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 ...
14
votes
1
answer
784
views
API endpoints return a 40x code with error "no method found with this name" when reading the name of Staging Ground's badges
Goal
Use the SE API in order to get the lists of the badges for every website in the network. The /badges endpoint provide this data.
Expected result
According to the paging documentation, we can ...
28
votes
0
answers
357
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 ...
9
votes
1
answer
503
views
Cloudflare blocking requests to StackExchange API when User-Agent header is not specified
Since around 8/14/2024, our services requests to https://api.stackexchange.com/2.2/search are getting blocked by Cloudflare.
Despite not having any changes in the traffic pattern or the actual code.
...
-1
votes
1
answer
227
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&...
15
votes
1
answer
552
views
Cloudflare challenge on API and WebSocket traffic used for AI Analysis
Currently, there's a reproducible issue with Cloudflare blocking (via user/browser challenge as in this question) all API and WebSocket traffic from several sources. This is impacting the AI analysis ...
-5
votes
1
answer
123
views
Why is the API method for statistics not accessible?
Why is https://api.unix.stackexchange.com/1.1/stats not accessible?