Questions tagged [api]

Questions about the Stack Exchange API *only*. If your question concerns any other API, do not use this tag. For bugs, please (also) use the version tag, EG [api-v2.2], that the bug applies to.

Filter by
Sorted by
Tagged with
2 votes
1 answer
107 views

Authentication uses # instead of `?`?

I need authentication for my app so I used the implicit flow way. The authentication works just fine but the access_token and expires variables return weirdly! For example: https://example.com/#...
moein rahimi's user avatar
2 votes
1 answer
105 views

Can I change my profile picture using the API version 2?

I was considering making an app that lets the user design a profile picture and then activate it on the user's Stack Exchange account. Could a feature to change the profile picture be added to the ...
Damian Yerrick's user avatar
2 votes
1 answer
88 views

Get users based on location? [duplicate]

I want to get site users by their location but I don't see any method for that. And it's not possible with a filter either. Is there any way to get users based on location or is it not possible?
Nehal Hasnayeen's user avatar
2 votes
1 answer
76 views

Obtain JSON equivalent of a full Q&A HTML page?

I want to write an application for which, after some logic to select a set of questions, it would be most convenient to get the whole set of stuff at once that is normally shown on a Stack Exchange Q&...
Lutz Prechelt's user avatar
2 votes
1 answer
248 views

C# Stackexchange Questions API [duplicate]

I need to build an web application C# and below is what I'm stuck with Can I use Stack Exchange's API with Key? Do they have a "hello world" key can be used for learning purpose. I wish to get the ...
singhswat's user avatar
  • 133
2 votes
1 answer
163 views

Differences between versions 1.x and 2.x of the Stack Exchange API?

I had written a Java Wrapper for the Stack Exchange API, version 1.x, Which was working perfectly. But, since 12 May 2014, services for version 1.x have been shutdown and my Wrapper stopped working. ...
Sanjiv's user avatar
  • 325
2 votes
1 answer
174 views

Possible to get more than 5 tags for /search? Or to use or-logic, for tags, in /questions?

This is the query I want to run: /2.1/search?pagesize=100&page=1&order=desc&sort=creation&tagged=linux,ubuntu,bash,linux-mint,mint,linux-distributions,linux-distro,archlinux,&site=...
gyaani_guy's user avatar
2 votes
1 answer
210 views

API returning character entities in JSON

