Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
17 votes
1 answer
255 views

List of Votes by Authenticated users

In the API documentation for the question type, it says that you can access, for a specific question, whether or not the authenticated user (in the private_info scope) upvoted/downvoted the question. ...
Nick Peterson's user avatar
12 votes
2 answers
6k views

Can the redirect_uri contain port number?

Is it possible to have the redirect_uri contain a specific port? For example: example.com:8080 Assuming that example.com is my registered domain, is the 8080 allowed? I have tried to put it as part ...
Andy's user avatar
  • 417
8 votes
1 answer
263 views

Why has my daily quota increased from 10k to 2 billion?

I'm using the Stack Exchange API with an access token and API key, and I was just checking my remaining quota. According to the documentation, this should be a number (somewhat) lower than 10,000, ...
Glorfindel's user avatar
  • 6,885
6 votes
1 answer
135 views

Does a closed and/or deleted Stack Apps post still provide access to the API?

Registering your application as a Stack Apps app is necessary in order to obtain a higher request quota, authentication and write access to the API. What happens if the question is closed because of ...
Glorfindel's user avatar
  • 6,885
6 votes
1 answer
571 views

Got 502 response after very few calls

This looks like a duplicate of Throttle violation after 300 calls but this one is reported as fixed in 2012. Today I made ~450 requests with an app key (no oauth token) and suddenly got a 502 ...
vap78's user avatar
  • 113
5 votes
1 answer
466 views

How to increase app request quota from 300 to 10,000?

