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
3 votes
1 answer
182 views

Will the new traffic measuring formula be available via the API as well?

From this MSO answer: stackexchange.com/sites was just updated today to use a new formula for traffic. Area 51 is still using the old formula, but will be updated soon to use the new formula. ...
badp's user avatar
  • 945
3 votes
1 answer
35 views

getting answer body and question body in same request [duplicate]

I'm trying to get only questions and answers. I filtered the fields, to get also the body of answers, but I don't get an answers JSON object. What am I missing? I know about this question, but I don'...
AJ AJ's user avatar
  • 133
3 votes
1 answer
86 views

Take the right filter for favourite count

I try to take the favourite count filter for a question. I use api through R library(stackr) stack_questions(11227809, site = "stackoverflow", filter = "!GeD4JB*YQqe2L") and I ...
demia's user avatar
  • 31
3 votes
1 answer
112 views

Stack Exchange API - Get Watched Tags for a User

Is there a way to get a list of tags that the user has set up as "Watched Tags"? If not, is it on the roadmap?
Peter Bons's user avatar
3 votes
1 answer
66 views

Receive latest questions with certain tag

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

How to get questions, under a tag, which have at least one answer with 10+ votes?

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
3 votes
1 answer
67 views

Can I retrieve question comment count as part of a search query?

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
3 votes
1 answer
64 views

List recent tag wiki edits

I would like to list tags where the tag wiki or tag wiki excerpt was recently edited or created. How can I do this? It is not a problem if I get a few false positives by tags modified in other ways, ...
b_jonas's user avatar
  • 153
3 votes
1 answer
254 views

Encoding problem while accessing the API using Java

Trying to call an API URL from a Java application, I'm having problems accessing the contents of the URL. I can access other sites through my program but not the Stack Exchange site. But I can call ...
Abheeshta Putta's user avatar
3 votes
1 answer
115 views

Is developing, with the Stack Exchange API, possible on my local machine?

I'm sorry if this question seems trivial for the most of you but I'm not very familiar with OAuth and the Stack Exchange API. Is it possible to use this API in local environment for the development ...
Djouuuuh's user avatar
  • 173
3 votes
1 answer
140 views

Java exception when user age or location is unspecified in returned JSON

I am brand new to the Stack Exchange API and Android (well, self taught in the last four months). I have been working on creating a school project focused around Android and JSON. My initial idea was ...
gamermom's user avatar
3 votes
2 answers
174 views

StackApps for Windows Phone 8

Can anyone suggest a good app for Windows Phone 8 or let me know Where an I find API to build my own?
Vladimir Oselsky's user avatar
3 votes
1 answer
51 views

The /users/{id}/timeline route is reporting incorrect totals

It seems that the /users/{id}/timeline route is returning an incorrect total. For example, the following URL is reporting a total of 1607 items: http://api.stackapps.com/1.1/users/7789/timeline ......
Nathan Osman's user avatar
  • 23.3k
3 votes
1 answer
115 views

Add Twitter accounts on the /sites route?

Would it be possible to add references to the site Twitter accounts in the /site listing? If your wondering what I'm talking about: blog.stackoverflow.com/2011/01/twitter-question-feeds-for-stack-...
Jonathan.'s user avatar
  • 3,118
3 votes
1 answer
2k views

SIlverlight 3 ClientHttp vs BrowserHttp stack: no cross domain policy means no gzip for Silverlight

I notice that even if I send accept-encoding=gzip the response does not seem to be compressed. ( it is late and i was conflating 'accept' with 'accept-encoding') Should we expect, in the 1.0 ...
Sky Sanders's user avatar
  • 12.1k
3 votes
0 answers
177 views

Is there a way to upload an image to i.sstatic.net using Python?

I am developing an image generation bot for chat (for example, chat.stackexchange.com). I can generate the image correctly, but when it comes to posting the image, I have no idea how to upload the ...
Petəíŕd the Wizard's user avatar
3 votes
1 answer
850 views

Redirect URI for a chrome extension using StackExchange API Oauth

I'm working on a developing a browser extension which uses StackExchange API authentication. I was able to successfully implement the authentication for Microsoft edge/Chrome when I added chromiumapp....
Gangula's user avatar
  • 171
