Skip to main content

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
0 votes
1 answer
208 views

I am using the /questions/unanswered API to try and get all unanswered questions, sorted by upvotes, and with the tags specified. How can I pass multiple tags to the /unanswered route(s) using OR-...
Karishma Tiwari - MSFT's user avatar
10 votes
1 answer
4k views

I'm starting to write a native Android client for Stack Overflow, and wondering what exactly is a valid OAuth domain name? Is it the package name of my app? Or do I have to point it to a server ...
CodeRed's user avatar
  • 101
1 vote
0 answers
153 views

How does this hidden page (stackexchange.com/topbar/inbox) know which Inbox notifications I have/haven't opened? Both the drop-down inbox and the API (ie, api.stackexchange.com/docs/me-inbox) seem ...
ashleedawg's user avatar
4 votes
1 answer
449 views

I'm having trouble getting the SO API Filters to cooperate. I've gone over the documentation as well as similar questions like this and this. I'll use this call as an example since it successfully ...
ashleedawg's user avatar
2 votes
1 answer
197 views

I am looking for an easy way to access user reputation so that I can write a small react component and display my rep on my portfolio site. I want to make this package available on NPM and have ...
Stretch0's user avatar
  • 123
4 votes
1 answer
413 views

When I go to register my application, it asks me my OAUTH application URL. But I don't have an OAuth server and I just want to get the api-key without my server. How can I fill out the form required ...
Hyeonseo Yang's user avatar
2 votes
1 answer
81 views

How do I exclude records based on the presence of a certain field (like the equivalent of SQL's [fieldname] Is Null)? Example: Results for Closed questions include field closed_date=1234567890. ...
ashleedawg's user avatar
1 vote
2 answers
119 views

I didn't find any client.Questions.Add method. So, how do I use the StacMan library to add a new question ? Any sample C# example?
Neha's user avatar
  • 119
2 votes
1 answer
95 views

Just want to confirm if I'm doing this right. The /questions guide doesn't mention this. Let's say I want to ask for multiple tags in one request, am I doing this right? https://api.stackexchange....
noogui's user avatar
  • 165
4 votes
1 answer
198 views

So I'm able to use API calls like: https://api.stackexchange.com/2.2/questions?pagesize=30&order=desc&sort=activity&site=stackoverflow to display a list of questions. This is easy as it ...
noogui's user avatar
  • 165
6 votes
0 answers
236 views

Screenshot / Code Snippet An excerpt from the README: First, initialize your client. You can omit the API key, but it's strongly recommended that you use one because it increases your request ...
thesecretmaster's user avatar
4 votes
1 answer
87 views

I believe I can use the Stack Exchange API to get total questions that fit chosen tags. I have an example I wrote myself here:           data.stackexchange.com/stackoverflow/...
Kim Stacks's user avatar
1 vote
2 answers
89 views

While most items are self-explanatory, some aren't, and I was wondering if there was a glossary explaining all the properties in each of the response types?
Water Cooler v2's user avatar
0 votes
1 answer
83 views

When using /questions (e.g. like this)), dates are represented by a number. I'd like to know how I can convert a number to a date. For example if I have 1293840000, what date does it represent?
Matteo Colella's user avatar
2 votes
1 answer
306 views

Users with a certain reputation, can see deleted answers (deleted either by moderators or by their owners themselves). Does the API offer any means to access such deleted answers?
Billal BEGUERADJ's user avatar
1 vote
1 answer
67 views

When querying to find associated accounts for a list of account ids, some ids in the results appear to be missing many of the associated sites. I have only observed this in multi-page responses. For ...
foobarbecue's user avatar
4 votes
0 answers
192 views

I would like to use the API from a browser extension. With WebExtensions, I should be able to support Firefox and Chrome with the same code. Chrome provides an identity API for OAuth2, and so does ...
Bob's user avatar
  • 286
2 votes
0 answers
128 views

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
1 vote
1 answer
145 views

