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.
456
questions
1
vote
0
answers
111
views
Please differentiate between meta sites for beta versus normal sites, in the /sites method
Currently, in the /sites method, a site can have a site_state of: normal, open_beta, closed_beta, or linked_meta.
This makes it easy to tell if a main site is in beta or not. But it becomes a 2 or 3 ...
3
votes
1
answer
150
views
How to access my App info
I've registered for an app yesterday, but I'm not finding where should I go to see/edit its info again.
I've search through profile, at stackexchange.com but couldn't find it.
9
votes
1
answer
665
views
How about linking Stack Exchange to IFTTT?
Why is there no channel for Stack Overflow on IFTTT?
It would be great if I can mash up the Stack Exchange website with other web-based services like Google Reader or GMail, receive a SMS or ...
1
vote
1
answer
38
views
Questions returned by /questions/{ids}/related do not contain link properties
The API docs claim that /questions/{ids}/related return question objects, but I can't find a link property on the returned questions at all.
Is there some sort of workaround to find the link for a ...
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 ...
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 ...
3
votes
1
answer
2k
views
How to get Question/Answer body in the API response using filters?
I am specifically looking to get the question/answer body back. Is it possible?
I am looking through the API documentation and I'm confused about how to make a call with filters.
Sample call I'm ...
4
votes
0
answers
94
views
API v1.1 users call returns association_id for which the Stack Exchange web site has no profile
For a particular user, the users API v1.1 call returns an association_id that gives a "Page Not Found" error where the Stack Exchange profile should be, though their Stack Exchange profile can be ...
13
votes
2
answers
546
views
Why is my API quota not resetting after UTC reset?
According to How API Keys Work, the default daily API limit -- which is per site, per day -- is 300.
I started with 300, as expected, but over a period of days, I've noticed that the remaining quota ...
1
vote
0
answers
30
views
Get tags from question through an answer [duplicate]
I'd like to use this function: /users/{ids}/answers to get a list of answers from a user.
The key element that I need though is what the question was tagged as, is there a possibility of having ...
1
vote
2
answers
112
views
How to get the site name from document to pass to API?
Most APIs take a parameter site which must be set to the name of the site your queries are about.
For meta.travel or travel.
But of course sites have various names, for example gaming.stackexchange....
3
votes
1
answer
38
views
Querying "standard meta tags" for their tag wikis wrongly says they have none
I'm checking which tags have tag wiki excerpts in my code. It looks like /tags/{tags}/wikis is the right API since the tag info API doesn't even give a boolean for tag wiki excerpt presence.
But ...
2
votes
1
answer
392
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 ...
16
votes
1
answer
441
views
Bug in the StackExchange Api ? getting "could not parse proxy url" when user not logged in
I think I may have stumbled upon a bug in the Stack Exchange JS API
I'm having a problem getting its authentication to work properly, and I just discovered that the same problem exist in the official ...
1
vote
0
answers
566
views
Why does the web service fail sometimes for the Stack API?
It seems to have happened all of the sudden. My calls to the web service fails. What is the limit of calls per day with a registered app? I can't seem to remember where it says that, I can't seem to ...
2
votes
1
answer
146
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-...
3
votes
0
answers
85
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 ...
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?
9
votes
2
answers
9k
views
Why can I access the API from a browser but not wget?
If I try to access the following from firefox everything works even if I'm not logged in
http://api.stackexchange.com/2.0/users/19068?order=desc&sort=reputation&site=stackoverflow
However
...
1
vote
1
answer
88
views
/me API endpoint returning 500 error
I'm making an authenticated call to /me:
https://api.stackexchange.com/2.0/me?access_token=[redacted]&site=stackoverflow&key=[redacted]
But it's returning:
{"error_id":500,"error_name":"...
3
votes
1
answer
55
views
Typo in API docs: "temporarility_unavailable"
https://api.stackexchange.com/docs/authentication
"temporarility" should probably be "temporarily"
2
votes
1
answer
209
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": ...
4
votes
0
answers
72
views
Add a special page where developers can reset throttle timeouts
As George Edison noted, it would be useful to have a special page where developers can reset the throttle timeout when we accidentally trigger it.
This happened to me this morning — I got banned for ...
1
vote
1
answer
67
views
Typo in throttle violation error message
I was just playing around with the API locally and got throttled for the questions and answers methods (the only two I was using).
Anyway, I noticed there’s a small typo in the error message that’s ...
0
votes
1
answer
594
views
400 Error when attempting to retrieve authenticated user data
I am attempting to use the /me API to retrieve an authenticated user's details but I am receiving a 400 error.
I am able to complete the OAuth2 dance and have been able to capture the access token ...
8
votes
1
answer
2k
views
Making use of the *"has_more": true* json attribute in the Json response from stackoverflow
When issuing requests to the stackoverflow-api, I set the pagesize to a 100 (which is the maximum possible). However, some json responses contain this attribute (normally at the very bottom):
"...
4
votes
0
answers
283
views
Stack Tunnel - WebGL Visualization for Stack Exchange
Stack Tunnel
Screenshots
About
StackTunnel is a WebGL visualization which displays the latest questions from any Stack Exchange site interactively within your web browser. You can click on the ...
2
votes
1
answer
48
views
Is there a way to get the edit URL for a tag wiki from the API?
I've been playing with a little webapp for tags of a certain kind for travel.SE (current pre-alpha version gist on github).
One thing I would like to do is add links for the various tag-related ...
2
votes
1
answer
76
views
Are there any plans to add Inbox functionality to SO API?
So, 3rd party applications will be able to notify users about new answers and comments.
2
votes
1
answer
104
views
Pagination of users ordered by reputation
I know I can retrieve a page of users ordered by reputation using these apis:
http://api.stackoverflow.com/1.1/users/?sort=reputation&order=desc&page=1
http://api.stackoverflow.com/1.1/users/...
3
votes
1
answer
58
views
Possible to return newest questions with a certain tag?
I am not finding a way to return a list of new questions by tag with the new Stack Exchange API.
Am I missing something or is this not available? If this is not available, I most certainly request ...
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?
21
votes
1
answer
229
views
Can we have some debug endpoints for testing corner cases?
After encountering a throttle violation today (which I posted in another question), it occurred to me that although I've put together code to handle "backoff" conditions, and potentially throttle ...
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=#{@...
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 ...
1
vote
1
answer
63
views
Why don't the tags APIs expose the tag IDs?
It seems that all tags have an internal ID, for instance here on stackapps, the api-v2 tag has ID 2442 which you can only see if you edit the api-v2 tag.
As far as I can see none of the APIs expose ...
3
votes
1
answer
80
views
Is there an API to fetch tags related to a given tag?
I'm interested in making a tool that explores the tags of a site for tags which should be merged or mention each other in tag wikis etc.
On the page of any given tag there is a column on the right of ...
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 ...
1
vote
1
answer
77
views
How many simultaneous queries may I make of the same Stack Exchange API?
I've been playing with some of the APIs that have paged results.
I've been doing a first call with pagesize=0 to determine how many pages there are then running a loop querying each page.
In my case ...
2
votes
1
answer
77
views
Answers without owners
Is it valid for Stack Overflow data to have an answer that does not have an owner?
For example if you hit the following API url http://api.stackoverflow.com/1.1/answers/18, it does not bring back an ...
3
votes
1
answer
112
views
List of possible values for user_type on API for users
I'm starting to work with the API and I see on the call to retrieve a user or multiple users one of the fields that is returned is user_type.
So far I have only seen a value of "registered" ...
19
votes
3
answers
459
views
Is there an API to upload images to SE's imgur installation?
Is there an API for uploading images to the StackExchange-specific imgur installation? I could use the main imgur site, but they don't keep the images indefinitely.
Use case: It would be ...
1
vote
1
answer
77
views
Is there a maximum on the number of search results returned (using the SO API)?
I was trying to do statistics on post from some not-too-popular tags like matlab, using the search method. It appears that it will never return a total larger than 2000. Is this a hard limit that ...
6
votes
2
answers
280
views
How to get a User's picture (Avatar)
I've seen a couple of Stack Apps that have the actual picture for the user profile. Is that coming from the API, and if so how? If not I'm assuming they are using some screen-scrapping to get that ...
3
votes
1
answer
50
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
......
1
vote
0
answers
61
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,...
9
votes
1
answer
136
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 ...
3
votes
1
answer
160
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 ...
1
vote
0
answers
55
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 ...
3
votes
1
answer
310
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 ...