Skip to main content

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
15 votes
1 answer
314 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 ...
NotTheDr01ds's user avatar
  • 4,982
0 votes
0 answers
68 views

API - associated sites doesn't return meta.stackoverflow.com [duplicate]

I'm using the https://api.stackexchange.com/2.3/users/<account_id>/associated API call to get the list of my associated stack exchange sites. But it doesn't return meta.stackoverflow.com. ...
Gangula's user avatar
  • 411
-4 votes
1 answer
112 views

Why is the API method for statistics not accessible?

Why is https://api.unix.stackexchange.com/1.1/stats not accessible?
beyondtime's user avatar
50 votes
1 answer
1k views

Cloudflare is asking for human verification on SE API requests, which blocked flagging by SmokeDetector/metasmoke

Today, SmokeDetector/metasmoke was unable to raise either automatic or manual flags due to Cloudflare asking for human verification on the SE API for a significant period of time. The response from ...
Makyen's user avatar
  • 24.5k
46 votes
0 answers
399 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 ...
Thomas Owens's user avatar
  • 52.1k
35 votes
1 answer
696 views

We are moving the API behind our CDN

Later today or tomorrow, we will be moving the API behind our Content Delivery Network (CDN). In an effort to better align all our applications, we are moving this and, in the future, other public ...
SpencerG's user avatar
  • 10.8k
5 votes
1 answer
144 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 ...
avm23's user avatar
  • 53
23 votes
1 answer
601 views

Cloudflare protection is triggering on Stack Overflow authentication API routes

