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
14
votes
0answers
132 views

The SE API fails with a CORS error when hitting the rate-limit

I'm experiencing the same/similar problem as described in API has been failing with CORS errors since 11/13 When I run the below stack-snippet that basically makes various calls to the SE API, I'm ...
17
votes
0answers
122 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
1answer
66 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 ...
4
votes
1answer
52 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&...
3
votes
1answer
29 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 ...
1
vote
0answers
120 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
1answer
140 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
0answers
135 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 ...
-5
votes
1answer
65 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 ...
9
votes
0answers
76 views

API method /posts/{ids}/revisions returns <b></b> for hot questions and hot meta posts

The API seems to return <b></b> instead of <b>Became Hot Network Question</b> as the comment field for the revision item in which a post became a HNQ. Here is an example: { ...
3
votes
1answer
80 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
12
votes
1answer
260 views

Creating an unofficial Stack Exchange Android app

I am trying to create an unofficial Stack Exchange Android app and I have a few questions regarding that. Is it permitted to create Stack Exchange's unofficial Android app using Stack Exchange APIs? ...
3
votes
1answer
137 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
0answers
68 views

Make whether a deleted question was deleted voluntarily or for moderation reasons available in the API and SEDE

When a <10k user browses to a deleted question, they are told whether the question was deleted voluntarily by its author, or by others moderating the site (i.e. "for reasons of moderation"...
0
votes
0answers
48 views

Accessing https://data.stackexchange.com/query APIs programmatically [duplicate]

All, We want to get the list of all deleted question Id's from StackOverflow (with additional tags and/or date filters, if possible). However we don't see an useful API for this here: https://api....
5
votes
1answer
88 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
1answer
61 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
0answers
50 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 ...
8
votes
2answers
91 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
2answers
52 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
1answer
55 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
1answer
84 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
0answers
32 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 ...
3
votes
1answer
94 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 ...
12
votes
1answer
133 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 ...
7
votes
1answer
112 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 ...
2
votes
1answer
38 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
1answer
121 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
1answer
101 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
1answer
142 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 ...
2
votes
1answer
84 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?
3
votes
0answers
45 views

Meta sites are missing reputation in the Your Communities list in the Stack Exchange iOS app

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
1answer
256 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 ...
8
votes
0answers
126 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.
11
votes
1answer
162 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. '...
20
votes
1answer
221 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
0answers
32 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
1answer
46 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 ...
3
votes
0answers
47 views

Why does info return questions_per_minute?

I started reading the API specification and realized that info returns questions_per_minute. Additionally with only two fractional digits, which means that even the 5th largest page in this network ...
6
votes
1answer
56 views

Does access via the API count towards Fanatic and Enthusiast badges in 2019?

I've done some research and read some of the posts about this topic, but none of them are up to date. The answer from 8 years ago says that accessing via the API does not count for badges: Does ...
2
votes
1answer
76 views

How to use a search regex for tags in the Stack Exchange API

I want to simulate the question search using regex behaviour of Stack Overflow using the Stack Exchange API. For example, using c++* for tags will give questions which have c++ as prefix in tag such ...
7
votes
0answers
58 views

Wrong title displayed in api.stackexchange.com/docs pages

The title displayed in all api.stackexchange.com/docs, per-site methods, pages contains an HTML tag for the "method" (aka GET), and this tag is displayed in the title of the document. Example for ...
5
votes
1answer
80 views

Is there a Stack Exchange WebSocket action for multiple tags?

I'm developing an app to show all new questions for any tags that user is watching in realtime. So instead of using the REST API, I want to use the WebSocket at: wss://qa.sockets.stackexchange.com. I'...
5
votes
0answers
42 views

The API has been behind on and off today

I'm using the SE android app which pulls data via the API (afaik). All day, the data it's showing is out of date. I'll refresh the new question feed, and it will only show questions from like 10 ...
4
votes
1answer
1k 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 ...
7
votes
2answers
234 views

Accessing the latest comments on a site from the Stack API

Context: As a moderator on a relatively small beta site, I often notice spam, chatty, rude or entirely unrelated comments on old posts. It'd be nice if I had an easy way to monitor them. From the ...
-1
votes
1answer
64 views

Is there a sandbox chat room for testing the API? [duplicate]

Right now I have one (1) reputation and I need 20 to be in a chat. How do I test the chat API? Do I need to get more upvotes to chat or is there a "sandbox" chat that does not need rep? I know that ...
1
vote
1answer
36 views

Where do I find a history of changes to Stack Exchange's API?

As the title says is there a place where I can find a history of changes to the API? The API I am talking about is here: https://api.stackexchange.com/ I want something more detailed than what is ...
2
votes
1answer
98 views

Getting Duplicate Questions from Stack Exchange API

I want to use api.stackexchange.com to get duplicate questions. Scenario: I get a question from api.stackexchange.com using GET .../questions/{my_question_id}. In the next step I would like to get a ...
46
votes
10answers
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... ...

1
2 3 4 5
8