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 4746

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.

7 votes
Accepted

Can I have a separate account just for testing my Stack App?

It's allowed with the caveat there's no guarantee it won't be merged, provided that you abide by the good faith criteria. If you attempt to actually run something like the script in your previous pos …
Community's user avatar
  • 1
2 votes
Accepted

wrong results of /search/advanced

From the docs: Searches a site for any questions which fit the given criteria. (emphasis mine) The searches on the API aren't guaranteed to exactly replicate the current on-site search, so this …
Tim Stone's user avatar
  • 4,676
4 votes
Accepted

Clickable link in "Try It" section of some doc pages

The routes that don't link require POST requests because they create context, so there's nothing meaningful to be gained by going to those URLs in your browser. The rest of the routes return data whe …
Tim Stone's user avatar
  • 4,676
4 votes
Accepted

Do the questions tagged "placeholder" need it explicitly in the title?

There's no real expectation set for this, feel free to pick whichever option seems better to you. I personally feel the tag is sufficient, but I could see how having it in the title might save some p …
Tim Stone's user avatar
  • 4,676
3 votes

How to deal with the "Too Many Requests" error coming as HTML?

It sounds like you've either got a bug which is in fact making more requests than you think it is, or you're on a network where there's some other source of high-frequency requests. You're not suppos …
Tim Stone's user avatar
  • 4,676
5 votes
Accepted

404 "This Method cannot be called this way" when getting user's inbox

I don't believe that that route accepts POST requests (as it's non-actionable), so you should have better luck sending a GET request instead. Routes that require auth tokens necessitate HTTPS, but st …
Tim Stone's user avatar
  • 4,676
3 votes

Where are the built-in filters?

"A number of" might be a bit of a misnomer, as there are a whopping four standard ones: From the filters documentation: default, each type documents which fields are returned under the default …
Tim Stone's user avatar
  • 4,676
4 votes
Accepted

Limiting the number of items returned by a request?

Just set pagesize in the URL, like: https://api.stackexchange.com/2.2/tags?pagesize=10&order=desc&sort=popular&site=stackoverflow
Tim Stone's user avatar
  • 4,676
3 votes
Accepted

Question's body rendering in Android's webview

If you query the site list, the markdown_extensions property for each site will contain the list of enabled post-processing extensions, if applicable. Some possible extensions are: Balsamiq MathJax …
Community's user avatar
  • 1
3 votes
Accepted

Total Number Of Answers

It does return all the answers, but they're paged - by default you'll only get 30 at a time. You'll likely want to increase pagesize to 100, and then add the additional code necessary to make subseque …
Tim Stone's user avatar
  • 4,676
3 votes
Accepted

In lieu of write access, can a user be referred to a site with title and tags in the URL?

The tags URL parameter accepts a space-delimited set of tags to prefill in the form. As an example, check the link in the last question of the Data Explorer FAQ which has a URL like: http://meta.stac …
Brock Adams's user avatar
8 votes
Accepted

StackExchange API /sites/ does not return all the sites

You need to pass in a sufficiently large pagesize value, per the documentation: The pagesize parameter for this method is unbounded, in acknowledgement that for many applications repeatedly fetchi …
Tim Stone's user avatar
  • 4,676
3 votes

Are the "body", "comments" and "answers" parameters supported in the API version 2.x?

Are they moved to filters? Yes, you need to generate a filter that includes the question.body, question.comments, and question.answers fields. There are shorthand filters (i.e. _bca) that will do …
Tim Stone's user avatar
  • 4,676
3 votes
Accepted

How to get a list of sites that a user is a member of?

If you already have a token, then you can use the /me/associated network route to get the associated site for the authorized user. There's a similar route that takes a network account ID and does not …
Tim Stone's user avatar
  • 4,676
2 votes

Use case for /render endpoints?

You can use these endpoints to provide a user with preview functionality, since you can get back the submitted content as Stack Exchange would render it without the user having to actually create some …
Tim Stone's user avatar
  • 4,676

15 30 50 per page