3 votes
0 answers
41 views

Call to search/advanced is treating tagged as an AND search, not OR [duplicate]

The docs for search/advanced (https://api.stackexchange.com/docs/advanced-search) have this to state about the tagged attribute: "tagged - a semicolon delimited list of tags, of which at least ...
Raymond Camden's user avatar
3 votes
0 answers
110 views

Fortnightly Topic Challenge Automation on Puzzling.SE

Used for (meta.)puzzling.stackexchange - Creates & edits the corresponding meta posts with information from the main and meta site. E.g. creating a post for the new challenge every 2 weeks and ...
Lukas Rotter's user avatar
3 votes
0 answers
89 views

Open source the Stack Exchange app and API

It has come to my attention that neither the app nor the API have received much if any attention in the last two years. The latest API is also largely undocumented. My humble request is to either A) ...
unixandria's user avatar
3 votes
0 answers
111 views

Only Stack Overflow has documentation, but the API erroneously lists documentation privileges for all sites

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
  • 578
3 votes
0 answers
54 views

API for the mobile feed, as seen in the Android app?

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
3 votes
0 answers
64 views

It's taking two calls to /oauth/dialog/ to get an access_token? [duplicate]

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
  • 842
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
86 views

Fetch the Personalized Prediction Data through the API?

Is it possible to get a user's personalized prediction data in an automated way? I'm building a graphical visualization of this data, you can check the project here: http://jlhonora.github.io/...
jlhonora's user avatar
  • 131
3 votes
0 answers
47 views

/answers API request returns no tags if body_markdown is included [duplicate]

This API request to /answers has the filter set to return the tags field for the corresponding question. It works fine: api.stackexchange.com/docs/answers#filter=!9YdnSPElz But, when the filter is ...
Boann's user avatar
  • 131
3 votes
0 answers
37 views

/associated should include user's display name and the api_site_parameter

/associated should include api_site_parameter The /associated routes return the site_name and site_url but not the api_site_parameter. It would be useful if it did because api_site_parameter is ...
Jonathan.'s user avatar
  • 3,118
3 votes
0 answers
86 views

Include creator in tag_synonym

When I looked at recent tag synonyms there is a Creator row, but I can't query this data with the API. I'd like to see this data added, and a list of all approves would be nice too.
Johannes Kuhn's user avatar
3 votes
0 answers
63 views

Is it allowed to sell an app or get revenue with the use of the API? [duplicate]

I've been reviewing the terms of use of the API, but I prefer to ask my question straight here in order to be 100% sure. Is it allowed to create an app that: is paid, which revenue goes to the ...
Topper Harley's user avatar
3 votes
0 answers
81 views

SE API V1.1 documentation, date errata

