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 2

You need help with the use of the Stack Exchange API, apps built on the API, or assistance building scripts that work on Stack Exchange websites.

2 votes

"access_denied" error in the write answer at stackoverflow

You have to create a post describing your application, and edit it into your application's registration. Basically, the first arrow needs a value; and you can set it when you edit (with the second …
Kevin Montrose's user avatar
5 votes
Accepted

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

No, Area51 isn't in the API; it's different enough from the Q&A sites that it'd have to have a rather different one anyway. There are currently no plans to make an Area51 API either.
Kevin Montrose's user avatar
3 votes
Accepted

Receiving error "Unexpected domain on proxy URL"

Your apps registered domain must match that the url passed as channelUrl. You'll need to update your app's domain from actionbox.io to cybertron-nodejs-11139.apse1.actionbox.io (or whatever other ful …
Kevin Montrose's user avatar
3 votes
Accepted

Whatever happened to closed_reason?

Fun one. Changes behind the scenes to how closed reasons are handled caused the API to stop getting a real reason and start getting a null one. This was just different enough from failing to get a r …
Kevin Montrose's user avatar
2 votes
Accepted

Can you identify a user from the access_token?

The /me/associated routeDoc is the preferred way to turn an access_token into a list of users, it returns the collection of per-site user details that can be quickly fetched. It's basically the user' …
Kevin Montrose's user avatar
2 votes
Accepted

Ability to sort answers by number of revisions via StackExchange API v2?

This isn't possible and isn't likely to be added. Post history is by a good clip the largest chunk of data in the system. Regularly sorting by it would be prohibitively expensive on the sites themsel …
Kevin Montrose's user avatar
3 votes
Accepted

How do I find all questions/answers per a tag?

/questions take's a semi-colon delimited list of tags in the tagged parameter. If tagged is set, questions returned will have all the passed tags (ie. it's an AND operator). https://api.stackexchang …
Kevin Montrose's user avatar
1 vote
Accepted

Get my profile information after authentication

Your app's key can be found by clicking "manage your applications" in the sidebar on the homepage of Stack Apps, then clicking the app's name. Here's what the key looks like for the documentation con …
Kevin Montrose's user avatar
2 votes
Accepted

Write comment API failing with error_id: 500

You should be POST'ing your parameters, form encoded, rather than putting them on the Url. GET'ing should fail more gracefully than that though, I'll get a better error message in there in the next d …
Kevin Montrose's user avatar
10 votes
Accepted

Getting unauthorized_error when using OAuth2.0

The implicit flow uses the url https://stackexchange.com/oauth/dialog, not https://stackexchange.com/oauth. You should just need to change the url, otherwise that looks correct.
Kevin Montrose's user avatar
4 votes
Accepted

Why am I being told to backoff when I'm well within my API limit?

backoff isn't used to indicate when you're breaking api limits (we start returning errors when you break contracts). The typical cause of a backoff is a request that takes unusual resources to run. …
Kevin Montrose's user avatar
2 votes

Using an existing Java oAuth implementation to access the Stack Exchange 2 Api?

Stack Exchange's implementation of OAuth 2.0 is modeled after Facebook's. While I haven't used Scribe, presumably their Facebook example is the relevant.
Kevin Montrose's user avatar
3 votes
Accepted

Confusing documentation re vectorized requests limits

Well technically it already says "Most methods" so it's correct as written. But I agree, it's easy to miss that note. After the next build there will be another sentence mentioning that some methods …
Kevin Montrose's user avatar
4 votes
Accepted

How should we test the new write-mode comments functionality?

This is what preview is for. Every write method takes a parameter called preview (the test console defaults it to true for testing purposes). When it's explicitly set to true, the method goes throug …
Kevin Montrose's user avatar
3 votes
Accepted

Do the terms "key" and "access_token" refer to the same thing?

key is your app key, access_token identifies a user (and a set of permissions) and is what you get at the end of an authentication flow. Keys are not secret, for example here's what the Documentation …
Kevin Montrose's user avatar

1
2 3 4 5
10
15 30 50 per page