Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 18

This tag is for questions about the Stack Exchange API version 2. First released Feb 2012.

1 vote

API V2 Private Beta Begins

I almost forgot: Thank you! We have been looking forward to this for a long time and it's great to finally get a chance to play around with the new API.
Nathan Osman's user avatar
  • 23.3k
8 votes

API V2 Musings: What would you like to see

The ability to post questions/answers. This is important for the question-answering robot I'll be making.
Nathan Osman's user avatar
  • 23.3k
4 votes

API Endpoint Changes Coming In Version 2.0

I never thought about that — that's a serious problem. I totally understand throwing option #1 and #2 out — they're either impractical or impossible. I strongly suggest going with option #3. I would …
1 vote
1 answer
54 views

Policy on shipping working examples that use the explicit authentication flow in an SDK?

I'd like to ship a working example of using the explicit authentication flow in Stack.PHP. I have no trouble embedding the API key and app ID in the example. The problem lies in embedding the client s …
Nathan Osman's user avatar
  • 23.3k
4 votes

Is there a way (or app) to get realtime updates of new questions with a given tag?

There is an /events route that: "Returns a stream of events that have occurred on the site." Greg Hewgill has created a firehose JSON streaming event service which closely mimics the Twitter Str …
Nathan Osman's user avatar
  • 23.3k
1 vote

What sizes are the images available through the /sites endpoint?

"Are any of the fixed size?" I can't really answer that question directly, but for reference, the dimensions of the images supplied by the API for Stack Overflow are as follows: Image: …
Nathan Osman's user avatar
  • 23.3k
1 vote

Increase the pagesize limit from 100

I admit that this answer is a little late in light of the fact that the API now allows an unlimited pagesize to be specified to retreive all sites. However, I had planned to create this simple little …
Nathan Osman's user avatar
  • 23.3k
0 votes
1 answer
35 views

Error when requesting the last page of results.

When I try to view the following URL: http://api.stackexchange.com/2.0/questions?page=93781&site=stackoverflow I get the error: { "error_id": 500, "error_name": "internal_error", "error_m …
Nathan Osman's user avatar
  • 23.3k
2 votes
1 answer
34 views

Is data retrieved from /events dependent on the access token used to retrieve it?

This may seem like a bit of an unusual question at first but I'll try to explain where it's coming from. My PHP wrapper (Stack.PHP) offers a caching class that follows the guidelines in the API docs f …
Nathan Osman's user avatar
  • 23.3k
2 votes
0 answers
32 views

Secure OAuth pages contain insecure content.

I noticed that some of the OAuth pages use insecure content (http:// content on an https:// page): I'm not sure how easy this is to fix but it could potentially scare off some users who don't under …
Nathan Osman's user avatar
  • 23.3k
13 votes
0 answers
2k views

Stack.JS - Powerful Event-driven Library for Accessing the Stack Exchange API in JavaScript.

About Stack.JS is the JavaScript equivalent of Stack.PHP and aims to replicate the request structure of that library as much as possible. The library is still a long ways from being complete bu …
Nathan Osman's user avatar
  • 23.3k
0 votes
1 answer
77 views

Security certificate error when logging in with myOpenID

I have written an application that embeds the WebKit rendering engine (the same rendering engine used in Safari and Chrome). This application makes use of the /inbox route and therefore requires the u …
Nathan Osman's user avatar
  • 23.3k
1 vote
1 answer
49 views

Failed beta sites are showing up in the /sites method.

3D Graphics and Game of Go are both failed beta sites. I would not expect them to show up in the /sites list - but they do. Indeed, attempting to list questions on one of the sites fails: http://a …
Nathan Osman's user avatar
  • 23.3k
1 vote
1 answer
185 views

API is accepting requests from other OAuth domains

I've set an OAuth domain for an application (the client_id is 24) and the following link authorizes the application: https://stackexchange.com/oauth/dialog?client_id=24&scope=no_expiry,read_inbox& …
Nathan Osman's user avatar
  • 23.3k
1 vote
1 answer
313 views

Implicit OAuth flow is not working when the user is not logged in.

Here is the URL I am trying to use: https://stackexchange.com/oauth/dialog?client_id=120&scope=read_inbox,no_expiry&redirect_uri=https://stackexchange.com/oauth/login_success This works perfectly wh …
Nathan Osman's user avatar
  • 23.3k

15 30 50 per page