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
10
votes
1answer
85 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
1answer
61 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 ...
9
votes
1answer
151 views

Is/could the "Android/iOS" application endpoint for notifications be opened up to other apps?

The Android application is quite dead for me (but not to me) - I've been messing with an alternate app, but the lack of notifications is still a pain. The 'long term' alternative would be to get web ...
2
votes
1answer
59 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 ...
0
votes
1answer
96 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.
9
votes
0answers
110 views

Instant self-answers are ordered inconsistently

When the "Answer your own question" checkbox is used to provide an instant self-answer, the self-answer has the same creation timestamp as the question, and its ID number is 1 more than the ...
34
votes
0answers
362 views

Could we revisit/reconsider the lack of chat API?

It's a feature request almost as old as the network itself - here's a request for a streaming API that felt like it got off on the wrong foot, and a frustratingly cryptic answer from Jeff when asked ...
10
votes
0answers
103 views

Associated users endpoint gives empty response for meta users

The Stack Exchange API /users/{ids}/associated endpoint has the option to set types=meta_site to get the child meta users of a network account. But when I try it now, I get an empty response for my ...
1
vote
0answers
61 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 ...
14
votes
1answer
168 views

revision_number is returned in every revision item, even if it's not an edit

As of recently, the Stack Exchange API v2.2 (and v2.3) returns revision_number in every revision item, even if it's not an actual edit, effectively invalidating the "may be absent" for ...
10
votes
0answers
90 views

Stack Exchange API inconsistently causes CORS errors for client applications after a certain number of properly throttled requests (again?)

After a certain number of sequential requests made in short bursts (normally around 180 requests but I managed to get it down to 50 if the first batch of more than 180 requests succeeds) respecting ...
6
votes
1answer
77 views

Stack Exchange API returns an empty array for tags on methods that return a list of answers

I was trying this filter to get the answers of a Stack Overflow user. But the tags array "tags": [], is always empty when questions have at least one mandatory tag (for example, see this ...
9
votes
0answers
69 views

Stack Exchange API quota is intermittently unstable

The quota_remaining returned by the Stack Exchange API is intermittently unstable and either increases or decreases significantly for no apparent reason. For example, my quota_remaining increased by ...
25
votes
2answers
355 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 ...
4
votes
0answers
54 views

Stack Apps sidebar needs to be updated to reflect the API version changes

On StackApps, in the sidebar, it says: Shouldn't that say "API 2.3"?
8
votes
0answers
140 views

Spelling mistakes in the API documentation change log page

There are some spelling mistakes in the API documentation Change Log page, under the Version 2.0 section. Section name Spelling mistake Supposed to be General Changes reponse response Method ...
39
votes
9answers
3k views

API 2.3 Release

Today, we are releasing version 2.3 of the Stack Exchange API. It includes new functionality around Collectives and Articles as well as the ability to retract flags. Check out the Change Log.
15
votes
0answers
162 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
129 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
75 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
1answer
62 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
1answer
33 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
246 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
146 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
136 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
70 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 ...
13
votes
0answers
109 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
85 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
331 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
159 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
74 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
94 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
63 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
55 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
102 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
55 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
57 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
87 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
148 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
135 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
133 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
39 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
131 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
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
1answer
148 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
108 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
50 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
264 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 ...

1
2 3 4 5
9