Reddit App Subreddit Info

API docs
https://api.sandbase.ai/v1/api/reddit/app/subreddit-info

Returns detailed metadata for a Reddit subreddit, such as rules, descriptions, and app installations. Look up data by subreddit name with optional response formatting.

Price
$0.001USD / call
Method
POST
Response
JSON
Parameters
0 required · 2 optional
100 free calls / dayFirst 100 calls per day free (shared per organization) · Resets at 00:00 UTC. Pay per call after that.

Playground

Input
Whether to clean and format the data
Subreddit name (without r/ prefix), e.g., "pics", "funny", "AskReddit"
OutputExample
Responseoutputs · 13.1 KB · 209 lines
[
  {
    "data": {
      "subredditInfoByName": {
        "__typename": "Subreddit",
        "activeCount": 0,
        "allowedMediaInComments": [
          "GIPHY",
          "STATIC",
          "EXPRESSION",
          "VIDEO"
        ],
        "allowedPostTypes": [
          "LINK",
          "IMAGE",
          "GALLERY"
        ],
        "authorFlair": null,
        "authorFlairSettings": {
          "isEnabled": true,
          "isOwnFlairEnabled": false,
          "isSelfAssignable": false
        },
        "communityLeaderboard": {
          "isEnabled": false
        },
        "communityStats": {
          "weeklyActiveUsersCount": 4299759,
          "weeklyContributionsCount": 41067
        },
        "communityStatus": {
          "__typename": "SubredditCommunityStatus",
          "description": {
            "markdown": "📸",
            "richtext": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"\\ud83d\\udcf8\"}],\"e\":\"par\"}]}"
          },
          "emoji": {
            "name": "upvote",
            "url": "https://emoji.redditmedia.com/ad1td4bx9ezz_t5_3nqvj/upvote"
          }
        },
        "createdAt": "2008-01-25T00:31:09.512000+0000",
        "description": {
          "markdown": "[Please read our rules in their entirety before participating.](/r/pics/wiki/index)\n\n1. No screenshots, AI images, or pictures in which the focus is a screen. [more>>](/r/pics/wiki/index#wiki_rule_1.3A_no_screenshots)\n\n2. No digital elements or text. [more>>](/r/pics/wiki/index#wiki_rule_2.3A_no_digital_elements.2Fadded_text)\n\n3. No porn or gore. [more>>](/r/pics/wiki/index#wiki_rule_3.3A_no_pornography_or_gore)\n\n4. No personal information, direct links to any social media, subreddit-related meta-drama, witch-hunts or missing/found posts. [more>>](/r/pics/wiki/index#wiki_rule_4.3A_no_doxxing_or_witch-hunts)\n\n5. Your title must be a concise, accurate, well-written description of your picture's content, and it must adhere to all other title-specific guidelines. [more>>](/r/pics/wiki/titles)\n\n6. Submissions are only allowed from one of the approved image hosts. [more>>](/r/pics/wiki/index#wiki_rule_6.3A_only_allowed_image-hosts) \n\n7. No GIFs or videos. [more>>](/r/pics/wiki/index#wiki_rule_7.3A_no_gifs_or_videos)\n\n8. Comments must be civil. Any racism, bigotry, or any other kind of hate speech is strictly prohibited and will result in a ban. [more>>](/r/pics/wiki/index#wiki_rule_8.3A_civility)\n\n9.  No submissions featuring before-and-after depictions of personal health progress or achievement. [more>>](/r/pics/wiki/index#wiki_rule_9.3A_no_progress_pics)\n\n10. No false claims of ownership (FCoO) or flooding. [more>>](/r/pics/wiki/index#wiki_rule_10.3A_no_fcoo_or_flooding)\n\n11. Reposts of images on the front page, or within the set limit of /r/pics/top, will be removed. [more>>](/r/pics/wiki/index#wiki_rule_11.3A_repost_limitations)\n\n12. No self-promotional accounts allowed. [more>>](/r/pics/wiki/index#wiki_rule_12.3A_self-promotion_limitations)\n\n---\n\n[Additional/Temporary Rules](/r/pics/wiki/index#wiki_additional.2Ftemporary_rules)\n\n* Serial reposters may be filtered or banned. \n\n* Established accounts will be banned if they willfully ignore the posting rules.\n\n* We require new users to post original content and not common pictures from the internet.\n\n* All posts by new users require mod approval in order to weed out spammers. \n\n* Please mark spoilers for current movies/games/books with spoiler tags. \n\n---\n\nIf you want a picture that belongs to you to be removed from /r/pics then please file a copyright notice [here](https://reddit.zendesk.com/hc/en-us/requests/new?ticket_form_id=73465).\n\n---\n\nClick [here](/r/pics/wiki/links) to find more specialized picture subreddits",
          "richtext": "{\"document\":[{\"c\":[{\"e\":\"link\",\"t\":\"Please read our rules in their entirety before participating.\",\"u\":\"/r/pics/wiki/index\"}],\"e\":\"par\"},{\"c\":[{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"No screenshots, AI images, or pictures in which the focus is a screen. \"},{\"e\":\"link\",\"t\":\"more\\u003e\\u003e\",\"u\":\"/r/pics/wiki/index#wiki_rule_1.3A_no_screenshots\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"No digital elements or text. \"},{\"e\":\"link\",\"t\":\"more\\u003e\\u003e\",\"u\":\"/r/pics/wiki/index#wiki_rule_2.3A_no_digital_elements.2Fadded_text\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"No porn or gore. \"},{\"e\":\"link\",\"t\":\"more\\u003e\\u003e\",\"u\":\"/r/pics/wiki/index#wiki_rule_3.3A_no_pornography_or_gore\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"No personal information, direct links to any social media, subreddit-related meta-drama, witch-hunts or missing/found posts. \"},{\"e\":\"link\",\"t\":\"more\\u003e\\u003e\",\"u\":\"/r/pics/wiki/index#wiki_rule_4.3A_no_doxxing_or_witch-hunts\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"Your title must be a concise, accurate, well-written description of your picture's content, and it must adhere to all other title-specific guidelines. \"},{\"e\":\"link\",\"t\":\"more\\u003e\\u003e\",\"u\":\"/r/pics/wiki/titles\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"Submissions are only allowed from one of the approved image hosts. \"},{\"e\":\"link\",\"t\":\"more\\u003e\\u003e\",\"u\":\"/r/pics/wiki/index#wiki_rule_6.3A_only_allowed_image-hosts\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"No GIFs or videos. \"},{\"e\":\"link\",\"t\":\"more\\u003e\\u003e\",\"u\":\"/r/pics/wiki/index#wiki_rule_7.3A_no_gifs_or_videos\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"Comments must be civil. Any racism, bigotry, or any other kind of hate speech is strictly prohibited and will result in a ban. \"},{\"e\":\"link\",\"t\":\"more\\u003e\\u003e\",\"u\":\"/r/pics/wiki/index#wiki_rule_8.3A_civility\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"No submissions featuring before-and-after depictions of personal health progress or achievement. \"},{\"e\":\"link\",\"t\":\"more\\u003e\\u003e\",\"u\":\"/r/pics/wiki/index#wiki_rule_9.3A_no_progress_pics\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"No false claims of ownership (FCoO) or flooding. \"},{\"e\":\"link\",\"t\":\"more\\u003e\\u003e\",\"u\":\"/r/pics/wiki/index#wiki_rule_10.3A_no_fcoo_or_flooding\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"Reposts of images on the front page, or within the set limit of \"},{\"e\":\"r/\",\"l\":true,\"t\":\"pics/top\"},{\"e\":\"text\",\"t\":\", will be removed. \"},{\"e\":\"link\",\"t\":\"more\\u003e\\u003e\",\"u\":\"/r/pics/wiki/index#wiki_rule_11.3A_repost_limitations\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"No self-promotional accounts allowed. \"},{\"e\":\"link\",\"t\":\"more\\u003e\\u003e\",\"u\":\"/r/pics/wiki/index#wiki_rule_12.3A_self-promotion_limitations\"}],\"e\":\"par\"}],\"e\":\"li\"}],\"e\":\"list\",\"o\":true},{\"e\":\"hr\"},{\"c\":[{\"e\":\"link\",\"t\":\"Additional/Temporary Rules\",\"u\":\"/r/pics/wiki/index#wiki_additional.2Ftemporary_rules\"}],\"e\":\"par\"},{\"c\":[{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"Serial reposters may be filtered or banned.\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"Established accounts will be banned if they willfully ignore the posting rules.\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"We require new users to post original content and not common pictures from the internet.\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"All posts by new users require mod approval in order to weed out spammers.\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"Please mark spoilers for current movies/games/books with spoiler tags.\"}],\"e\":\"par\"}],\"e\":\"li\"}],\"e\":\"list\",\"o\":false},{\"e\":\"hr\"},{\"c\":[{\"e\":\"text\",\"t\":\"If you want a picture that belongs to you to be removed from \"},{\"e\":\"r/\",\"l\":true,\"t\":\"pics\"},{\"e\":\"text\",\"t\":\" then please file a copyright notice \"},{\"e\":\"link\",\"t\":\"here\",\"u\":\"https://reddit.zendesk.com/hc/en-us/requests/new?ticket_form_id=73465\"},{\"e\":\"text\",\"t\":\".\"}],\"e\":\"par\"},{\"e\":\"hr\"},{\"c\":[{\"e\":\"text\",\"t\":\"Click \"},{\"e\":\"link\",\"t\":\"here\",\"u\":\"/r/pics/wiki/links\"},{\"e\":\"text\",\"t\":\" to find more specialized picture subreddits\"}],\"e\":\"par\"}]}"
        },
        "detectedLanguage": "en",
        "devvit": {
          "installations": [
            {
              "app": {
                "name": "Banhammer",
                "slug": "banhammerapp"
              }
            },
            {
              "app": {
                "name": "Admin Tattler",
                "slug": "admin-tattler"
              }
            },
            {
              "app": {
                "name": "Comment Mop",
                "slug": "comment-nuke"
              }
            },
            {
              "app": {
                "name": "Mod App: Send to Discord",
                "slug": "discord-send"
              }
            },
            {
              "app": {
                "name": "Flooding Assistant",
                "slug": "floodassistant"
              }
            },
            {
              "app": {
                "name": "Modmail Assistant",
                "slug": "modmailassistant"
              }
            },
            {
              "app": {
                "name": "Moderator Mentions",
                "slug": "mod-mentions"
              }
            },
            {
              "app": {
                "name": "Modqueue Nuke",
                "slug": "modqueue-nuke"
              }
            },
            {
              "app": {
                "name": "Modmail Automator",
                "slug": "auto-modmail"
              }
            },
            {
              "app": {
                "name": "Ban Purge",
                "slug": "ban-purge"
              }
            },
            {
              "app": {
                "name": "Title Rinse",
                "slug": "title-rinse"
              }
            },
            {
              "app": {
                "name": "Bot Bouncer",
                "slug": "bot-bouncer"
              }
            },
            {
              "app": {
                "name": "Evasion Guard",
                "slug": "evasion-guard"
              }
            },
            {
              "app": {
                "name": "Hive Protector",
                "slug": "hive-protect"
              }
            },
            {
              "app": {
                "name": "Remove Macro",
                "slug": "purge-user"
              }
            }
          ]
        },
        "id": "t5_2qh0u",
        "interstitialWarningMessage": null,
        "isChannelsEnabled": false,
        "isContributor": false,
        "isCrosspostingAllowed": true,
        "isFavorite": false,
        "isMediaInCommentsSettingShown": true,
        "isMuted": false,
        "isNsfw": false,
        "isPostingRestricted": true,
        "isQuarantined": false,
        "isSpoilerAvailable": false,
        "isSubscribed": false,
        "isTitleSafe": true,
        "isUserBanned": false,
        "modPermissions": null,
        "name": "pics",
        "notificationLevel": null,
        "originalContentCategories": [],
        "path": "/r/pics/",
        "postFlairSettings": {
          "isEnabled": true
        },
        "prefixedName": "r/pics",
        "publicDescriptionText": "A place for photographs, pictures, and other images.",
        "quarantineMessage": null,
        "styles": {
          "bannerBackgroundImage": "https://styles.redditmedia.com/t5_2qh0u/styles/bannerBackgroundImage_if1cbgj4mc7b1.jpg?frame=1&auto=webp&format=pjpg&s=0e538062b7411be26edacd34e6c124e2e8b4527a",
          "icon": "https://b.thumbs.redditmedia.com/VZX_KQLnI1DPhlEZ07bIcLzwR1Win808RIt7zm49VIQ.png",
          "legacyBannerBackgroundImage": null,
          "legacyIcon": {
            "url": "https://b.thumbs.redditmedia.com/VZX_KQLnI1DPhlEZ07bIcLzwR1Win808RIt7zm49VIQ.png"
          },
          "legacyPrimaryColor": "#24A0ED",
          "mobileBannerImage": "https://styles.redditmedia.com/t5_2qh0u/styles/mobileBannerImage_b4mne1y5mc7b1.jpg?frame=1&auto=webp&format=pjpg&s=29c4dd4ffa5577473f43e876fa0c2aed84022651",
          "primaryColor": "#553200"
        },
        "subscribersCount": 33500477,
        "taxonomy": {
          "taxonomyTopics": [
            {
              "__typename": "SubredditTaxonomyRelation",
              "displayCopy": "#1 in Photography",
              "taxonomyTopic": {
                "displayName": "Photography",
                "id": "Photography"
              }
            }
          ]
        },
        "title": "Reddit Pics",
        "type": "PUBLIC",
        "welcomePage": {
          "__typename": "SubredditWelcomePage",
          "isEnabled": true,
          "isEnabledOnJoin": true
        },
        "whitelistStatus": "SOME_ADS",
        "wiki": {
          "indexPage": {
            "status": "VALID"
          }
        },
        "wikiEditMode": "MODONLY"
      }
    }
  }
]