In the app management page for a little app I made, the following statement is presented below this key Pw9D)judG8FE4tJR3qjUTA((: Pass this as key when making requests against the Stack Exchange ...
m-a-r-c-e-l-i-n-o's user avatar
5 votes
1 answer
73 views

Possible to get a user's flag history?

Is it possible to retrieve a signed-in user's flagging history, preferably with the status of the flag? I looked at the /me/timeline docs, and noticed it doesn't return flags. Is this type of ...
Andy's user avatar
  • 417
5 votes
1 answer
92 views

How can I access a user's ID on another site (eg. SU) if I have their ID from another site (eg. SO)?

If I have the ID of a user from any site, how can I get that's user's ID for a site I specify? Eg. If someone's ID was 10349 on Super User, how could I get 10349's id on Stack Overflow? I know I'd ...
ᔕᖺᘎᕊ's user avatar
  • 4,385
5 votes
1 answer
119 views

Access token keeps being invalidated

For Stack Overflow Extras (SOX), a few users and myself have seen our access tokens being invalidated very often without any apparent reason. We aren't requesting new tokens (which would invalidate ...
ᔕᖺᘎᕊ's user avatar
  • 4,385
5 votes
1 answer
199 views

Is there a way to specify how long I want an access token to be valid for?

I am following the explicit authentication path. I am not passing no_expiry as part of the scope. After the final POST step, I receive back an expires value of 86399 (just shy of a full day). It ...
Andy's user avatar
  • 417
5 votes
1 answer
108 views

Is it possible to have no sorting - to just show results in order of inputted IDs?

I'm trying to send multiple IDs at once (up to a max of 100), but need to use the data in the same order I send the request with. So, if I send IDs in an arbitary order like 4;1;3;2, I would like to ...
ᔕᖺᘎᕊ's user avatar
  • 4,385
4 votes
1 answer
185 views

“Try It” URL has wrong URI

On API doc pages, the “link” link at the top-right of the “Try It” sections presents a URL with the wrong domain name: For example, on docs/similar, the URL displayed will be: https://api....
Brandon Kelly's user avatar
4 votes
1 answer
52 views

Can we find the time of a vote using the API?

I've been looking at the API docs and more specifically at the filters available for the /answers/{ids}, /posts/{ids} and /questions/{ids} routes but can't find anything other than upvoted and ...
ᔕᖺᘎᕊ's user avatar
  • 4,385
4 votes
1 answer
1k views

Unable to make API calls using access_token for private Stack Overflow Teams site

I am attempting to create an application utilizing the API to query data from our private Stack Overflow Teams site. I've read through the documentation at https://api.stackexchange.com/docs/teams ...
Znurre's user avatar
  • 143
4 votes
1 answer
78 views

How to monitor (for new) accepted answers by certain tags?

In practice, I don't know the IDs of the questions, but I can search for answers by given tag(s). The problem is how to find (newly) accepted answers. The "activity time" does not work for this. For ...
Jason Li's user avatar
3 votes
1 answer
141 views

StackExchange API, OAuth for other sites than Stack Overflow

I'm implementing the OAuth system through StackExchange API, here is the guide. I've already integrated the OAuth system with stack overflow with the following parameters: Token URL: https://...
Daniel James Tronca's user avatar
3 votes
1 answer
82 views

503 errors on batch get questions endpoint

I receive a lot of "socket hung up" and 503 Service Unavailable on the /questions/{ids} endpoint. I make requests in batches: 10 parallel requests with 15 question ids, interval between each 10-size ...
Vladyslav Usenko's user avatar
3 votes
1 answer
2k views

Implicit OAuth flow puts the access token in the hash?

The implicit OAuth flow puts the access token in the hash. However, I would like to get that in the query (from example.com/hi#access_token=123456 to example.com/hi?access_token=123456) for it to work ...
user avatar
3 votes
1 answer
391 views

iOS Client for stackoverflow always throws redirect_uri not a valid uri

I tried to use the Stack Exchange API to authenticate the user. I have registered my app with redirect_uri as stackexchange.com/oauth/login_success. But it always throws "redirect_uri is not a valid ...
Kishorekumar E K's user avatar
3 votes
1 answer
56 views

Reputation_change has the historical total rather than the daily delta?

I'm trying to use the reputation API to get the recent reputation delta for a given user. For example, looking at recent entries for /2.2/users/21539/reputation, one has: { on_date: 1447018487, ...
David Ebbo's user avatar
3 votes
1 answer
60 views

`body` of `inbox_item` returning only excerpt, not full body

I have run /inbox/unread function. It returns a list of inbox_items. The body of inbox_item gives excerpt, not the full body. This is with all the functions that return inbox_item. According to ...
amit jha's user avatar
  • 842
3 votes
1 answer
124 views

Help with javascript SDK configuration

The following problem is REAL! All names have been changed to protect the innocent. I have a site at "http://Something.github.io/MyRepository/Directory/index.html" And I have my app configured like ...
Jack Sprat's user avatar
3 votes
1 answer
67 views

Wrong results for fetch timeline from offset

To get the timeline for a question I am sending this request: https://api.stackexchange.com/2.2/questions/63299112/timeline?site=stackoverflow&fromdate=1597649222 I am getting empty results: {&...
Wajeed Shaikh's user avatar
3 votes
1 answer
279 views

PLACEHOLDER - How to get write_access to comment/answer on Stack Exchange

I'm trying to integrate the Stack Exchange API into my web app so I can fetch all posts as well as I can post answer or comments on them. I have successfully got access_token for no_expiry and ...
Anshul Tyagi's user avatar
3 votes
1 answer
88 views

The /tags query is not giving me the correct results between two dates?

I'm trying to get the yearly total number of questions that have the tag browserify. I can see that there are questions tagged from this year like this one and that one. The site reports that there ...
Jeremy Larter's user avatar
3 votes
1 answer
201 views

Search for answers/comments under questions with certain tags using the Stack Overflow API?

The advanced search (/search/advanced) API can search for questions by tags. But /users/{ids}/answers API doesn't take tags. I'd like to monitor answers/comments for questions with certain tags. Is ...
Jason Li's user avatar
3 votes
1 answer
174 views

Difference between `/inbox/unread` & `/me/inbox/unread`

I ran /inbox/unread & /me/inbox/unread. What is the difference between the two? Also, the site parameter which we give in call to /me/inbox/unread is not required as inbox_item refers to global ...
amit jha's user avatar
  • 842
3 votes
1 answer
100 views

How to search answers like is:answer

How can I use the API to search for answers containing particular text or with particular properties? For example, this link allows me to search for is:answer foo, that is, answers containing foo. Can ...
elixenide's user avatar
  • 173
3 votes
1 answer
246 views

Unable to post a comment using the interactive API documentation

I'm trying to to integrate the Stack Exchange API in my application. I'm trying the authentication but when I got the token and used it it gave a write_access issue. That issue was resolved when I ...
msftsofbot's user avatar
3 votes
1 answer
1k views

Got a Bad Status Line

Since about 10 AM US-CDT on August 8, 2015, I've been getting ('http protocol error', 0, 'got a bad status line', None) on a /users/{ids}/associated query after several successful such queries ...
Dennis Williamson's user avatar
3 votes
1 answer
154 views

How to calculate users, who have posted (question/answer) using specific tag?

For example, if I want to know the number of users who asked and answered about PHP. Currently, I can just get the list of questions and its total number, but it's not enough, because one user could ...
Yury Andreykovich's user avatar
3 votes
0 answers
46 views

Search incomplete synonym name

Is there is way to search synonym when user is inputting the name. Something like how things work in SO's tag search page. j2se is a synonym of java tag, but it appears in search when searching for ...
a1626's user avatar
  • 161
3 votes
0 answers
85 views

Java Wrapper for the 2.2 API

I've been looking for a Java based API/wrapper/DAO for the new SE API 2.2. but could not find any (May very well be a limitation of my search skills, though.) I found references to attempts at ...
Lefty G Balogh's user avatar
3 votes
0 answers
170 views

What's the proper way to fetch the score of all answers of SO?

I wrote a small program querying the SE API to grab the public scoring data of all SO answers (excluding the last 3 days). Basically the request I do gets me this: Questions[]: Id Title ...
Denys Séguret's user avatar
3 votes
0 answers
70 views

How do I access the greatest hits (questions) via API v2.2.?

The greatest hits (questions) of any stack exchange site (say stack overflow) can be found by visiting the below URL: https://stackoverflow.com/questions/greatest-hits I would want to access these ...
defau1t's user avatar
  • 131
2 votes
1 answer
84 views

What happened to the links to a Stack App mentioned in the documentation about write access?

The documentation about write access states: The application responsible for creating content via the API may be indicated with a link to an app's Stack Apps post. The exact manner of display is ...
Glorfindel's user avatar
  • 6,885
2 votes
1 answer
66 views

Suggested edit not returned by API

This suggested edit: https://dba.stackexchange.com/suggested-edits/20375 is not returned by the /suggested-edits/{ids} API call: https://api.stackexchange.com/2.2/suggested-edits/20375?site=dba ...
Glorfindel's user avatar
  • 6,885
2 votes
1 answer
85 views

How to find questions that were posted or edited recently?

The api function documented at http://api.stackexchange.com/docs/questions lets me list questions on a site. How do I sort this so that I see questions that are recently posted, edited, including ...
b_jonas's user avatar
  • 153
2 votes
1 answer
316 views

Does verifying OAuth2 `access_token` validity count towards API call quota?

Does this Stack Exchange API endpoint count towards quota usage? : http://api.stackexchange.com/docs/read-access-tokens (This is the most promising API call I found for verifying the validity of ...
Gima's user avatar
  • 123
2 votes
2 answers
82 views

How to update tags without modifying question body? [duplicate]

I made a call to update the question tags using API - https://api.stackexchange.com/docs/edit-question however the body formatting changes when I edit the tags with the same body received (with HTML ...
SO User's user avatar
  • 63
2 votes
1 answer
55 views

Are the revisions returned by /posts/{ids}/revisions guaranteed to be returned in descending order?

The /posts/{ids}/revisions method returns all revisions to a post, but it doesn't have the sort and order parameters most methods have. From some quick tests, e.g. this one, I think it always returns ...
Glorfindel's user avatar
  • 6,885
2 votes
1 answer
63 views

What does "in practice" mean here?

From /answers/{id}/delete: In practice, this method will never return an object. For me, "in practice" means that the method will maybe return an object. But why? That's not good from an ...
Rakete1111's user avatar
2 votes
1 answer
137 views

bad_parameter when using key with todate?

I'm having trouble using my API key with the todate parameter. My query works fine with todate: $ curl -s "https://api.stackexchange.com/2.2/search/advanced?todate=2015-07-21&site=stackoverflow&...
bmaupin's user avatar
  • 123
2 votes
1 answer
68 views

`fromdate` and `todate` parameter in `/me` call

What if we don't give the fromdate and/or todate parameters in a /me call? Will it give result of user of all times? It's not mentioned explicitly in documentation.
amit jha's user avatar
  • 842
2 votes
1 answer
60 views

Advanced search doesn't return expected results when using min & max (dates) together?

I want to use the Advanced Search API to get the same results as the Stack Overflow site search. With it, I can see new questions on 11/10/2015. When I tried to craft a query using the Advanced ...
Jason Li's user avatar
2 votes
1 answer
165 views

Question up-voting is not working from my code?

I am trying to upvote a question using the Stack Exchange API in android, via the /2.2/questions/{questionID}/upvote route. But in the log, it's just showing something like: org.apache.http....
Sudheer's user avatar
  • 123
2 votes
1 answer
29 views

Use case for /render endpoints?

In the new v2.2 API there are /render endpoints, such as /questions/{id}/answers/render. What are these for? Testing applications without actually posting anything?
Jonathan.'s user avatar
  • 3,118
2 votes
1 answer
45 views

Discrepancy in results size

I just started using the Stack Overflow API. I want to collect all questions related to a specific keyword. My code iterates over all result pages by increasing the &page=N parameter while '...
Tobias's user avatar
  • 23
2 votes
1 answer
84 views

Bugs in API 2.2 "/search/advanced" with a "q" parameter

How can we handle these problems? Result for sort=relevance&order=desc is similar to sort=relevance&order=desc. Very poor caching system: After some queries, you may receive the same results ...
C2121's user avatar
  • 21
2 votes
1 answer
136 views

How to get all tags' descriptions from the Stack Exchange API directly?

I know I can get one tag description by request such as "https://api.stackexchange.com/2.2/tags/tag_name/wikis?site=dba". But if I use it more than hundreds of times, I will get a ...
peizidiao's user avatar