Here is the query RESULT { "items": [ { "badge_counts": { "bronze": 2, "silver": 1, "gold": 0 }, ...
Nerzid's user avatar
  • 145
3 votes
1 answer
109 views

I'm trying to get the user's user links from his profile. Like this person has GitHub and Twitter links on his profile. How can I get those?
Nerzid's user avatar
  • 145
3 votes
1 answer
80 views

I'm creating a simple notification application to inform me about latest questions with defined tags. For example, my tags are python and django. I want to see the latest asked question with those. ...
Natiq Vahabov's user avatar
3 votes
1 answer
136 views

I want to get all the questions under a tag which has at least one answer with 10 or more votes. I searched the Advanced Search documentation and searched Py-StackExchange's documentation, but I ...
Rajkamal Subramanian's user avatar
1 vote
1 answer
80 views

I was wondering if I'm allowed to pass a filter to methods that use write access? Like for example /answers/{id}/accept. There is no "filter" parameter, and changing the filter doesn't seem to change ...
Rakete1111's user avatar
2 votes
1 answer
101 views

I was going through the stack exchange API and I want to extract information about, say, top 20 users of a particular stack exchange community. How do I use the API for that? I tried on this page ...
The Doctor's user avatar
-4 votes
1 answer
60 views

Is there any way to search for tags... but for ex "aa bb" so I want back the tag "aa-cc" and tag "aa-ccbb". at the moment the inname searches for "aa bb" so only a tag called "aa bbcc" will be a ...
UXDart's user avatar
  • 93
1 vote
1 answer
235 views

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
20 votes
3 answers
209 views

The Stack Exchange API has a couple of calls that return a list of flag_option objects. These objects contain a couple of properties that can be used to identify the flag you need. For example, when ...
Cerbrus's user avatar
  • 331
2 votes
1 answer
212 views

I see we can fetch tags via the API, which works fine but, sadly, there doesn't seem to be a way to get the count of all possible tags. Currently the Stack Overflow Tags page shows 36 tags per page ...
samayo's user avatar
  • 123
3 votes
0 answers
122 views

Privileges related to Stack Overflow Documentation are displaying in every other site's API data. Using Meta Stack Exchange, for example, /2.2/privileges?site=meta returns the following documentation ...
Arulkumar's user avatar
  • 566
2 votes
0 answers
101 views

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
11 votes
0 answers
184 views

I'm running a service with ~300 write-authenticated access tokens. It's terrifying. As part of running such a service, I'd like to be able to cycle API tokens - so that if, heaven forbid, one made an ...
user avatar
1 vote
1 answer
105 views

The API documentation describes tthe usage of /questions/featured. Unfortunately there does not seem to be a way to sort the result by bounty_closes_date, which is IMO the sort option making most ...
kriegaex's user avatar
  • 121
0 votes
1 answer
99 views

I am trying to get the number of questions associated with a specific tag for a particular date range. I initially assumed the fromdate and todate parameters would do this. However, it appears that ...
user3089187's user avatar
5 votes
1 answer
170 views

I checked docs , there are no endpoints to get total visited days and consecutive days. Is there any way to get them?
Thamaraiselvam's user avatar
22 votes
1 answer
493 views

I was browsing the API for the list of elected moderators, The API URL is http://api.stackexchange.com/docs/elected-moderators#pagesize=100&order=desc&sort=reputation&site=stackoverflow&...
Bhargav Rao's user avatar
  • 1,407
4 votes
1 answer
111 views

I can not understand how to access the summary information about the user's reputation. How to use the shallow_user object ? I tried: https://api.stackexchange.com/2.2/shallow-user/2765346/...
Hristo Eftimov's user avatar
2 votes
1 answer
220 views

I'm trying to fetch some data from the Stack Exchange API I have a valid access_token and registered key but I keep getting internal error as a result. Here is the request URL: https://api....
Marco Pierucci's user avatar
4 votes
1 answer
520 views

I'm trying to learn how to implement an OAuth flow in an Android app using a simple app with the Stack Exchange API. Using WebView, I'm able to retrieve an access token and store it in my shared ...
Marco Pierucci's user avatar
3 votes
1 answer
80 views

I want to use the Stack Exchange API and get the total number of results returned from the search route. I wrote this recursive script to find the last page with the has_more=False, is there a better ...
Uri Goren's user avatar
  • 133
8 votes
1 answer
167 views

Last night I had a programme running and it errored on the first call to the badges/name endpoint on the API, exact API endpoint call: https://api.stackexchange.com/2.2/badges/name?order=asc&sort=...
Der Kommissar's user avatar
3 votes
0 answers
67 views

I'm creating an app for Windows 10, and I would like to provide a similar experience to the official Android and iOS apps (while keeping my own identity, of course). One feature seen in the official ...
Arturo Torres Sánchez's user avatar
2 votes
1 answer
200 views

I am working on a Stack Exchange App (Stack App for Windows 10 PC/Mobile and Windows 8.1 Mobile). I have a user login set up and using the WebAuthenticationBroker in Universal Windows Platform, to ...
AVK's user avatar
  • 269
2 votes
1 answer
157 views

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
135 views

I've tried adding filter=total and filter=withbody in the same request but get the following error: {"error_id":400,"error_message":"Invalid filter specified","error_name":"bad_parameter"} How should ...
codecowboy's user avatar
3 votes
1 answer
80 views

I'm looking for a comment_count property in the results of /search/advanced to get a count of comments under a question. Is there an undocumented q for /search/advanced that gives a comment_count ...
mkungla's user avatar
  • 133
5 votes
1 answer
544 views

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 API ...
m-a-r-c-e-l-i-n-o's user avatar
7 votes
1 answer
210 views

How do I get my total reputation score? My score is 354, on Stack Overflow, as per my user page. I browsed the API, and found a call similar to what I require:       api.stackexchange....
kensplanet's user avatar
8 votes
1 answer
265 views

In last few days I have noticed that questions API returns questions that where deleted hours before the API call. This is a short example, if more logs are need to pin point the problem, please ...
Petter Friberg's user avatar
3 votes
0 answers
68 views

When we send this request: https://stackexchange.com/oauth/dialog/?client_id=`client_id`&scope=read_inbox%2cno_expiry%2cwrite_access%2cprivate_info&redirect_uri=https%3a%2f%2fstackexchange....
amit jha's user avatar
  • 834
5 votes
1 answer
387 views

We are developing an indexer that will be used to store and serve up questions/answers related to our products. The indexer uses a key (and soon an access_token) to retrieve the data from Stack ...
Daniel Coughl's user avatar

1 2
3
4 5
10