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

Question pertaining to the documentation provided with the API.

5 votes
Accepted

What license is the Stack Exchange API released under? MIT?

You're talking about a number of things here, so let me see if I can explain them all: The code powering the API is (presumably) written in C# and is closed-source. The content provided by the API i …
Nathan Osman's user avatar
  • 23.3k
1 vote
Accepted

Make API query to only one Stack Exchange site

By definition all /search and /similar queries are made on one specific site. There is currently no way to search more than one site. Example: http://api.stackoverflow.com/1.1/search?intitle=linq …
Nathan Osman's user avatar
  • 23.3k
4 votes
Accepted

How many ids is 'too many'?

According to this answer, it looks like 100.
Nathan Osman's user avatar
  • 23.3k
3 votes
1 answer
80 views

What happened to the /stats method?

I can't find the /stats method in the new usage documentation. A quick run of http://api.stackoverflow.com/1.1/stats reveals that the method is still there. However, it is not documented. …
Nathan Osman's user avatar
  • 23.3k
5 votes
Accepted

HTTP 400 "Bad Request" while using "access_token" in request Url

First of all, I'm guessing the HTTP 400 errors are directly related to the fact that you are transmitting the access_token over standard HTTP instead of HTTPS. The API (if I remember correctly) throws …
Nathan Osman's user avatar
  • 23.3k
7 votes
1 answer
127 views

What happened to the JSON documentation for the API?

Adding it simply causes the method to return questions from the site and not documentation. Is this an oversight or was the feature dropped? If it was dropped, can we please have it back? …
Nathan Osman's user avatar
  • 23.3k
0 votes

Document fields that may be not be included in responses

This would be a good idea for the simple wrappers that want to just assume a certain value will be there. But for a serious application, there should still be a check to make sure a value is included …
Nathan Osman's user avatar
  • 23.3k
1 vote

Is it really worth to (implicitly) discourage documentation of API/library usage nowadays al...

Having earned some rep. from the "dev-tip" questions myself, I can honestly say that I probably would not have put in the effort knowing I would never get rep. from it. I think the CW-requirement nee …
Nathan Osman's user avatar
  • 23.3k
2 votes

Is it really worth to (implicitly) discourage documentation of API/library usage nowadays al...

As Jeff mentioned in the comment of my other answer, this information would be best put elsewhere... so... I have set up a MediaWiki installation for this here: http://stackoverflow.quickmediasoluti …
Nathan Osman's user avatar
  • 23.3k
1 vote
1 answer
36 views

Documentation of /users/{id}/top-answer-tags conflicts with implementation.

According to the documentation: /users/{id}/top-answer-tags or /me/top-answer-tags – Get the top 30 tags (by score) a single user has posted answers in. … I assume that either this route returns more than the top 30 tags (and the documentation is incorrect) or the route does not return more than 30 tags (and the implementation is incorrect). …
Nathan Osman's user avatar
  • 23.3k
4 votes
Accepted

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

Note: I'm the author of stack.PHP. You're likely running into rate limit issues. The API only allows you to make som many requests per second. Quoting from the question I linked to: The API will …
Nathan Osman's user avatar
  • 23.3k
1 vote

What is the "inname" parameter to the /tags 2.0 API?

inname limits the returned items to only those that contain the specified value. This parameter is identical to the filter parameter in v1.0 and v1.1 of the API. Note: this parameter is also present …
Nathan Osman's user avatar
  • 23.3k
3 votes
1 answer
93 views

Why is "body" missing from certain inbox items?

According to the documentation: answer_id integer, refers to an answer may be absent body string unchanged in unsafe filters … Can either the body be added to all items or the documentation updated please? …
Nathan Osman's user avatar
  • 23.3k
4 votes
2 answers
108 views

Possible bug in the help page?

There are some weird dot things in this help page: api.stackoverflow.com/0.8/help/method?method=users/{id}/badges {Dead link to missing image: http://files.quickmediasolutions.com/stackbug.png} Wha …
Nathan Osman's user avatar
  • 23.3k