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
6 votes
1 answer
135 views

API throws improper error when "date" parameters are the same

When using the Stack Exchange /questions API using the same date for fromdate and todate I get a 500 internal server error. Using different dates appears to work OK but specifying the same value ...
Andy Clark's user avatar
6 votes
1 answer
138 views

Access for Statistical Analysis using the Stack Exchange API

We are small company in Malaysia and intended to do a small research to analyze technology trends. We would like to use the Stack Exchange API for this purpose but we are afraid it might get detected ...
Chris Liaw's user avatar
6 votes
1 answer
750 views

Please "release" and/or document API version 2.3

I was playing around a bit with Fiddler to capture traffic from the Stack Exchange iOS app. To my surprise, it uses version 2.3 of the Stack Exchange API: I noticed here that it has some extra ...
Glorfindel's user avatar
  • 6,762
6 votes
2 answers
1k views

StackExchange API Java SDK

This project aims to provide a Java wrapper to the Stack Exchange API. SDK supports Stack Exchange API V2.2 Getting Started There are two interfaces to the library. Query Interface Facade ...
Sanjiv's user avatar
  • 325
6 votes
1 answer
70 views

Does the API have a method to get the total favorite count of a question?

Like it says in the title, is the total favorite count of a question exposed anywhere via the API? I know about the favorites method, but that looks like it will give you the specific favorites of a ...
Alana Storm's user avatar
6 votes
1 answer
9k views

'The target origin provided does not match the recipient window's origin' message when trying to use localhost

