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
1 vote
0 answers
70 views

Would it be a problem if my server polls the API every minute or so about 1 of my questions on my list?

I know that officially identical requests cannot be done in more than one minute. But would it be a problem if I had a server which had a list of question IDs (say 10 per user, so reasonable max 10,...
Jonathan.'s user avatar
  • 3,118
9 votes
1 answer
137 views

API for user next achievement/badge requirement?

If you look at your user profile you can see: visited x days, x consecutive So for the achievement/badge "Fanatic - Visited the site each day for 100 consecutive day" I can calculate the number of ...
Phill Pafford's user avatar
3 votes
1 answer
164 views

Has anyone *implemented* the Stack Exchange API on top of a public database dump?

It seems that the public database dumps contain nearly all of the data required to respond to API queries. Has anyone implemented the API, backed by a copy of the public database dump? It would be ...
Kim Morrison's user avatar
1 vote
0 answers
56 views

Wrong API response?

Well, if you look here, you'll see i have "down_vote_count": 94, But if you look here on my Stackoverflow profile, you see that my down vote count is 64. For those who would ask if I'm sure ...
genesis's user avatar
  • 113
3 votes
1 answer
317 views

Do I need permission to use the SE API for a commercial app?

I recently developed a mobile app using the publicly available API of one of the Stack Exchange sites. Do I need to obtain permission from Stack Exchange before releasing the app to the public? Can I ...
bp581's user avatar
  • 133
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
1 answer
239 views

Using the API directly from JavaScript

Is there any way I can use the API directly from JavaScript without any Server side proxy? I know of the inter-domain restrictions, but can we do it somehow in case of facebook API right?
mihsathe's user avatar
  • 121
0 votes
1 answer
46 views

Sort options explained

I have read the doc here but I'm quite confusing because I still don't understand the semantic behind each options. Would you like to detail the different options ? activity (default) votes creation ...
Stephan's user avatar
  • 103
2 votes
0 answers
63 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
1 vote
1 answer
482 views

Stackoverflow API - get “received” upvote count of a user.

I'm currently using the Stackoverflow API to get a list of detailed user information (via http://api.stackoverflow.com/1.1/usage/methods/users-by-ids). There is an attribute called "up_vote_count" ...
Sascha K.'s user avatar
  • 111
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
3 votes
1 answer
320 views

API Time zone difference problem

I am writing a .NET application with the Stack Exchange API (using the Stacky library) and I am using it to ask the server for some questions that occured in the last hour. However, I and the server ...
Seth Carnegie's user avatar
2 votes
1 answer
92 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
9 votes
1 answer
4k views

List all tags in use on stackoverflow

I am trying to list all tags used on stackoverflow here: http://api.stackoverflow.com/1.1/usage/methods/tags and I cannot seem to list all. How do I do it?.
user avatar
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
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
12 votes
2 answers
1k views

Why does this Stack Overflow API query return binary data?

The Stack Overflow API query http://api.stackoverflow.com/1.1/search?tagged=javascript&intitle=%3Cdiv%3E returns what appears to be binary data: ���I�%&/m�{J�J��t��$ؐ@�������iG#)�*��eVe]...
YOU's user avatar
  • 5,022
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
1 vote
1 answer
44 views

Add revision diffs to API?

This may be a bit of a stretch, but I was wondering if it could be possible for the API to return the diff between two revisions? Or the next best option, to have the API return the markdown value of ...
Kevin's user avatar
  • 243
0 votes
1 answer
68 views

Total number of superuser users...

Hi all, I am probably doing something wrong but there seems to be a discrepancy between the data-explorer and the API. For instance, This query has a total of 48048. http://api.superuser.com/1.0/...
johnmcauley's user avatar
6 votes
2 answers
185 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
5 votes
2 answers
150 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
3 votes
1 answer
81 views

API search page size limit mismatch

The 1.1 API help text for search says that the pagesize parameter can go up to 100. Indeed, passing a value up to 100 returns some results, while passing pagesize=101 yields an HTTP 400 status (Bad ...
Gilles 'SO- stop being evil''s user avatar
1 vote
1 answer
61 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
3 votes
1 answer
80 views

Throttling Question

Hey all, I keep getting kicked out of the API. Is throttling set to 30 requests per 5 seconds? j
johnmcauley's user avatar
2 votes
1 answer
849 views

Any guarantees on JSON string encoding?

According to the JSON specification, JSON can be returned in one of five string encodings: UTF-8 (the default encoding) UTF-16 Little Endian UTF-16 Big Endian UTF-32 Little Endian UTF-32 Big Endian ...
Dave DeLong's user avatar
  • 5,264
3 votes
1 answer
78 views

How many ids is 'too many'?

This answer mentions limit on amount of ids included in queries like /users/{id}/mentioned, but I can't find actual amount mentioned anywhere. Now, I could run binary search and find out, but I ...
Nikita Rybak's user avatar
  • 1,271
4 votes
1 answer
205 views

API ignores jsonp callback after initial request - erroneous caching?

This bug is still prevalent, appears to be cache related. Two identical requests return different data: first request respects jsonp query parameter, all subsequent requests ignore it until (I presume)...
Andy's user avatar
  • 143
3 votes
1 answer
178 views

Getting Question data using stack.PHP fails after a certain number of requests

I am trying to build an RSS feed that includes any/all questions that I have answered, and been accepted as the correct answer. I am running into an issue where I'm sending too many requests and ...
jondavidjohn's user avatar
1 vote
1 answer
103 views

fromdate is ignored for /posts/{id}/comments requests

The api docs: http://api.stackoverflow.com/1.0/help/method?method=posts/{id}/comments The test request. You can see comment itself here, it's four months old, while cutoff date in request is less than ...
Nikita Rybak's user avatar
  • 1,271
30 votes
1 answer
1k views

Announcing API version 1.1 and Roadmap

As has been announced on the blog, we're rolling out a minor revision of our existing read-only API. While the blog post gives some high level details, I figured [app] developers would appreciate some ...
Kevin Montrose's user avatar
4 votes
1 answer
69 views

API 'search' method with 'min' parameter

If you search for questions posted on time 1296897085 or later (by specifying sort=creation and min=1296897085), it may still return questions posted before that date: http://api.stackoverflow.com/1....
Nikita Rybak's user avatar
  • 1,271
6 votes
1 answer
112 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
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
1 vote
1 answer
181 views

Non-verbatim search strings in py-stackexchange

I am writing a python program with py-stackexchange that takes a query and returns a list of urls to questions with that query in the title. Here's the code: #!c:/Python27/python.exe -u import sys sys....
kjakeb's user avatar
  • 113
2 votes
1 answer
91 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
27 votes
1 answer
455 views

Provide a way to retrieve questions and answers that have been deleted

Could you please provide a way to retrieve deleted questions/answers? Your database contains that data, until you hard delete it, so it would be useful for us to have the chance to play with it. I'm ...
systempuntoout's user avatar
9 votes
3 answers
235 views

Roadmap - any update?

So now it's 2011 and we should be getting some API updates. As a company you must have some kind of plan. So can you either say the API is never going to be updated or give a time frame to at least a ...
Jonathan.'s user avatar
  • 3,118
4 votes
1 answer
312 views

Retrieving list of c# questions

I am trying to retrieve list of C# questions using http://api.stackoverflow.com/1.0/questions?title=true&tagged="c#". But I get JSON response related to c questions. Response : { "...
Searock's user avatar
  • 248
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
5 votes
1 answer
734 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
2 votes
1 answer
216 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
0 votes
1 answer
88 views

Coding error at open URL

Hi, I have the following method to open a URL API String c=""; URL direccionURL; try { direccionURL = new URL("http://api.stackoverflow.com/1.0/users/523725"); BufferedReader in = new ...
Lobo's user avatar
  • 121
1 vote
2 answers
299 views

Is there an SO API which can fetch all Questions & Answers for a particluar Keywords

I am looking for an API which helps in fetching all the Questions & Answers from SO and other Stack Exchange sites only on a particular "keyword". Later using XML RPC these questions will be ...
user4203's user avatar
4 votes
0 answers
254 views

PyOverflow: Account statistics for Stack Overflow for Ubuntu!

I was bored, and I wanted to play with the API, so I came up with this little script: It's coded in Python and has only a single image dependency. Here is a screenshot: Here's the source code (it's ...
Blender's user avatar
  • 141
9 votes
1 answer
321 views

Could/Should the API evolve more agile rather than being blocked by v2 writing (and authentication) features?

The activity on Stack Apps has dwindled noticeably; this might be a topic for its own discussion, however I'd like to revisit the API roadmap beforehand to set a proper stage and expectations in this ...
Steffen Opel's user avatar
  • 1,380
5 votes
0 answers
156 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
1 vote
1 answer
173 views

How to search all Questions & Answers on specific keyword with PHPstack library?

I am trying to build a page specific to one keyword which should pull all the questions and their respective answers from Stack overflow. I tried phpstack 1.1.1, but no luck. I saw a function search(...
user4203's user avatar
2 votes
1 answer
84 views

Is it possible to restrict the pool of answerers to users meeting certain criteria?

I'm expecting the answer to this is an unfortunate "no," but I've been unable to find it discussed anywhere, so here I go asking: I'd love to use this API, but the site I'm considering would need the ...
user4026's user avatar
4 votes
1 answer
157 views

what should be the duration between each call to stackoverflow api for getting new questions?

I have a desktop app which pings stackoverflow api after every 2 mins to get the new questions.?
Zain Shaikh's user avatar

1
6 7
8
9 10