The Stack Exchange API, version 1.1, documentation is ever so slightly confusing wherever Unix timestamps are mentioned (perhaps any ranges, I haven't dug too deeply) For instance: todate – Unix ...
Dan Lugg's user avatar
  • 131
3 votes
0 answers
86 views

All updates (answers, comments etc) using stack exchange API

Is there anyway to get information about any change using the stack exchange API's? i.e. if someone leaves a comment or votes on an answer/question? checking for answer changes is easy cause its a top ...
Sid's user avatar
  • 31
3 votes
0 answers
64 views

Please add "total votes on questions" and "total votes on answers" into /user/{id} API

Is there any chance that the following methods: Total votes on questions (N.B. NOT total score but total number of votes) Total votes on answers Could be added to the API? There are no threats to ...
mylesagray's user avatar
3 votes
0 answers
229 views

Guidance on usage thresholds - specifically throttling [duplicate]

I am running a lot of tests and have started to get 403 errors. I am using a key and certainly have not exceeded my quota. Am I running foul of some yet unmentioned throttling threshold and if so, ...
Sky Sanders's user avatar
  • 12.1k
2 votes
1 answer
156 views

Stack Exchange API not realtime?

I was testing the inbox/unread API but noticed that there is a big delay between one gets a message, and this message gets included in the API response. Like one minute or more. Is this API not real-...
zavié's user avatar
  • 203
2 votes
3 answers
102 views

Method /users/{id} doesn't return "about_me" if the user has never modified it

See title. When a user never modified their "about me" section the API doesn't return that, which then causes my parser to go wild returning errors. However, when a user has modified their "about me"...
Matt S.'s user avatar
  • 4,685
2 votes
2 answers
205 views

User "authentication" (validation?) in V1 of the StackExchange API

In a previous question, it was asked whether it is possible to authenticate a user through the Stackoverflow API? The short answer was no, not until version 2. Now I would like to know: is there any ...
Herman Schaaf's user avatar
2 votes
1 answer
593 views

Is the StackExchange API free of charge?

I am brand new to StackApps, so please bear with me for a question that is hopefully obvious to most regular users. As far as I can tell, there is no charge for accessing the StackExchange API. ...
Tripartio's user avatar
  • 123
2 votes
2 answers
135 views

Is there any way or script to sort questions/posts/answers with custom criteria?

I want to fetch some questions from the API and I would like to sort them. However, I don't want to sort by the default options (activity, votes, creations, hot, week, month), but instead, for example,...
double-beep's user avatar
2 votes
2 answers
105 views

Total Number Of Answers

I need to find the total number of answers submitted by a user on stackoverflow. I tried the following: I got my json from the following: https://api.stackexchange.com/users/2440312/answers?site=...
Aaditi Jain's user avatar
2 votes
1 answer
134 views

Area 51 sites api [duplicate]

Why does http://api.stackoverflow.com/1.1/usage/stackauth-methods/sites not list Area 51 (http://area51.stackexchange.com/)
umar's user avatar
  • 153
2 votes
5 answers
4k views

Get user data using curb/Curl in Ruby

I am trying to get user data in my Rails app. I am doing this: url_so = "http://api.stackoverflow.com/1.0/users/231917?type=jsontext" curl = Curl::Easy.new(url_so) curl.perform data_obj = ...
zengr's user avatar
  • 193
2 votes
2 answers
105 views

Why does Stats Return a Statistics Array

Why does the stats API Call return an Array instead of just an object? Example Response: { "statistics": [ { "total_questions": 723903, "total_unanswered": 114097, "...
Robert Love's user avatar
2 votes
1 answer
174 views

Is there an easy way to get user reputation via API?

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
2 votes
1 answer
55 views

Where is "items" & "badge_counts" documentation?

Where is the items & badge_counts documentation? This is returned as JSON. I am using the /me/associated query function.
amit jha's user avatar
  • 842
2 votes
1 answer
645 views

Unable to download data from the API using UNIX wget?

I want to download the JSON data from this sample API call into a file. I tried using wget, like so: wget -O ~/ks/json.txt "http://api.stackexchange.com/2.2/search/advanced?pagesize=5&fromdate=...
K S Nidhin's user avatar
2 votes
1 answer
3k views

Bad format returned by Stack Exchange API, not GZip?

I'm attempting to request some information using the Stack Exchange API. Supposedly, it returns responses compress with GZip. Using Microsoft's System.IO.Compression.GZipStream or Ionic.Zlib....
Steve's user avatar
  • 145
2 votes
1 answer
401 views

Best strategies for calling the API with full throttling support?

I know this would be subjective on a normal SE site but as the relevant chat rooms are mostly dormant, we have no meta site, and nobody noticed when I asked if this kind of question is OK here, I'm ...
hippietrail's user avatar
2 votes
2 answers
205 views

Is there a way to determine total number of upvotes and downvotes (etc) for a user (regardless of reputation cap)?

For example, if you use the /users/<id>/reputation call, you get a list of reputation changes for the user, but it takes the daily reputation cap into account. What I would like is an API call ...
codeka's user avatar
  • 536
2 votes
3 answers
317 views

Can there be a way to find a user given his email hash?

Given a user's email, it would be great if we could hash it and search for that user with it. The reason for this is suppose: Someone has a website On that website, they invite SO users to enter ...
Nathan Osman's user avatar
  • 23.3k
2 votes
1 answer
135 views

Collectives Articles endpoint broken

I would like to access a list of all Collective Articles on SO. I tried https://api.stackexchange.com/2.3/articles?order=desc&sort=activity&site=stackoverflow which is the sample from here. ...
cocomac's user avatar
  • 498

1
3 4
5
6 7
10