Reddit Subreddit About API
The Reddit Subreddit About API returns the details and rules of a subreddit on
Reddit
as structured JSON: its title, description, icon and banner, creation date, who can post in it, the weekly
visitors and contributions Reddit shows for it, every rule in the order Reddit lists them, and the community's
bookmarks. Reddit hides the weekly counts on some subreddits, and the response leaves them out then. NSFW
subreddits are returned only when safe is off, and a quarantined subreddit has
is_quarantined set. For the subreddit's posts, use the
Reddit Subreddit API.
API Parameters
Subreddit
-
- Name
-
subreddit - Required
- Required
- Description
-
The name of the subreddit, for example
awworr/aww, or a link to it, for examplehttps://www.reddit.com/r/aww/. Links to its about, rules and wiki pages work too. Use thesubreddit.nameof a Reddit Search API result. User profiles and feeds such aspopularandallhave no about page.
Filters
-
- Name
-
safe - Required
- Optional
- Description
-
Controls NSFW subreddits.
active(default) answers an NSFW subreddit with an error,offreturns it.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
reddit_subreddit_about.
API key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).
Zero Data Retention
-
- Name
-
zero_retention - Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
trueto disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Subreddit and Rules
Each rule's position is the number Reddit gives it. A bookmark is either a link
or a menu whose links Reddit shows under one button.
https://www.searchapi.io/api/v1/search?engine=reddit_subreddit_about&subreddit=aww
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "reddit_subreddit_about",
"subreddit": "aww"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_z4KNQmOp60YHNnZQoyWl8DBv",
"status": "Success",
"created_at": "2026-10-28T20:15:19Z",
"request_time_taken": 1.61,
"parsing_time_taken": 0.01,
"total_time_taken": 1.63,
"request_url": "https://www.reddit.com/r/aww/about/",
"html_url": "https://www.searchapi.io/api/v1/searches/search_z4KNQmOp60YHNnZQoyWl8DBv.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_z4KNQmOp60YHNnZQoyWl8DBv"
},
"search_parameters": {
"engine": "reddit_subreddit_about",
"subreddit": "aww"
},
"subreddit": {
"id": "t5_2qh1o",
"name": "aww",
"title": "A subreddit for cute and cuddly pictures",
"link": "https://www.reddit.com/r/aww/",
"description": "Things that make you go AWW! -- like puppies, bunnies, babies, and so on...\n\nFeel free to post original pictures and videos of cute things.",
"icon": "https://styles.redditmedia.com/t5_2qh1o/styles/communityIcon_uz6ge49x9h6e1.png?width=64&frame=1&auto=webp&s=9ea737d382b5ba17319c3cc5f6b80474a13a488f",
"created_at": "2008-01-25T04:07:02Z",
"weekly_visitors": 787855,
"weekly_contributions": 10524,
"visibility": "public",
"banner": "https://styles.redditmedia.com/t5_2qh1o/styles/bannerBackgroundImage_rympiqekcqbc1.png?frame=1&auto=webp&s=973d06fd1ffde84e3e5402a883dda7b295f68f39"
},
"rules": [
{
"position": 1,
"title": "No \"sad\" content",
"description": "No \"sad\" content, such as pics of animals that have passed away (try r/petloss), animals that have been injured/abused, or sob stories (e.g. found him in a dumpster, finding abandoned animals, sick/survived cancer). >>>>more>>>>"
},
"..."
],
"bookmarks": [
{
"title": "Rules Please Read!",
"link": "https://www.reddit.com/r/aww/wiki/index"
},
"..."
],
"text_widgets": [
{
"title": "PSA",
"text": "Please spay and neuter your pets! While your newborn pets are cute, failing to do this allows your little darlings to add to the population of homeless animals. Adopt pets from your local animal rescues/shelters, there are plenty of animals just waiting for a home."
}
]
}
Subreddit by Link
https://www.searchapi.io/api/v1/search?engine=reddit_subreddit_about&subreddit=https%3A%2F%2Fwww.reddit.com%2Fr%2Fprogramming%2F
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "reddit_subreddit_about",
"subreddit": "https://www.reddit.com/r/programming/"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_QrlGNWjgNE7ub4Y1pZVeALdm",
"status": "Success",
"created_at": "2026-10-28T20:15:21Z",
"request_time_taken": 1.55,
"parsing_time_taken": 0.02,
"total_time_taken": 1.57,
"request_url": "https://www.reddit.com/r/programming/about/",
"html_url": "https://www.searchapi.io/api/v1/searches/search_QrlGNWjgNE7ub4Y1pZVeALdm.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_QrlGNWjgNE7ub4Y1pZVeALdm"
},
"search_parameters": {
"engine": "reddit_subreddit_about",
"subreddit": "programming"
},
"subreddit": {
"id": "t5_2fwo",
"name": "programming",
"title": "programming",
"link": "https://www.reddit.com/r/programming/",
"description": "Computer Programming",
"icon": "https://styles.redditmedia.com/t5_2fwo/styles/communityIcon_1bqa1ibfp8q11.png?width=64&frame=1&auto=webp&s=2545f3c0332e412c8635f5f2a5868c0e857ef040",
"created_at": "2006-02-28T18:19:29Z",
"weekly_visitors": 214132,
"weekly_contributions": 2071,
"visibility": "public"
},
"rules": [
{
"position": 1,
"title": "No LLM-Written Content",
"description": "If you don't want to write it, we don't want to read it. This includes the use of LLMs for translation or summarisation. Moderators reserve discretion in ambiguous cases."
},
"..."
],
"bookmarks": [
{
"title": "FAQ",
"link": "https://www.reddit.com/r/programming/wiki/faq"
},
"..."
],
"text_widgets": [
{
"title": "Info",
"text": "Do you have a question? Check out /r/learnprogramming, /r/cscareerquestions, or Stack Overflow.\n\nDo you have something funny to share with fellow programmers? Please take it to /r/ProgrammerHumor/.\n\nFor posting job listings, please visit /r/forhire or /r/jobbit.\n\nCheck out our faq. Feel free to update it!\n\nAre you interested in promoting your own content? STOP! Read this first.\n\nRelated reddits\n\n/r/technology\n\n/r/ProgrammerTIL\n\n/r/learnprogramming\n\n/r/askprogramming\n\n/r/coding, /r/code\n\n/r/compsci\n\n/r/dailyprogrammer\n\n/r/netsec\n\n/r/webdev\n\n/r/web_design\n\n/r/gamedev\n\n/r/cscareerquestions\n\n/r/reverseengineering\n\n/r/startups\n\n/r/techsupport\n\nSpecific languages",
"text_links": [
"https://stackoverflow.com/"
]
}
]
}