Examples

Select an example to load its inputs and result into the playground.

API README

Reddit App Subreddit Info API

Returns metadata for one Reddit subreddit, including its description, subscriber count, post settings, styling, and installed Devvit apps. It needs a subreddit name without the r/ prefix, such as pics.

Use cases

  • Read subscribersCount and communityStats to compare the size and weekly activity of different subreddits.
  • List the Devvit apps installed in a subreddit to see which moderation tools it uses.
  • Check allowedPostTypes, isNsfw and isPostingRestricted before building a posting workflow for a subreddit.
  • Pull the icon, banner and color values from styles to show a subreddit's branding in your own app.

Request

curl -X POST "https://api.sandbase.ai/v1/api/reddit/app/subreddit-info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
need_formatbooleanNoWhether to clean and format the data
subreddit_namestringNoSubreddit name (without r/ prefix), e.g., "pics", "funny", "AskReddit"

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "subredditInfoByName": {
    "__typename": "Subreddit",
    "activeCount": 0,
    "allowedMediaInComments": [
      "GIPHY"
    ],
    "allowedPostTypes": [
      "LINK"
    ],
    "authorFlair": null,
    "authorFlairSettings": {
      "isEnabled": true,
      "isOwnFlairEnabled": false,
      "isSelfAssignable": false
    },
    "communityLeaderboard": {
      "isEnabled": false
    },
    "communityStats": {
      "weeklyActiveUsersCount": 3157928,
      "weeklyContributionsCount": 27065
    },
    "communityStatus": {
      "__typename": "SubredditCommunityStatus",
      "description": {
        "markdown": "📸",
        "richtext": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"\\ud83d\\udcf8\"}],\"e\":\"par\"}]}"
      },
      "emoji": {
        "name": "upvote",
        "url": "https://emoji.redditmedia.com/ad1td4bx9ezz_t5_3nqvj/upvote"
      }
    },
    "createdAt": "2008-01-25T00:31:09.512000+0000",
    "description": {
      "markdown": "[Please read our rules in their entirety before participating.](/r/pics/wiki/ind…",
      "richtext": "{\"document\":[{\"c\":[{\"e\":\"link\",\"t\":\"Please read our rules in their entirety befo…"
    },
    "detectedLanguage": "en"
  }
}

