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.

1 vote
Accepted

How do you trigger the search/advanced 'q' parameter to search all words?

The sites are now using a new search implementation, so at least for the time being you should generally expect the results to be quite different. I'm not sure if there are any plans (or if it's other …
Tim Stone's user avatar
  • 4,676
4 votes
Accepted

OBSOLETE - How to get the actual “body” of a question or answer?

As mentioned in the API documentation, you simply need to pass in the body=true parameter to get the body of the question. In the upcoming version of the API, you'll be able to use filters to specify …
Tim Stone's user avatar
  • 4,676
4 votes
Accepted

How do I get a GreaseMonkey/UserScript to interact with the Live Preview?

There's a few ways to do it, but at first glance the simplest way would be to hook into the wmdrefresh event that will get called when the preview area is updated: $(document).bind('wmdrefresh', func …
Tim Stone's user avatar
  • 4,676
3 votes
Accepted

What's an example of the backoff field? Is there some way I can simulate it to test appropri...

The documentation for the response wrapper defines the backoff field as an integer, so you can expect it to come back in the first form. I don't believe there's any way to graciously test a backoff r …
Tim Stone's user avatar
  • 4,676
2 votes
Accepted

What is the "Manage API Keys" link to the right of the StackApps.com frontpage?

The "Manage API Keys" link takes you to your list of registered API 1.x applications. Since the 1.x versions of the API are now deprecated, you won't be seeing anything new show up there. All new app …
Tim Stone's user avatar
  • 4,676
4 votes
Accepted

Does the API have a method to get the total favorite count of a question?

You just need to create and pass in a filter that will return favorite_count. For example, this query will return the information for this question, including "favorite_count": 18
Tim Stone's user avatar
  • 4,676
2 votes

List of object types on SE API v2.0+

Grouping the API documentation by type gives you the list of routes under the specific object type that they return, with a link describing the respective type. You should be able to determine the com …
Tim Stone's user avatar
  • 4,676
5 votes
Accepted

Is there a limit on the data that is returned from stackoverflow API calls?

The API allows you to set a pagesize of 0 to 100 (with the exception of the /sites route, which allows larger values), and defaults to a maximum of 30 items in the response. To get all of the items a …
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 …
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 …
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
2 votes
Accepted

What is the api_site_parameter of stackapps.com in API 2.x

It's just stackapps, although you can also pass in the full domain stackapps.com. The /sites route does indeed list StackApps, you just need to set an appropriately large page size (or page according …
Tim Stone's user avatar
  • 4,676
1 vote
Accepted

Tags missing when fetching from API filtered by dates

I think that for that route, fromdate and todate specify the range for the creation date of the tag (if they do anything at all, since tag creation information isn't usually made public anywhere) sinc …
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
1 vote
Accepted

Serel returns a JSON Parse error for the 'C#' tag

I imagine the API is returning a Bad Request response because the hash mark isn't properly encoded in the URL. As Serel doesn't appear to attempt to encode the passed-in values at the moment, you sho …
Tim Stone's user avatar
  • 4,676

15 30 50 per page