I am trying to experiment with the Stack Overflow API on my localhost and am struggling to get the authentication to complete. Here is my application JavaScript code (note that I am using IBM ...
MDalt's user avatar
  • 161
6 votes
1 answer
109 views

API 'search' method with 'tagged' parameter

From the docs for tagged paremeter: List of tags delimited by semi-colons of which at least one must be on a question Yet, when I execute this query (http://api.stackoverflow.com/1.0/search?tagged=...
Nikita Rybak's user avatar
  • 1,271
6 votes
1 answer
106 views

How to access global stackexchange user favourites in a feed?

I was looking for a way to IFTTT my questions, and found this recipe, that automaqically saves your favourited questions to Evernote. Nice. It uses stack2rss (thus the SE API) to provide a feed with ...
CharlesB's user avatar
  • 167
6 votes
2 answers
182 views

OR operator for StackOverflow API

I'm trying to get a list of questions from the SO API for a number of tags, At the moment I am using the ; operator to separate the tags in the URL but the thing is this only brings up questions that ...
mylesagray's user avatar
6 votes
1 answer
105 views

Does there exist a method call to get unaccepted answers?

I noticed there was the method /questions/unanswered which returns questions with no upvoted answers but I'm more interested in something like /questions/unaccepted which returns all questions that ...
SiegeX's user avatar
  • 161
6 votes
1 answer
165 views

In the timeline the ability to know what events belong to what question

Take this example: http://api.stackoverflow.com/0.9/questions/3165492;3182016/timeline Would it not make sense to have the question_id as a parameter on each timeline object? It makes the timeline ...
johnwards's user avatar
  • 465
6 votes
1 answer
201 views

Please add tags to answers

Update: This was completed as of API version 2.1. When querying any API method which returns answers (/users/ids/answers, /answers/ids, etc.) the result does not include the tag information for the ...
Sky Sanders's user avatar
  • 12.1k
6 votes
0 answers
142 views

stackapi.cpp - a C++20 library for the Stack Exchange API

Code snippet #include "stackapi/StackAPI.hpp" #include "stackapi/data/structs/comments/Comment.hpp" #include <iostream> int main() { stackapi::StackAPI api ( { ...
Zoe is on strike's user avatar
6 votes
0 answers
144 views

Enable access to post images in the API, for "Stack Overflow for Teams"

The Stack Exchange API supports access to Stack Overflow for Teams; see the Teams API documentation. But, since Teams content is private, post images aren't uploaded to imgur.com, but instead hosted ...
Glorfindel's user avatar
  • 6,762
6 votes
0 answers
218 views

Ruby SE API: A Ruby wrapper for the Stack Exchange API

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
6 votes
0 answers
75 views

Use HTTPS urls for site logos returned by the API

Currently, the API returns resources like this: "high_resolution_icon_url": "http://cdn.sstatic.net/stackoverflow/img/[email protected]", "favicon_url": "http://cdn.sstatic.net/stackoverflow/img/...
user avatar
6 votes
0 answers
77 views

How to get unread reputation changes via the API?

I want to write a desktop widget that checks the Stack Exchange API every several seconds and tells me if there are any new reputation changes. I can't figure out what API method I can use for that. ...
jojman's user avatar
  • 161
6 votes
0 answers
424 views

Resurfacing bug: "could not parse proxy url" error message

According to this question, the "could not parse proxy url" bug was solved more than 2 years ago. However, when using the client-side OAuth flow, the aforementioned error message appears when ...
Linostar's user avatar
  • 161
6 votes
0 answers
107 views

Version 1.0 of the API seems to be here!

It looks like v1.0 of the API is here now! I waited a few minutes for an official announcement, but none came - so here it is! Thanks a million to the team for putting this together!
Nathan Osman's user avatar
  • 23.3k
5 votes
1 answer
124 views

How to get total visited days and consecutives of an user?

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
5 votes
3 answers
301 views

Can we get a sandbox please?

I think that we should have some sort of a sandbox site where we can post questions, answers and comments in a controlled environment. Currently I'm working with Stack Overflow but I can't post "...
Shay Erlichmen's user avatar
5 votes
1 answer
346 views

Is the Stack API daily quota of 10,000 a hard limit, or can it be increased?

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
5 votes
1 answer
435 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
114 views

404 "This Method cannot be called this way" when getting user's inbox

I'm doing a POST request to https://api.stackexchange.com/2.2/users/<id>/inbox to get the users' inbox items. However I'm getting a 400 error on the request, and a JSON body saying it was a 404 ...
Erik Elkins's user avatar
5 votes
1 answer
69 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
167 views

What timezone is used in the API?

When a timestamp is used, for example the fromdate parameter in /questions, what timezone are dates in? Is the number supposed to be in milliseconds or in seconds? To get the current time to pass as ...
Adam's user avatar
  • 809
5 votes
1 answer
121 views

What is the latest version of the Stack Exchange API?

What is the latest version of the Stack Exchange API and its release date? The document which I referred is for v2.3.
Pratibha's user avatar
5 votes
1 answer
103 views

How to include answers when fetching questions?

I made a small cron job which crawls questions and answers from Stack Overflow. Here is my request URL: https://api.stackexchange.com/2.2/questions?order=desc&tagged=php&site=stackoverflow&...
Jithesh Kt's user avatar
5 votes
1 answer
71 views

Which reputation events are private?

I've been reading the API documentation on retrieving a user's reputation history (docs/types/reputation-history) and Stack Overflow's description of how reputation is calculated. But, I can't find ...
Andrew's user avatar
  • 153
5 votes
2 answers
144 views

Prefered way to retrieve all search results

I'm trying to figure out a reliable way to retrieve all the results from a search query (in subsequent pages. My use case includes cases with more than 100 results (the maximum page size). Looking at ...
Gilles 'SO- stop being evil''s user avatar
5 votes
1 answer
733 views

Is it possible to authenticate a user through Stack Overflow API?

Is it possible to use the Stack Overflow API to authenticate a given user identity such as with Facebook, Twitter, or OpenID? If it's possible: Can you tell me the method (s) that make this happen?
Sebastian's user avatar
5 votes
1 answer
438 views

API stopped allowing CORS requests

I'm currently using the API via JavaScript AJAX calls and it all of a sudden stopped allowing CORS requests. I'm on localhost and I tried uploading my code to live and am still getting: Access to ...
zigaio's user avatar
  • 51
5 votes
1 answer
146 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
147 views

The StackWrap4J java wrapper gives nothing but `JSONException`s?

I'm using the StackWrap4J java wrapper for the Stack Overflow API. But every code I try, that uses methods of this java wrapper, ends with this JSONException: net.sf.stackwrap4j.json.JSONException: ...
Doron Tro's user avatar
5 votes
1 answer
99 views

Using OR with featured questions

My question is similar to: Getting questions that have a specific tag or tags? What I am trying to do is get a list of Featured questions within a list of tags. I have tried using the following: ...
DaImTo's user avatar
  • 153
5 votes
1 answer
317 views

Is there an offline copy of the API documentation?

I'm trying to find a way to get all the information in the API in one printable PDF, complete with the examples given in the documentation. Is there anyway I can do this?
Sean Allred's user avatar
5 votes
1 answer
520 views

How to register application for API implicit authentication?

I am working on an applet to for Cairo-Dock, to check the user's StackExchange inbox. Right now I've worked around this by using the genuwine json feed, but that's not stable since posts are marked as ...
neydroydrec's user avatar
5 votes
1 answer
150 views

Will URLs always follow this pattern?

Many of the API endpoints return urls, such as /questions/{id} (which returns urls for question_timeline_url, question_comments_url, etc). However, the URL returned is a relative URL, like /questions/...
Dave DeLong's user avatar
  • 5,264
5 votes
1 answer
84 views

Can you access a user's tag reputation/score via the API?

Is it possible to retrieve a user's tag specific reputation/score via the API? If not, is it possible to make an API call that returns enough information that you can calculate the value?
Ginny Dellinger's user avatar
5 votes
1 answer
56 views

Do calls on the 1.1 API and the 2.0 count against each other's limits?

Do the old 1.1 API and new 2.0 share limits? Or do my Stack Apps running on 1.1 calls not affect my limits for apps running on 2.0 calls?
hippietrail's user avatar
5 votes
1 answer
202 views

Provide a streaming API instead of forcing API users to poll

I've written an IRC bot that can notify channels when new questions with a certain tag are posted. However, currently I'm polling the URL #{APIURL}questions?pagesize=100&fromdate=#{@...
thejh's user avatar
  • 151
5 votes
0 answers
123 views

What does the /users endpoint look for when sorting on modified date?

What does the /users endpoint look for when sorting on modified date? For the /users endpoint in the Stack Exchange API v2.3, what does the modified filter in sort field look for? It is unclear from ...
John Byro's user avatar
  • 151
5 votes
0 answers
53 views

Please provide a way to get Post Edits, filtered by user

I recently discovered from this question that the API does not support filtering revisions by user. I am interested in looking at a user's edit history programmatically (with their permission) and at ...
halfer's user avatar
  • 293
5 votes
0 answers
133 views

Filter doesn't consistently return comment bodies

I've been trying to set up a filter I can use with /questions/{id}/answers/ (using the UI at this link), which returns the following fields: answer: answer_id body_markdown comments ...
Martin Ender's user avatar
5 votes
0 answers
256 views

Apigee API Console for the Stack Exchange API

Screenshot / Code Snippet About Apigee API Consoles make it easier to learn, explore and test APIs by letting you browse all methods, send and view request/response pairs and share what you are ...
Shanley's user avatar
  • 51
5 votes
0 answers
154 views

Selective API oriented transcript fragment of Jeffs Code Camp Video Interview.

This is a very selective API oriented transcript fragment of Jeffs Code Camp Video Interview: Purpose Please note that this transcript fragment is mainly a supporting post to decrease the length of ...
Steffen Opel's user avatar
  • 1,380
5 votes
0 answers
526 views

Platforms Supported by the API and Response Compression

What platforms are supported for use with the Stack Exchange API? In short, anything that can make a GET request to the API servers and supports JSON/JSONP & GZIP. (JavaScript, Python, PHP, Java, ...
Kevin Montrose's user avatar
4 votes
2 answers
295 views

Why does the API lack any POST methods?

Why aren't any POST methods available? Being able to post new questions and answers would be very interesting.
bpedro's user avatar
  • 49
4 votes
1 answer
355 views

Strange encoding for JSON output

I'm trying to create an R API. Here's some basic code for processing JSON: library(rjson) fromJSON(readLines("http://api.stackoverflow.com/0.9/stats/", warn=F)) As I look into this, the output of ...
Shane's user avatar
  • 155
4 votes
2 answers
305 views

When does a rate-limit day start and end?

After reading the docs/faqs, I couldn't help but wonder... What exactly is a day? When does it start? When does it end? What timezone are you using? In other words, when my app runs out of requests ...
Nathan Osman's user avatar
  • 23.3k

1
2
3 4 5
10