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
38 votes
1 answer
287 views

When API site goes offline, please return a JSON , instead of Stack Overflow alike offline HTML page

I've just noticed that my API queries are failing in JSON parsing, because of API Site shows offline HTML Page. I wish it would return a valid JSON response, instead of HTML Page.
YOU's user avatar
  • 5,022
32 votes
1 answer
11k views

Looking for a beginner's tutorial to using the API

I see the Stack Exchange API but I'm unable to understand it. I don't think there is any fundamental tutorial showing how to use Stack Overflow fully in the API documentation. I want some fundamental ...
Ranjit's user avatar
  • 423
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
28 votes
0 answers
258 views

Deleting an application key? [duplicate]

There should be delete buttons on stackapps.com/apps https://stackapps.com/apps/oauth/ so we can delete API-keys. Or at least de-activate them? I mean, cancelled projects, etc... A deletion button ...
user avatar
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
22 votes
1 answer
468 views

Stack Exchange thinks that Shog is a elected moderator

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,377
21 votes
3 answers
487 views

Should there be a discovery API?

It would seem to me that a simple API that return an array of the API base URL and perhaps the common name of the sites that support the API would be valuable. Is this sensible? EDIT: This is what I ...
TheHurt's user avatar
  • 4,535
21 votes
1 answer
233 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 ...
agent86's user avatar
  • 3,277
20 votes
3 answers
485 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 ...
Szabolcs's user avatar
  • 315
20 votes
3 answers
159 views

Documentation or API method for `option_id` information, for the `/flags/options` API calls?

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
16 votes
1 answer
450 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 ...
Gabi Mor's user avatar
  • 301
16 votes
2 answers
2k views

Why does the API lack (proper) HTTP cache control headers?

I've just read Kevin's answer to Do I need API key to use StackAuth API? and been quite surprised that the API doesn't seem to facilitate proper HTTP caching already: You really shouldn't be ...
Steffen Opel's user avatar
  • 1,380
15 votes
4 answers
726 views

Version 1.0 released 9th of July

For a lot of us, that would be next Friday. At some point - most likely after noon PST - version 0.9 of the API will be replaced with the final 1.0 release. There are no expected interface changes ...
Kevin Montrose's user avatar
15 votes
1 answer
2k views

Unable to get access token

I am trying to get a non-expiry access token, like so: https://stackexchange.com/oauth?scope=no_expiry&redirect_uri={{some_uri}}&client_id={{some_value}} I am repeatedly getting the error: ...
user34257's user avatar
  • 185
13 votes
2 answers
620 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 ...
jmort253's user avatar
  • 763
12 votes
2 answers
185 views

How to get data related to Winter Bash?

I was thinking of creating a nice question on Programming Puzzles & Code Golf related to Winter Bash 2014, but I need some specific data for that question - The number of hats of each user. Is ...
Optimizer's user avatar
  • 309
12 votes
2 answers
6k views

Can the redirect_uri contain port number?

Is it possible to have the redirect_uri contain a specific port? For example: example.com:8080 Assuming that example.com is my registered domain, is the 8080 allowed? I have tried to put it as part ...
Andy's user avatar
  • 417
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
12 votes
0 answers
158 views

Are there plans to involve Area51 in SE API version 3?

Several applications come to mind, proposal publicity, question analysis, making resources files, but I can't find any SE API calls that can do this.
JMP's user avatar
  • 345
11 votes
0 answers
175 views

Provide a way to reset - not invalidate - API tokens

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
10 votes
1 answer
4k views

Get questions content from StackOverflow API

I need to get the question content from StackOverflow site. I already built the functions that parse the HTML for a question, and return me the question content. But, I found that there is an API, ...
Ionică Bizău's user avatar
10 votes
1 answer
4k views

What exactly is a valid OAuth domain name for registering your app?

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
10 votes
1 answer
1k views

How to delete apps in StackApps?

I have registered an app in Stack Apps. I am trying to delete it, but unable to find the solution. Is there a way to delete it?
amit jha's user avatar
  • 842
10 votes
1 answer
192 views

Please provide a way to download SEDE data via an API

Following on from this answer, I have a data extraction requirement that is not presently catered for in the API, so I've raised a feature request for that. It has also been suggested that it would ...
halfer's user avatar
  • 293
10 votes
0 answers
712 views

SOAPI-REST: Complete Stack Overflow API specification in machine readable format