Response fields

FieldMeaning
subredditInfoByName.id / subredditInfoByName.name / subredditInfoByName.prefixedNameThe subreddit's ID (t5_ format), its plain name, and its name with the r/ prefix.
subredditInfoByName.subscribersCountNumber of subscribers to the subreddit.
subredditInfoByName.communityStats.weeklyActiveUsersCount / subredditInfoByName.communityStats.weeklyContributionsCountWeekly active users and weekly contributions for the subreddit.
subredditInfoByName.publicDescriptionText / subredditInfoByName.description.markdownA short public description, and the longer sidebar description in Markdown. The sidebar text holds the community rules and may be cut in long cases.
subredditInfoByName.createdAtCreation time of the subreddit as an ISO 8601 timestamp.
subredditInfoByName.allowedPostTypes / subredditInfoByName.allowedMediaInCommentsPost types the subreddit accepts, such as LINK, IMAGE and GALLERY, and media types allowed in comments.
subredditInfoByName.isNsfw / subredditInfoByName.isQuarantined / subredditInfoByName.isPostingRestrictedFlags for adult content, quarantine status, and whether posting is restricted.
subredditInfoByName.devvit.installations[].app.name / subredditInfoByName.devvit.installations[].app.slugName and slug of each Devvit app installed in the subreddit.
subredditInfoByName.styles.icon / subredditInfoByName.styles.bannerBackgroundImage / subredditInfoByName.styles.primaryColorImage URLs for the icon and banner, and the primary color as a hex code.
subredditInfoByName.taxonomy.taxonomyTopics[].displayCopyRanking label for the subreddit within a topic, such as #1 in Photography.

Notes

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explore more

Related APIs

All APIs
APIPriceResponse
Reddit$0.001 per callJSON
Reddit$0.001 per callJSON
Reddit$0.001 per callJSON
Reddit$0.001 per callJSON
Reddit$0.001 per callJSON
Reddit$0.001 per callJSON

Questions

FAQ

How do I use the Reddit App Subreddit Info API?

Send a POST request to https://api.sandbase.ai/v1/api/reddit/app/subreddit-info with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Reddit App Subreddit Info API cost?

$0.001 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Reddit App Subreddit Info API accept?

No parameters are required. Optional: need_format (boolean) and subreddit_name (string). The Parameters table and the Playground on this page list every field.

What does the Reddit App Subreddit Info API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Reddit developer account or API key?

No. Reddit App Subreddit Info runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Reddit API access separately.