reddit search
reddit search allows you to search for submissions and subreddits.
Submissions
The search page for submissions is at http://www.reddit.com/search. You can also search from the sidebar of most reddit pages.
Searching from a specific section of reddit — such as a subreddit, personal multireddit, or temporary multireddit — can limit your search results to that section.
Field search
You can search for these parts of a submission:
- author: The user who submitted the post.
For example,author:PresidentObama
- flair: The text of the link flair on the post.
For example,flair:cats
- nsfw: NSFW posts.
Set toyes
for NSFW submissions,no
otherwise.1
and0
are also supported.
For example,nsfw:no
ornsfw:0
- self: Text post.
Set toyes
for text submissions,no
otherwise.1
and0
are also supported.
For example,self:yes
orself:1
- selftext: For self-posts, the body of the post.
For example,selftext:cats
- site: The domain of the submitted URL.
For example,site:example.com
- subreddit: The submission's subreddit.
For example,subreddit:cats
- title: The submission title.
For example,title:cats
- url: The submission's URL (the website's address)
For example,url:cats
- You can also search multiple fields at once.
For example,cats subreddit:pics site:imgur.com
Field names are case sensitive. When making a multi-word field search, wrap the query in double-quotes. Single-quoted field searches are not supported. Example: flair:"Multi Word Text"
Comments are not included in the search index at this time.
Boolean operators
reddit search supports the boolean operators AND
, OR
, and NOT
(case sensitive) as well as parenthesis.
We will be deprecating non-standard single character operators &
, |
, and -
in the near future. Please update your queries to us the documented operators above instead.
- By default, search queries use the
AND
operator.
For example,hedgehogs AND porcupines
andhedgehogs porcupines
are equivalent - You can use the
OR
operator when you want to match submissions that contain either term.
For example,hedgehogs OR porcupines
- You can exclude terms with
NOT
.
For example,hedgehogs NOT porcupines
- You can use parentheses
( )
to group parts of a search together.
For example,(hedgehogs OR porcupines) NOT sonic
Limitations and caveats
- Search terms may be stemmed. A search for "dogs" may return results with the word "dog" in them.
- Search results are limited to 1000 results.
Subreddits
You can search for subreddits from the subreddits page at https://www.reddit.com/subreddits/search.
Subreddit results also appear at the top of the main search page at https://www.reddit.com/search.
Staying up to date (RSS)
If you want to stay up to date on a search result, you can subscribe to that search's RSS feed. All you need to do is add .rss
to the search URL, and add it to your news reader. For example, this is the RSS feed for the "cats" search results:
https://www.reddit.com/search.rss?q=cats&sort=new&restrict_sr=&t=all
Search API
See the api documentation for a list of supported url parameters.
https://www.reddit.com/search.json?q=cats
Questions
Please direct any questions about search to the /r/help subreddit. If you've found a bug, you may report it to the /r/bugs subreddit.
Check /r/beta for search features currently under beta testing.
revision by [deleted]— view source