The Stack Overflow OAuth endpoints (https://stackoverflow.com/oauth/access_token/ and https://stackoverflow.com/oauth/access_token/json) have started responding to requests from the server I run my ...
Ginger's user avatar
  • 1,842
2 votes
4 answers
139 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/...
Gangula's user avatar
  • 411
1 vote
1 answer
85 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 ...
Gangula's user avatar
  • 411
4 votes
0 answers
144 views

Questions frequently routed to the "robot detector" which fails on Safari

My preferred browser is Safari. Sometimes, I post a question and get the CAPTCHA because "we're not sure you're human." Unfortunately, on this website, as on more than ten percent of sites ...
WGroleau's user avatar
  • 1,267
-8 votes
1 answer
119 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 ...
JMP's user avatar
  • 131
23 votes
0 answers
297 views

SE API: Recent OAuth 2.0 implicit flow breaking change

Changed behavior: Unexpected values returned with the access_token when using the implicit OAuth 2.0 flow We are, now, seeing additional scope data included in the hash for the URL used as the ...
Makyen's user avatar
  • 24.5k
3 votes
1 answer
103 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?
Denys Medvediev's user avatar
80 votes
0 answers
5k views

How can we improve the Stack Exchange API?

The Stack Exchange API allows users to programmatically query and connect to the Stack Exchange Network of sites. The API is currently in version 2.3. We’re collecting feedback from users of the API, ...
J007B's user avatar
  • 1,691
63 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 ...
Philippe's user avatar
  • 21k
3 votes
0 answers
170 views

No ID for CS50 or Programming Language Design and Implementation on the Stack Exchange Website

I'm trying to fetch card-data as it is fetched on https://stackexchange.com/sites (request example below as a Node.js fetch), but can't find cards (or, hence, card IDs) for CS50 or Programming ...
else's user avatar
  • 31
97 votes
0 answers
694 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 ...
Mad Scientist's user avatar
8 votes
0 answers
115 views

Add support to the API to do all non-moderator actions that a user can do

It does not appear that the API supports viewing of deleted posts, which is what a 10k user or moderator can do on a site. Although I don't expect diamond moderator actions to be exposed, I would ...
Thomas Owens's user avatar
  • 52.1k
3 votes
1 answer
172 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 ...
ChristianOConnor's user avatar
3 votes
1 answer
236 views

StackAPI can't parse the Stack Exchange JSON anymore

For the last 4 days, my Stack Exchange view count graphing script has been breaking with StackAPI claiming that: requests.exceptions.InvalidURL: Failed to parse: https://api.stackexchange.com/2.2/...
SurpriseDog's user avatar
23 votes
1 answer
319 views

SE API multiple-escapes the returned data (at least display names, userlinks, and post content)

The Stack Exchange API will, unless you explicitly disable it, apply HTML escapes to certain strings. However, it will apply this transformation multiple times prior responding with the data. This is ...
Martijn Pieters's user avatar
5 votes
1 answer
88 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 ...
Ray Butterworth's user avatar
5 votes
0 answers
63 views

Unable to fetch favorite/bookmarked questions [duplicate]

I'm not able to fetch the favorite questions using the stack exchange api (https://api.stackexchange.com/docs/me-favorites). This looks like a recent issue because it was working fine a couple of ...
Gangula's user avatar
  • 411
31 votes
1 answer
280 views

SmokeDetector is seeing SE API errors 10,704 times more often than normal (2022-12-09)

For a bit over the last hour, SmokeDetector (SD) has, once again, been seeing a flood of SE API errors. This is well outside what's "normal" to see for SmokeDetector. The only recent change (...
Makyen's user avatar
  • 24.5k
10 votes
0 answers
92 views

Possible to have a means to access my saves externally? [duplicate]

Recent changes have converted the Bookmarks section to Saves and made what we have bookmarked private. This is definitely a positive change! However, doing so makes it even more difficult to ...
jonsca's user avatar
  • 16.7k
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, "...
Steve Dunn's user avatar
4 votes
1 answer
114 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=...
Grzegorz Skaruz's user avatar
41 votes
1 answer
905 views

A number of things seem to have broken simultaneously

Things that appear to have suddenly stopped working: Posts not appearing on the front page of Meta Stack Overflow or the "Active" tab for the post's tags + RSS feeds not updating. (As of ...
Ryan M's user avatar
  • 28.1k
27 votes
0 answers
215 views

SE API errors have dramatically increased to 2,768 times the "normal" average error rate [duplicate]

In the last 4 hours, SmokeDetector has reported 60+ errors when making normal requests to the SE API. These are the same requests which SmokeDetector has been making many thousands of every day since ...
Makyen's user avatar
  • 24.5k
18 votes
1 answer
277 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 ...
Gro-Tsen's user avatar
  • 281
7 votes
1 answer
88 views

Chat oneboxes are being inconsistent for certain users

For the past few weeks, I have been running a bot in the Sandbox while testing it to replace another, currently broken, bot that posted new posts and challenge sandbox posts in The Nineteenth Byte. ...
Ginger's user avatar
  • 1,842
2 votes
2 answers
197 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 ...
Andrew Gremus's user avatar
-6 votes
1 answer
102 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 ...
user20040276's user avatar
2 votes
0 answers
34 views

API returns the same content in paginated response [duplicate]

I'm trying to get linked questions for this question which currently has around 490 linked questions. Since it has so many linked questions, I'm using a page size of 100 which is the maximum page size ...
Gangula's user avatar
  • 411
5 votes
1 answer
85 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 ...
Gangula's user avatar
  • 411
6 votes
2 answers
173 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&...
nbl7's user avatar
  • 161
23 votes
0 answers
144 views

SE API forgot how to order badges lexicographically

As of recently, the Stack Exchange API endpoint for listing named badges started to error out when choosing to sort the result set by name. Can this be fixed as soon as possible, please? Switching to ...
Oleg Valter is with Ukraine's user avatar
4 votes
1 answer
176 views

Query for retrieving all answer ids for questions which a user already answered

I'm looking for a query from a Stack Overflow dump to find this. Example: user-id 'XXXXX' answered_list_id:[10,20,30,40] Also, I don't consider whether the answer is accepted or not. FROM Users AS u ...
mj lajy's user avatar
  • 41
22 votes
1 answer
269 views

SE API quota_remaining property is periodically missing from the response

Over the last several days while running SmokeDetector, we've periodically seen multiple responses from the SE API with the quota_remaining missing, with the most recent group a few hours ago. The ...
Makyen's user avatar
  • 24.5k
23 votes
1 answer
407 views

Many API requests to /questions with filter parameters are failing with status code 400 errors

For some questions, using a filter parameter appears to break the API, causing it to return a "400 Bad Request" status code with the following payload: {"error_id":404,"...
Ryan M's user avatar
  • 28.1k
7 votes
1 answer
165 views

API to programmatically close questions as duplicate with duplicate list

If you follow and/or curate a tag long enough, you'll probably notice that there's some questions that just get asked over and over. Usually these are confusing aspects of some commonly used feature ...
blackgreen's user avatar
  • 3,416
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). ...
Ranim Khojah's user avatar
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 ...
user avatar
7 votes
0 answers
297 views

GET requests to https://api.stackexchange.com/2.2 methods return HTTP 400 "Violation of backoff parameter" without previously warning to back off

We have the following logic to make GET requests to https://api.stackexchange.com/2.2: private async get( apiMethod: string, // can be 'users', 'tags', 'info', or 'questions' url: string, // ...
Raf Blecher's user avatar
7 votes
1 answer
225 views

What kind of actions are bots allowed to do?

Based on all of the Stack Exchange API endpoints, especially the [auth required] ones, what actions are bots allowed to do? There is a lot of things you can do with the API, so here's some that are ...
CreaZyp154's user avatar
1 vote
2 answers
116 views

Automate adding questions from search to tag

Occasionally I notice a topic that has been discussed often enough to merit a tag, but there isn't one. For example, today on Raspberry Pi, a question popped into the active queue about using the ...
goldilocks's user avatar
  • 1,598
10 votes
1 answer
346 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 ...
snydergd's user avatar
  • 159
10 votes
1 answer
133 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 ...
Benn's user avatar
  • 103
9 votes
1 answer
304 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 ...
Journeyman Geek's user avatar

1
2 3 4 5
10