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.

18 questions from the last 365 days
Filter by
Sorted by
Tagged with
5 votes
1 answer
188 views

Allow bounties to be posted with the API

Currently, as far as I can tell, it is not possible to post a bounty on an answer through the SE API; indeed, that seems to be just about the only thing the API doesn't let apps do to questions. Is it ...
Ginger's user avatar
  • 2,279
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: ...
VLAZ's user avatar
  • 15.7k
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&...
A.L's user avatar
  • 1,844
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 ...
avm23's user avatar
  • 183
14 votes
1 answer
694 views

API endpoints return a 40x code with error "no method found with this name" when reading the name of Staging Ground's badges

Goal Use the SE API in order to get the lists of the badges for every website in the network. The /badges endpoint provide this data. Expected result According to the paging documentation, we can ...
A.L's user avatar
  • 1,844
28 votes
0 answers
295 views

The API is down

As of 2024-08-14 21:17:15 UTC, the API appears to be fully dead, and blocked by CloudFlare. This is limited to specifically the API; no other services appear to be down. I've verified this on my IP, a ...
Zoe - Save the data dump's user avatar
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. ...
Simon Schlegel's user avatar
-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&...
avm23's user avatar
  • 183
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 ...
NotTheDr01ds's user avatar
  • 4,980
-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?
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
  • 25.4k
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 ...
Thomas Owens's user avatar
  • 55.4k
33 votes
1 answer
720 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
  • 11.8k
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 ...
avm23's user avatar
  • 183
23 votes
1 answer
728 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
  • 2,279
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/...
Gangula's user avatar
  • 411
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 ...
Gangula's user avatar
  • 411
5 votes
0 answers
148 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,287