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.
466 questions
7
votes
1
answer
866
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 ...
0
votes
1
answer
267
views
Apple OS X Developer Program: can I ask questions about the new API? [closed]
Is it allowed to ask questions on a public forum (^H^H^H or Q&A) regarding features of an API that is only available to (paid) members of the Apple Developer Program (ADP)?
I would say that those ...
4
votes
1
answer
2k
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 ...
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 ...
8
votes
1
answer
80
views
Stack Exchange API: How to get a suggested edit in Markdown?
The API doesn't seem to provide body_markdown field for suggested-edit objects. I wonder why. Is there any way to get an edit as Markdown?
5
votes
1
answer
68
views
Typo on https://api.stackexchange.com/docs/posts-by-ids
In https://api.stackexchange.com/docs/posts-by-ids:
To find ids programatically look for post_id, answer_id, or question_id on post, answer, and question objects respectively.
It should be:
To ...
12
votes
1
answer
78
views
Need of search bar in Stack Exchange API Documentation Pages
The is a need of search bar in Stack Exchange API Documentation Pages. Eg. the place marked in the snapshot
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?
32
votes
2
answers
443
views
Is my Chrome extension unethically circumventing SE privileges?
I built a Google Chrome extension that queries the SE API for the up/down vote count for a question or answer and then plugs that information into the appropriate vote score. Really, it looks and ...
39
votes
4
answers
26k
views
Does Stack Overflow provide a public API for querying?
I'm interested in possibly writing an aggregation application for subject/tags interested in.
Will Stack Overload be providing some sort of API for the public?
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 ...
-4
votes
1
answer
78
views
Sites API should include a site branding color, or if it shouldn't, why not?
I'm making a Stack Exchange app, and one thing I found pretty cool in the sites API is that it sends us the colors for links and tags, so my apps color is kind of consistent with the sites.
But the ...
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
-14
votes
1
answer
276
views
How to get votes cast by a user
I want to query the upvotes and downvotes that have been cast by a person. Is there an API call for that? (I don't see one on the API docs.)
If there isn't a call for that, could this be achieved ...
8
votes
1
answer
214
views
Is there a way to export the list of tags as plain text?
I want to export the list of tags as a plain text file. It's fine if I have to massage the data a bit, as long as I don't need to click through pages and pages of tags. Why? Because I use that input ...
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 ...
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 ...
5
votes
1
answer
105
views
Did the preview API break? “The app submitted an invalid request”
I keep on seeing this error when trying to preview edits from the (admittedly unsupported) iOS app:
I am concerned that this is a problem with the API response that’s behind this, which would be ...
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 ...
0
votes
0
answers
59
views
Stack Exchange API Optimal, Acceptable Request Frequency [duplicate]
I used the Stack Exchange API and received this error:
[1] "{\"error_id\":502,\"error_message\":\"too many requests from this app/user pair, more requests available in ...
7
votes
1
answer
3k
views
Stack Exchange API too many requests from this IP address
I am using the Stack Exchange API to get Stack Overflow data, but I am getting "too many request from this ip" after making only five requests. I got JSON content like this:
{u'error_id': 502, u'...
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 ...
9
votes
2
answers
1k
views
StackOverflow API for R?
Is there an R package for accessing the StackOverflow questions, answers, user profiles, badges, etc. through an API? I would like to make a word cloud of popular tags and other such plots.
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:
...
6
votes
0
answers
36
views
Can’t access entire API docs menu on mobile
This is what I see at 100% (pinched out) after expanding the menu on one of the API documentation pages:
In addition to it not being fully responsive (due to the “Try it” box lower on the page), I ...
12
votes
1
answer
139
views
Approve button on OAuth authorization dialog is invisible
There's supposed to be a button there... and while I think of it, wasn't the Reject button supposed to be red?
More specifically, there is an Approve button there, just to the left of the Reject ...
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 ...
16
votes
1
answer
314
views
Include my close and reopen votes on the votes page (or the API /question object)
The following URL only includes upvotes or downvotes that I have cast (as far as I can tell):
http://stackoverflow.com/posts/POST_ID/votes
I'm requesting that this page also include the close and ...
27
votes
2
answers
934
views
Record for most consecutive days visited?
Is there a way to find out the actual number for the highest ever consecutive days visited?
I don't want to know who the user is that holds the record (I would hope that information would be kept ...
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 ...
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....
6
votes
1
answer
156
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 ...
11
votes
1
answer
168
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.
'...
3
votes
0
answers
147
views
How to get the list of all posts I've upvoted via the API? [duplicate]
I'm looking for a way to get the list of all my upvotes on Stack Overflow, however after looking through the API list, seems there is no way to achieve that.
And I know I can view my upvotes in votes ...
2
votes
1
answer
158
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?
10
votes
2
answers
364
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,...
3
votes
0
answers
57
views
Meta sites are missing reputation in the Your Communities list in the Stack Exchange iOS app [closed]
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
1
answer
307
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 ...
19
votes
1
answer
116
views
Include Site-Specific Closed Reasons in Stack Exchange API Results
Current Design
When we search the API for questions, one of the fields provided is closed_reason. This is a sample of the results:
{
"question_id": 14707,
"creation_date": 1380431224,
"...
8
votes
0
answers
133
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.
21
votes
1
answer
313
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
0
answers
38
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
1
answer
54
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 ...
47
votes
10
answers
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... ...