SOAPI-REST Services At four hour intervals, SOAPI-WATCH parses the complete Stack Overflow API documentation and generates a complete object graph representing the API including all routes, ...
Sky Sanders's user avatar
  • 12.1k
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 ...
user avatar
9 votes
1 answer
1k views

How to see which users upvoted a question?

I assume this information is tracked, since StackOverflow shows me the questions I have upvoted (when going to their question page, I can undo the upvote). I couldn't find any api call that gives this ...
Edan Maor's user avatar
  • 1,079
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
9 votes
1 answer
1k views

My registered apps are not showing in my profile; where can I find them?

I registered two apps in Stack Apps, but when I access my account, it shows no registered apps. How can I mark them as my apps and how can access app settings (client id, key), etc?
user avatar
9 votes
1 answer
666 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 ...
IamaTacos's user avatar
  • 191
9 votes
1 answer
171 views

Is there any support for Area 51 in the new API?

Does the new API support Area 51? Will there be support in the future?
asheeshr's user avatar
  • 193
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
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
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
9 votes
1 answer
168 views

The API v0.9 2010.06.24.002 as seen by SOAPI

Stack Overflow API as seen by the SOAPI parser and code generator: With the API freeze, changes to the vast API should slow to a trickle, making manual maintenance possible. At this milestone, I have ...
Sky Sanders's user avatar
  • 12.1k
9 votes
0 answers
93 views

Access to my Upvoted Questions

I would like to see just my upvoted questions (Don't care about other users as such). There are some related posts: List of Votes by Authenticated users Can I see my past upvoted questions in ...
duskandawn's user avatar
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): "...
savagius's user avatar
8 votes
1 answer
1k views

How can I quickly get an access token for personal use?

Registering your application or script gets you a higher daily quota and is fairly simply; a step by step guide is documented here: I only need a key, what do I do? However, what if I do want an ...
Glorfindel's user avatar
  • 6,885
8 votes
2 answers
788 views

What is the right way to create a Stack Exchange API filter?

I'm trying to create a filter by following the documentation, but a few things are quite unclear: How do I create a filter that does not have a base filter? I'm creating a filter without a base so I ...
user avatar
8 votes
1 answer
235 views

Why is /questions API returning deleted questions?

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
8 votes
1 answer
138 views

Bug with `badges/name` endpoint

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
8 votes
1 answer
729 views

StackExchange API Java wrapper

Screenshot / Code Snippet StackExchangeApi api = new StackExchangeApi(key); api.authorize(authToken); StackExchangeSite siteService = api.getSiteService(StackExchangeSite.STACK_OVERFLOW); Response&...
hsz's user avatar
  • 181
8 votes
0 answers
72 views

We’re collecting feedback on how we can improve the Stack Exchange API

The Stack Exchange API allows users to programmatically query and connect to the Stack Exchange Network of sites. The API is currently in version 2.3. We’re collecting feedback from users of the API, ...
J007B's user avatar
  • 181
7 votes
1 answer
186 views

How do I get my total reputation score using the API?

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

No website (yet), how to register?

I just started developing a Stack Overflow client, and wanted to add authentication. I found out I needed to register for that and wasn't sure if it was okay to register your app when it is not yet ...
11684's user avatar
  • 123
7 votes
1 answer
216 views

Add the 'people reached' count to the API?

Can we have the people reached statistic added to the /users/{ids} method? The response could simply be: "people_reached": 1000 I'm asking because it would be cool to get a network-wide number.
ᔕᖺᘎᕊ's user avatar
  • 4,385
7 votes
0 answers
119 views

API Parameters: Consolidated Observations

This wiki question is meant to be a central location for observations and suggestions in the interest of shaping the API meta data. Perhaps items can be removed when accepted and resolved as ...
6 votes
2 answers
435 views

Odd String Format Result from API Call

I'm just getting started messing around with the SO API. I haven't worked with JSON before, and I am getting a strange result from a basic call (No API Key). WebClient stackClient = new WebClient(); ...
denny's user avatar
  • 163
6 votes
3 answers
178 views

API having more rights than a 0 rep user.

The fact that the API has total_upvotes and total_downvotes makes the fact that you need 1000 rep on the sites a bit weird. Are there more things that the API knows by default, which you can only ...
SztupY's user avatar
  • 713
6 votes
2 answers
360 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 ...
Chris Nicol's user avatar

1
2 3 4 5
10