I noticed display names in the JSON contain HTML character entities; e.g. /2.0/users/718618?order=desc&sort=reputation&site=stackoverflow Gives me: { "items": [ { "user_id": ...
russau's user avatar
  • 193
2 votes
1 answer
88 views

Better way to find activity changes in terms of API Usage

I am coding an application that notifies events in Stack Exchange accounts. I want to notify about badges/reputation changes, and also I would like to notify whenever a new answer or comment is posted ...
ernie's user avatar
  • 123
2 votes
1 answer
58 views

Reputation losses aren't reflected in the API

This includes reputation recalculations (e.g., the latest) and (speculative) when people take upvote back. First case you can see on standard stackauth/users query: it displays meta reputation before ...
Nikita Rybak's user avatar
  • 1,271
2 votes
1 answer
84 views

Are these requests guaranteed the return the same results?

Going over the API, there seems to be some overlap when it comes to expressing a predicate in a URL. For example, let's say I want to fetch some questions from stackoverflow.com that have the tag "...
Dave DeLong's user avatar
  • 5,264
2 votes
1 answer
211 views

Retrieving JSON via the API using Ajax does not work

I tried to retrieve information of my user profile on Stack Overflow via the API using Ajax/jQuery. But it does not work for me. The result of the request is always empty. <html> <...
DarkLeafyGreen's user avatar
2 votes
1 answer
142 views

what is the url for a *.stackexchange site's api?

from my understanding, the documentation suggests that we can use the api against any current *.stackexchange website what would be the url for the api for one of these ? e.g. mysite.stackexchange....
DC01's user avatar
  • 123
2 votes
1 answer
101 views

Retrieving a post with a specific ID

According to this question (and its answer), questions and answers are using the same index to determine their ID. In other words: Question with ID #1 Answer with ID #2 Answer with ID #3 Answer ...
Dave DeLong's user avatar
  • 5,264
2 votes
0 answers
18 views

Improve error message when attempting to edit a post while not having enough reputation

When attempting to edit a post while not having enough reputation, like happened here: API to submit a Suggested Edit, the API returns the following: { "error_id": 407, "...
Glorfindel's user avatar
  • 6,762
2 votes
0 answers
77 views

Update Teams API documentation to reflect dependency on tier

The documentation says (emphasis mine): Starting with the release of Stack Overflow For Teams, the Stack Exchange API exposes read-only access to data stored in private Teams. This is slightly ...
Glorfindel's user avatar
  • 6,762
2 votes
0 answers
48 views

high_resolution_icon_url points to a non-existing image for Area 51 Discuss

In 2013 this bug was reported: Not all sites are returning Hi Res icons Since then a lot has improved. Most urls found in high_resolution_icon_url on the site type as returned by the /sites endpoint ...
rene's user avatar
  • 2,492
2 votes
0 answers
55 views

Is there an API call that can get me a user's access_token?

I'm trying to create a connector between Microsoft's Power Platform and the Stack API. Since the server ↔ server auth flow is happening outside of code I control, I can't grab the access_token from ...
Greg Hurlman's user avatar
2 votes
0 answers
101 views

When does API quota reset?

I had a program consuming Stack Overflow API quota (10,000 per day) last night across midnight. This morning I checked, and my quota has not been set back to 10,000. Is this normal? If yes, when does ...
BellmanEqn's user avatar
2 votes
0 answers
42 views

Linked questions API call fails for frequently asked questions on Stack Overflow

The Linked Questions API fails for some of the Frequently Asked Questions on Stack Overflow, maybe because of the sheer amount of linked questions they have. As an example, take What is a ...
Glorfindel's user avatar
  • 6,762
2 votes
0 answers
33 views

.wrapper not sorted correctly in filter edit popup

When editing the filter, e.g. on this API documentation page, all types are sorted alphabetically except for .wrapper which is always shown below answer, instead of above it (or at the end): ...
Glorfindel's user avatar
  • 6,762
2 votes
0 answers
71 views

I'm having a hard time finding resources for using Stack Overflow's API in Python to query some questions [duplicate]

I can just go through documentation but it'd be a time saver if I could find some sort of tutorial or intro or anything. Does anybody happen to have any resources, notes, or code examples they could ...
user avatar
2 votes
0 answers
113 views

JavaScript API Library for StackExchange API?

I'm developing an application that integrates with the Stack Exchange Network for posting questions and importing whole discussions. Therefore I'm looking for a JavaScript library for the Stack ...
RAGE Developer's user avatar
2 votes
0 answers
78 views

Provide a way to get display name via access token

Please include a new (network) method with the ability to gather display name and profile image directly via access token. Right now to retrieve this information you have to first authenticate a ...
gillesberger_p's user avatar
2 votes
0 answers
38 views

Okay if our Internal Customer Service Software polls the Stack Exchange API?

We are in the process of creating a number of API's and extensible software which we expect will result eventually in questions being asked on stack overflow for working with our API's and extensible ...
Chris Rutherfurd's user avatar
2 votes
0 answers
49 views

Add privilege_type to the privilege API results

The /me/privileges, /users/{id}/privileges and /privileges APIs are currently returning the fields of reputation, description and short_description. Sample result as: { "reputation": 1, "...
Arulkumar's user avatar
  • 578
2 votes
0 answers
58 views

How to get more details flags from questions?

Short question: How to get the flags that led up to a question being closed? When we are going to flag a question, we have to look at /questions/{id}/flags/options first, and I can see The option ...
RMalke's user avatar
  • 121
2 votes
0 answers
218 views

Stackoverflow Javascript Authentication error

Using the Stack Overflow javascript authentication API, I get this error: Application Login Failure An error occurred while login into an application. Error Details error description: ...
Mahahari's user avatar
  • 129
2 votes
0 answers
313 views

Array boolean values are returning empty

I am trying to convert a JSON array to a PHP array, and the boolean values are being lost. I think I need to loop round using foreach() and cast the items as they are placed in to the new array, but I ...
EntityPaul's user avatar
2 votes
0 answers
61 views

How can I show recently answered questions and answers in my blog site?

I would like to showcase some of my Stack Exchange answers in my blog site. I couldn't find a relevant post on how to implement this. Also, from what I can see, in order to use the API a user needs ...
Rajeev K Tomy's user avatar
2 votes
0 answers
116 views

Unhelpful error message when attempting to authenticate [duplicate]

I moved my app to a different server as part of a rewrite, and forgot to update the URL of the app on Stack Apps. When I tried to send a query to https://stackexchange.com/oauth and pass my (old, ...
Zev Eisenberg's user avatar
2 votes
0 answers
82 views

How switch user accounts on the same device?

The Problem I'm integrating Stack Exchange API on iOS (iPhone). I've run into a situation where I can't log out and authenticate with a different account. I am stuck with the first account that I have ...
Pwner's user avatar
  • 185
2 votes
0 answers
61 views

Version used by StackExchange API if version is not specified in api calls

I have used some StackExchange API calls in my chrome extension - StackEye. With the release of API 2.0, I want to update the api calls so I wanted to know New things available in 2.0+ which were ...
Sachin Jain's user avatar
2 votes
0 answers
214 views

Stack Overflow question downloader in markdown or HTML format?

I want to download a series of questions from Stack Overflow; is there a tool or API that can do this? The download could be in markdown or HTML format. I basically want an offline reference for those....
Robin Rodricks's user avatar
2 votes
0 answers
57 views

Request: Mark inbox items as read, now that API 2.2 is here [duplicate]

Now we have write API, can we get a method for the inbox to mark inbox items as read? Previously I believe the reason for not having this was the risk of apps marking items as read without the user ...
Jonathan.'s user avatar
  • 3,128
2 votes
0 answers
64 views

Clarification on related tags for a tag returned by API

I was assuming that the related tags API call, returns all the tags that co-occur with the input tag. But a closer look at the API documentation indicate the following: Returns the tags that are ...
appanponn's user avatar
  • 121
2 votes
0 answers
32 views

FAQ's URL for any SE Site?

Since I cannot find anything relevant in the API (I guess /stats endpoint would be most relevant): Is it safe to assume that every SE Site has its FAQ at location: site_url/faq ?
piobyz's user avatar
  • 213
2 votes
0 answers
62 views

Would it be possible (in a future API release) to combine queries?

I've been doing a lot of work on StackMobile lately and I made the following observation: Many of the pages (especially the ones that display a user's profile) make a number of requests to display ...
Nathan Osman's user avatar
  • 23.3k
2 votes
1 answer
49 views

consistency for array parameters

It would simplify the api and consumption there of if all parameters that accept multiple items used a common delimiter. We have semicolon and space that I know of so far. Eliminating space as a ...
Sky Sanders's user avatar
  • 12.1k
1 vote
3 answers
219 views

What is the best way to provide support for an unknowable number of StackExchange sites?

I just wrote an app for Chrome extensions and received a request to make it cross-StackExchange compatible. If there's eventually going to be more sites than just the few listed and I don't really ...
Jason's user avatar
  • 3,065
1 vote
1 answer
2k views

How to login programmatically on Android?

I think my question is not a duplicate of this one: How to login programmatically I have read the authentication document but, still, I am unable to get what's needed to login programmatically on ...
Raynold's user avatar
  • 113
1 vote
1 answer
60 views

Definitive on timeline_type?

Hi all, I am trying to get a definitive on what timeline_type actually means... I've looked at: https://stackapps.com/search?q=timeline_type but to no avail. The new documentation doesn't list ...
johnmcauley's user avatar
1 vote
2 answers
715 views

Fetch all questions of a particular tag from the Stack Exchange API in Python

I am trying to fetch all questions of the Swift tag from Stack Overflow. I created the query using https://api.stackexchange.com/docs/questions and wrote a simple wrapper in Python. def fetch_question(...
Aaditya Ura's user avatar
1 vote
1 answer
223 views

Will the Stack Exchange API work with an org-specific Stack Overflow site?

We have a company-specific Stack Overflow site for folks to ask questions with the company. It has a *.stackoverflow.com domain/URL. Would I be able to use the Stack Exchange API to access the ...
Uma Subramanian's user avatar
1 vote
1 answer
77 views

Posting answers via Stack Exchange API

Can I post answers via an app using the API, is it possible? And if so, what are the limitations; linked with the reputation of users? So if someone has 1 reputation he can also post answers, like a ...
sumeet kumar's user avatar
1 vote
1 answer
1k views

Where is the API located?

I want to know where is the API located and from where to download?
RPK's user avatar
  • 113
1 vote
1 answer
95 views

Abstract paged results to enable cleaner libraries

It would make great sense for paged results array property to have a common name, items perhaps. For those writing in languages that support 'generic' constructs, this would simplify the code ...
Sky Sanders's user avatar
  • 12.1k
1 vote
1 answer
73 views

Can I use the Stack Exchange API to build a "GH Archive" like project?

I'm not sure if I can use Stack Exchange API to build a https://www.gharchive.org like project? I studied the API throttling documentation but I am not sure.
Pan YANG's user avatar
1 vote
1 answer
65 views

"is_edited": false or "is_edited": true as an option in the API response

When working with the Stack Exchange API I noticed that there is important data (at least for what I thought to do) not available, whether the question, answer or comment was edited or not: { "...
Digital Farmer's user avatar
1 vote
1 answer
64 views

Missing total when tag is not URL-encoded

When trying to get a list of questions for the C# tag, the total field was missing. Tried with Python tag and the total was included. /2.2/questions?order=ASC&sort=creation&site=stackoverflow....
joe-gardner's user avatar

1
6
7
8 9 10