All Questions
197 questions
12
votes
1
answer
176
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
89
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
187
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 ...
9
votes
1
answer
447
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
218
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
470
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
120
views
Why is the API method for statistics not accessible?
Why is https://api.unix.stackexchange.com/1.1/stats not accessible?
47
votes
0
answers
450
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
161
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
145
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/...
1
vote
1
answer
92
views
Stack Exchange API doesn't work for meta sites
The Stack Exchange API doesn't seem to be working for certain sites like meta.stackoverflow.com.
For example, the below API to get the answers to a question by ID doesn't work for the following ...
-8
votes
1
answer
132
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 ...
3
votes
1
answer
106
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?
64
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 ...
97
votes
0
answers
700
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 ...
3
votes
1
answer
177
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 ...
5
votes
1
answer
106
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 ...
5
votes
1
answer
271
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, "...
4
votes
1
answer
118
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=...
19
votes
1
answer
296
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
208
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 ...
-6
votes
1
answer
103
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 ...
5
votes
1
answer
92
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 ...
6
votes
2
answers
186
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&...
1
vote
0
answers
65
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).
...
4
votes
0
answers
93
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 ...
10
votes
1
answer
355
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 ...
10
votes
1
answer
134
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 ...
2
votes
1
answer
147
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 ...
1
vote
1
answer
122
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.
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 ...
25
votes
2
answers
537
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 ...
17
votes
0
answers
143
views
What is the status of development and future of the SE API?
While as a non developer, and whose code tends to consist of hastily hacked together bits of bash its not of direct use for me, I'd love to have the option of a android app again.
While the official ...
6
votes
1
answer
133
views
Less results when hitting the API compared to using the search bar for the same query
I am new to Meta so let me know if I need to add clearer information or correct it.
I am currently trying to determine what the differences in functionality between making API calls and using the ...
5
votes
1
answer
115
views
Possibility of using booleans in the query parameter of /search/excerpts
We can use the symbols ; (respectively &) on the tagged parameter to represent an AND (respectively an OR) boolean operator on tags. For example, the API call
/2.2/search/excerpts?order=desc&...
4
votes
1
answer
50
views
Possible error on /search/excerpts documentation?
The StackExchange API documentation states the following for the tagged parameter of /search/excerpts:
tagged - a semicolon delimited list of tags, of which at least one
will be present on all ...
2
votes
0
answers
677
views
Stack Exchange API, access token request
I've done the OAuth process with Stack Exchange and I have my access token.
I'm trying to perform this request https://api.stackexchange.com/docs/me-posts#order=desc&sort=activity&filter=...
-5
votes
1
answer
229
views
How can I fetch all the new users that are created on all Stack Exchange sites via Stack Exchange API?
Is it possible to fetch all the new user accounts that are created (from some date) on all Stack Exchange sites via the Stack Exchange API?
And how can it be done?
6
votes
0
answers
138
views
Is it abusive to use a sockpuppet account for API calls? [duplicate]
Other questions ask about acceptable use of sockpuppet accounts, but I'm interested in if using multiple sockpuppet accounts for API calls. In my mind the answer would be that they're not abusive ...
3
votes
1
answer
102
views
Add an additional parameter as a filter to an API call
I would like to pass a filter in the API and use this option to receive the favorite count:
However I receive this error:
Error in !metadata$has_more : invalid argument type
4
votes
1
answer
317
views
Are there any ways to petition to increase your Stack Exchange API limit?
I know there is a 10,000 query limit for the Stack Exchange API, but I was curious if there was any way to ask for a one-time increase of API requests as I just need to do a one-time pull to get a bit ...
4
votes
1
answer
67
views
Why is a stackoverflow.com/a/{answer-id} generated by Google not working when passed to the Stack Exchange API?
I am writing a crawler that takes a URL from a Google search, for example https://www.google.com/search?q=site:www.stackoverflow.com+for+loop+python and use it to fetch data from Stack Overflow using ...
8
votes
2
answers
127
views
What's the URL format that shows all comments expanded for all SE sites?
I want to archive some questions. But some comments are hidden because of the mechanics of how SE's UX work i.e. I have to click on show X more comments below each post.
So, like superuser.com/a/...
4
votes
2
answers
66
views
Is it possible to see the daily reputation history of a group of users?
For research purpose, I would like to see the reputation history of a number of users. The reputation history API does not include events such as penalty due to downvoting other users' answers. So the ...
3
votes
1
answer
62
views
What does "full reputation history" provide in addition to "reputation history"?
There is an API for "full reputation history", in addition to one for just "reputation history". What does the "full" version give me that's missing in the regular one? Thanks!
3
votes
1
answer
88
views
Why is the close reason returned by the API different?
Up to few moments ago my script was working correctly fetching question information from the API. Right now my script fails because the duplicate close reason is different.
Previously it was:
...
3
votes
1
answer
319
views
How to get only accepted answer in return from the Stack Exchange API?
I found out that I could get only accepted questions from Stack Overflow using this API call.
But now I want only the accepted answer to be part of the returned object; I don't need other answers. I ...
2
votes
1
answer
49
views
Query questions based on 'last_activity_date'
Is there a way to query questions based on 'last_activity_date' in StackExchange API?
The API documentation says that 'fromdate' parameter considers the creation_date for the query.
My use case is ...
1
vote
1
answer
157
views
How to get only question title and accepted answer with specific tags via the API?
How can I get questions with x, y, z tags having at least three upvotes and with an accepted answer?
Also, I would like to only retrieve the question title, only the accepted answer, tags on questions ...
8
votes
1
answer
104
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....